@luzmo/dashboard-contents-types 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +4 -2
- package/assets/json-schemas/area-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/area-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/area-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/area-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/area-chart.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/bar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +44 -1
- package/assets/json-schemas/box-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/box-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/box-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bubble-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/bullet-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +76 -26
- package/assets/json-schemas/choropleth-map-options.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/choropleth-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/circle-pack-chart.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/circular-gauge-slots.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +3 -1
- package/assets/json-schemas/column-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/column-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/column-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/combination-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/combination-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/conditional-number-options.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/conditional-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/conditional-number.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.d.ts +4 -3
- package/assets/json-schemas/date-comparison-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-comparison-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-comparison-filter.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +4 -3
- package/assets/json-schemas/date-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/date-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/donut-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/donut-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/dropdown-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/evolution-number-options.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/evolution-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +17 -17
- package/assets/json-schemas/funnel-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +34 -26
- package/assets/json-schemas/heat-map-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/heat-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-map.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.d.ts +44 -1
- package/assets/json-schemas/heat-table-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/heat-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-table.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-table.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +76 -26
- package/assets/json-schemas/hexbin-map-options.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/hexbin-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/hexbin-map.schema.json.js +1 -1
- package/assets/json-schemas/image-options.schema.json.cjs +1 -1
- package/assets/json-schemas/image-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/image-options.schema.json.js +1 -1
- package/assets/json-schemas/image.schema.json.cjs +1 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/image.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/line-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/line-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/line-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/line-chart.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +34 -26
- package/assets/json-schemas/marker-map-options.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/marker-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/marker-map.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.d.ts +30 -30
- package/assets/json-schemas/ohlc-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/ohlc-chart.schema.json.js +1 -1
- package/assets/json-schemas/options.schema.json.cjs +1 -1
- package/assets/json-schemas/options.schema.json.d.ts +45 -45
- package/assets/json-schemas/options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.d.ts +17 -17
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +4 -2
- package/assets/json-schemas/pivot-table-options.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/pivot-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/pivot-table.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/pyramid-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/pyramid-chart.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.d.ts +5 -5
- package/assets/json-schemas/radar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/radar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/radar-chart.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/regular-table-options.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/regular-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/regular-table.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table.schema.json.js +1 -1
- package/assets/json-schemas/route-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-options.schema.json.d.ts +79 -27
- package/assets/json-schemas/route-map-options.schema.json.js +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +23 -23
- package/assets/json-schemas/route-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/route-map.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +3 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +26 -26
- package/assets/json-schemas/sankey-diagram-slots.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +30 -30
- package/assets/json-schemas/scatter-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/search-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/search-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/slicer-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/slider-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter.schema.json.js +1 -1
- package/assets/json-schemas/slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slots.schema.json.d.ts +42 -42
- package/assets/json-schemas/slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/speedometer-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/speedometer-chart.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +76 -26
- package/assets/json-schemas/spike-map-options.schema.json.js +4 -4
- package/assets/json-schemas/spike-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +20 -20
- package/assets/json-schemas/spike-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/spike-map.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/spike-map.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/strip-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/strip-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/strip-plot.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sunburst-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/sunburst-chart.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +34 -26
- package/assets/json-schemas/symbol-map-options.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/symbol-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/symbol-map.schema.json.js +1 -1
- package/assets/json-schemas/text-options.schema.json.cjs +1 -1
- package/assets/json-schemas/text-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/text-options.schema.json.js +1 -1
- package/assets/json-schemas/text.schema.json.cjs +1 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/text.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.d.ts +27 -27
- package/assets/json-schemas/treemap-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/treemap-chart.schema.json.js +1 -1
- package/assets/json-schemas/video-options.schema.json.cjs +1 -1
- package/assets/json-schemas/video-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/video-options.schema.json.js +1 -1
- package/assets/json-schemas/video.schema.json.cjs +1 -1
- package/assets/json-schemas/video.schema.json.d.ts +2 -2
- package/assets/json-schemas/video.schema.json.js +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.cjs +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +68 -52
- package/assets/json-schemas/viz-item-type.schema.json.js +4 -5
- package/assets/json-schemas/viz-item-type.schema.json.js.map +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +2 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +20 -20
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/wordcloud-chart.schema.json.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +391 -657
- package/index.js.map +1 -1
- package/json-schemas.d.ts +91 -93
- package/json-schemas.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/lib/area-chart/area-chart-context.config.cjs +2 -2
- package/src/lib/area-chart/area-chart-context.config.cjs.map +1 -1
- package/src/lib/area-chart/area-chart-context.config.js +2 -2
- package/src/lib/area-chart/area-chart-context.config.js.map +1 -1
- package/src/lib/bar-chart/bar-chart-context.config.cjs +3 -2
- package/src/lib/bar-chart/bar-chart-context.config.cjs.map +1 -1
- package/src/lib/bar-chart/bar-chart-context.config.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart-context.config.js +3 -2
- package/src/lib/bar-chart/bar-chart-context.config.js.map +1 -1
- package/src/lib/box-plot/box-plot-context.config.cjs +3 -2
- package/src/lib/box-plot/box-plot-context.config.cjs.map +1 -1
- package/src/lib/box-plot/box-plot-context.config.d.ts.map +1 -1
- package/src/lib/box-plot/box-plot-context.config.js +3 -2
- package/src/lib/box-plot/box-plot-context.config.js.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.cjs +3 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.cjs.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.js +3 -1
- package/src/lib/bubble-chart/bubble-chart-context.config.js.map +1 -1
- package/src/lib/column-chart/column-chart-context.config.cjs +2 -1
- package/src/lib/column-chart/column-chart-context.config.cjs.map +1 -1
- package/src/lib/column-chart/column-chart-context.config.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-context.config.js +2 -1
- package/src/lib/column-chart/column-chart-context.config.js.map +1 -1
- package/src/lib/column-chart/column-chart-options.cjs.map +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.js.map +1 -1
- package/src/lib/combination-chart/combination-chart-context.config.cjs +4 -4
- package/src/lib/combination-chart/combination-chart-context.config.cjs.map +1 -1
- package/src/lib/combination-chart/combination-chart-context.config.js +7 -7
- package/src/lib/combination-chart/combination-chart-context.config.js.map +1 -1
- package/src/lib/donut-chart/donut-chart-context.config.cjs +3 -1
- package/src/lib/donut-chart/donut-chart-context.config.cjs.map +1 -1
- package/src/lib/donut-chart/donut-chart-context.config.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-context.config.js +7 -5
- package/src/lib/donut-chart/donut-chart-context.config.js.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-context.config.cjs +3 -2
- package/src/lib/funnel-chart/funnel-chart-context.config.cjs.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-context.config.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-context.config.js +3 -2
- package/src/lib/funnel-chart/funnel-chart-context.config.js.map +1 -1
- package/src/lib/helpers.cjs +1 -1
- package/src/lib/helpers.cjs.map +1 -1
- package/src/lib/helpers.d.ts.map +1 -1
- package/src/lib/helpers.js +31 -34
- package/src/lib/helpers.js.map +1 -1
- package/src/lib/image/image-options.d.ts +2 -2
- package/src/lib/image/image-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-context.config.cjs +5 -5
- package/src/lib/line-chart/line-chart-context.config.cjs.map +1 -1
- package/src/lib/line-chart/line-chart-context.config.js +3 -3
- package/src/lib/line-chart/line-chart-context.config.js.map +1 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts +1 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-context.config.cjs +5 -4
- package/src/lib/pyramid-chart/pyramid-chart-context.config.cjs.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-context.config.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-context.config.js +5 -4
- package/src/lib/pyramid-chart/pyramid-chart-context.config.js.map +1 -1
- package/src/lib/radar-chart/radar-chart-context.config.cjs +3 -2
- package/src/lib/radar-chart/radar-chart-context.config.cjs.map +1 -1
- package/src/lib/radar-chart/radar-chart-context.config.d.ts.map +1 -1
- package/src/lib/radar-chart/radar-chart-context.config.js +3 -2
- package/src/lib/radar-chart/radar-chart-context.config.js.map +1 -1
- package/src/lib/route-map/route-map-options.d.ts +1 -1
- package/src/lib/route-map/route-map-options.d.ts.map +1 -1
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +2 -2
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts.map +1 -1
- package/src/lib/shared/types/interactivity-export.d.ts +1 -1
- package/src/lib/shared/types/interactivity-export.d.ts.map +1 -1
- package/src/lib/shared/types/iq-components.d.ts +4 -2
- package/src/lib/shared/types/iq-components.d.ts.map +1 -1
- package/src/lib/strip-plot/strip-plot-context.config.cjs +3 -2
- package/src/lib/strip-plot/strip-plot-context.config.cjs.map +1 -1
- package/src/lib/strip-plot/strip-plot-context.config.d.ts.map +1 -1
- package/src/lib/strip-plot/strip-plot-context.config.js +5 -4
- package/src/lib/strip-plot/strip-plot-context.config.js.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-context.config.cjs +3 -2
- package/src/lib/treemap-chart/treemap-chart-context.config.cjs.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-context.config.d.ts.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-context.config.js +3 -2
- package/src/lib/treemap-chart/treemap-chart-context.config.js.map +1 -1
- package/vite.config.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json", t = "http://json-schema.org/draft-07/schema#", o = /* @__PURE__ */ JSON.parse(`{"ColorSlot":{"description":"Color slot definition of the scatter plot","properties":{"content":{"description":"Color slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"color","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.98/scatter-plot-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"description":"There's no subtype for \\"datetime\\", it can be null or omitted","type":"null"},"type":{"const":"datetime","description":"\\"datetime\\" column type","type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-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"},"NameSlot":{"description":"Name slot definition for the scatter plot","properties":{"content":{"description":"Name slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"name","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/Record<string,string>"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/Record<string,string>"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-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"},"SizeSlot":{"description":"Size slot definition for the scatter plot","properties":{"content":{"description":"Size slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"size","description":"Name of the slot","type":"string"}},"type":"object"},"XAxisSlot":{"description":"X-Axis slot definition of the Scatter plot. This is a required slot.","properties":{"content":{"description":"X-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"},"YAxisSlot":{"description":"Y axis slot definition for the scatter plot. This is a required slot.","properties":{"content":{"description":"y-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"y-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`), s = "Data definition of the Scatter plot", n = { anyOf: [{ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/YAxisSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/NameSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/SizeSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/XAxisSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.98/scatter-plot-slots.schema.json#/definitions/ColorSlot" }] }, i = 5, r = "array", a = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json", t = "http://json-schema.org/draft-07/schema#", o = /* @__PURE__ */ JSON.parse(`{"ColorSlot":{"description":"Color slot definition of the scatter plot","properties":{"content":{"description":"Color slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"color","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.99/scatter-plot-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"description":"There's no subtype for \\"datetime\\", it can be null or omitted","type":"null"},"type":{"const":"datetime","description":"\\"datetime\\" column type","type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-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"},"NameSlot":{"description":"Name slot definition for the scatter plot","properties":{"content":{"description":"Name slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"name","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-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"},"SizeSlot":{"description":"Size slot definition for the scatter plot","properties":{"content":{"description":"Size slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"size","description":"Name of the slot","type":"string"}},"type":"object"},"XAxisSlot":{"description":"X-Axis slot definition of the Scatter plot. This is a required slot.","properties":{"content":{"description":"X-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"x-axis","description":"Name of the slot","type":"string"}},"type":"object"},"YAxisSlot":{"description":"Y axis slot definition for the scatter plot. This is a required slot.","properties":{"content":{"description":"y-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"y-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`), s = "Data definition of the Scatter plot", n = { anyOf: [{ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/YAxisSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/NameSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/SizeSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/XAxisSlot" }, { $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json#/definitions/ColorSlot" }] }, i = 5, r = "array", a = {
|
|
2
2
|
$id: e,
|
|
3
3
|
$schema: t,
|
|
4
4
|
definitions: o,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t="http://json-schema.org/draft-07/schema#",e="https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t="http://json-schema.org/draft-07/schema#",e="https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot.schema.json",s="object",o="Scatter Plot item",c={type:{description:"Type of the item",type:"string",const:"scatter-plot"},options:{description:"Options of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-options.schema.json"},slots:{description:"Data definition of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json"}},p={$schema:t,$id:e,type:s,description:o,properties:c};exports.$id=e;exports.$schema=t;exports.default=p;exports.description=o;exports.properties=c;exports.type=s;
|
|
2
2
|
//# sourceMappingURL=scatter-plot.schema.json.cjs.map
|
|
@@ -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.99/scatter-plot.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Scatter Plot item",
|
|
6
6
|
"properties": {
|
|
@@ -11,11 +11,11 @@ declare const _default: {
|
|
|
11
11
|
},
|
|
12
12
|
"options": {
|
|
13
13
|
"description": "Options of the Scatter Plot item",
|
|
14
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
14
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-options.schema.json"
|
|
15
15
|
},
|
|
16
16
|
"slots": {
|
|
17
17
|
"description": "Data definition of the Scatter Plot item",
|
|
18
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
18
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t = "http://json-schema.org/draft-07/schema#", s = "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
1
|
+
const t = "http://json-schema.org/draft-07/schema#", s = "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot.schema.json", e = "object", o = "Scatter Plot item", c = { type: { description: "Type of the item", type: "string", const: "scatter-plot" }, options: { description: "Options of the Scatter Plot item", $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-options.schema.json" }, slots: { description: "Data definition of the Scatter Plot item", $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.99/scatter-plot-slots.schema.json" } }, a = {
|
|
2
2
|
$schema: t,
|
|
3
3
|
$id: s,
|
|
4
4
|
type: e,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"applyFiltersWithButton":{"default":false,"description":"Whether to auto apply filters or add the apply button","type":"boolean"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"General display options of the Search filter: title, label, placeholder, search and clear","properties":{"label":{"default":true,"description":"Show or hide the label of the Search filter","type":"boolean"},"placeholder":{"default":true,"description":"Show or hide the placeholder","type":"boolean"},"title":{"default":false,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"}},"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"},"padding":{"description":"Update left or right padding of the Search filter","properties":{"left":{"default":16,"description":"Update left padding of the Search filter","type":"number"},"right":{"default":16,"description":"Update right padding of the Search filter","type":"number"}},"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"},"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"},"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"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"applyFiltersWithButton":{"default":false,"description":"Whether to auto apply filters or add the apply button","type":"boolean"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"General display options of the Search filter: title, label, placeholder, search and clear","properties":{"label":{"default":true,"description":"Show or hide the label of the Search filter","type":"boolean"},"placeholder":{"default":true,"description":"Show or hide the placeholder","type":"boolean"},"title":{"default":false,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"}},"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"},"padding":{"description":"Update left or right padding of the Search filter","properties":{"left":{"default":16,"description":"Update left padding of the Search filter","type":"number"},"right":{"default":16,"description":"Update right padding of the Search filter","type":"number"}},"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"},"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"},"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"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=search-filter-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.99/search-filter-options.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"properties": {
|
|
5
5
|
"annotate": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"applyFiltersWithButton":{"default":false,"description":"Whether to auto apply filters or add the apply button","type":"boolean"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"General display options of the Search filter: title, label, placeholder, search and clear","properties":{"label":{"default":true,"description":"Show or hide the label of the Search filter","type":"boolean"},"placeholder":{"default":true,"description":"Show or hide the placeholder","type":"boolean"},"title":{"default":false,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"}},"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"},"padding":{"description":"Update left or right padding of the Search filter","properties":{"left":{"default":16,"description":"Update left padding of the Search filter","type":"number"},"right":{"default":16,"description":"Update right padding of the Search filter","type":"number"}},"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"},"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"},"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"}}`), r = "object", o = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"applyFiltersWithButton":{"default":false,"description":"Whether to auto apply filters or add the apply button","type":"boolean"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"General display options of the Search filter: title, label, placeholder, search and clear","properties":{"label":{"default":true,"description":"Show or hide the label of the Search filter","type":"boolean"},"placeholder":{"default":true,"description":"Show or hide the placeholder","type":"boolean"},"title":{"default":false,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"}},"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"},"padding":{"description":"Update left or right padding of the Search filter","properties":{"left":{"default":16,"description":"Update left padding of the Search filter","type":"number"},"right":{"default":16,"description":"Update right padding of the Search filter","type":"number"}},"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"},"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"},"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"}}`), r = "object", o = {
|
|
2
2
|
$id: e,
|
|
3
3
|
$schema: t,
|
|
4
4
|
properties: i,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-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"},"DimensionSlot":{"description":"Dimension slot definition of the search filter. Dimension slot is a required slot and it can have multiple columns.","properties":{"content":{"description":"Dimension slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"dimension","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.98/search-filter-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"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/Record<string,string>"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/Record<string,string>"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-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"}}`),i="Data definition of the Search filter",r={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.98/search-filter-slots.schema.json#/definitions/DimensionSlot"},n=1,s="array",a={$id:e,$schema:t,definitions:o,description:i,items:r,maxItems:n,type:s};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=i;exports.items=r;exports.maxItems=n;exports.type=s;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-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"},"DimensionSlot":{"description":"Dimension slot definition of the search filter. Dimension slot is a required slot and it can have multiple columns.","properties":{"content":{"description":"Dimension slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"dimension","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.99/search-filter-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"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-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"}}`),i="Data definition of the Search filter",r={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.99/search-filter-slots.schema.json#/definitions/DimensionSlot"},n=1,s="array",a={$id:e,$schema:t,definitions:o,description:i,items:r,maxItems:n,type:s};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=i;exports.items=r;exports.maxItems=n;exports.type=s;
|
|
2
2
|
//# sourceMappingURL=search-filter-slots.schema.json.cjs.map
|