nuxt-ui-tools 1.0.0 → 1.1.0

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.
Files changed (290) hide show
  1. package/dist/module.d.mts +3 -0
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +37 -0
  4. package/dist/runtime/dashboard/components/block/dashboard-block-state.d.vue.ts +12 -0
  5. package/dist/runtime/dashboard/components/block/dashboard-block-state.vue +59 -0
  6. package/dist/runtime/dashboard/components/block/dashboard-block-state.vue.d.ts +12 -0
  7. package/dist/runtime/dashboard/components/block/dashboard-data-table.d.vue.ts +9 -0
  8. package/dist/runtime/dashboard/components/block/dashboard-data-table.vue +47 -0
  9. package/dist/runtime/dashboard/components/block/dashboard-data-table.vue.d.ts +9 -0
  10. package/dist/runtime/dashboard/components/block/dashboard-ring.d.vue.ts +34 -0
  11. package/dist/runtime/dashboard/components/block/dashboard-ring.vue +91 -0
  12. package/dist/runtime/dashboard/components/block/dashboard-ring.vue.d.ts +34 -0
  13. package/dist/runtime/dashboard/components/block/dashboard-row-actions.d.vue.ts +13 -0
  14. package/dist/runtime/dashboard/components/block/dashboard-row-actions.vue +49 -0
  15. package/dist/runtime/dashboard/components/block/dashboard-row-actions.vue.d.ts +13 -0
  16. package/dist/runtime/dashboard/components/block/dashboard-skeleton.d.vue.ts +34 -0
  17. package/dist/runtime/dashboard/components/block/dashboard-skeleton.vue +312 -0
  18. package/dist/runtime/dashboard/components/block/dashboard-skeleton.vue.d.ts +34 -0
  19. package/dist/runtime/dashboard/components/charts/renderer.d.ts +43 -0
  20. package/dist/runtime/dashboard/components/charts/renderer.js +34 -0
  21. package/dist/runtime/dashboard/components/charts/unovis/dashboard-donut-chart.d.vue.ts +18 -0
  22. package/dist/runtime/dashboard/components/charts/unovis/dashboard-donut-chart.vue +45 -0
  23. package/dist/runtime/dashboard/components/charts/unovis/dashboard-donut-chart.vue.d.ts +18 -0
  24. package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-chart.d.vue.ts +14 -0
  25. package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-chart.vue +190 -0
  26. package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-chart.vue.d.ts +14 -0
  27. package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-marks.d.vue.ts +13 -0
  28. package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-marks.vue +72 -0
  29. package/dist/runtime/dashboard/components/charts/unovis/dashboard-xy-marks.vue.d.ts +13 -0
  30. package/dist/runtime/dashboard/components/charts/unovis/xy-layers.d.ts +43 -0
  31. package/dist/runtime/dashboard/components/charts/unovis/xy-layers.js +60 -0
  32. package/dist/runtime/dashboard/components/dashboard-alerts.d.vue.ts +49 -0
  33. package/dist/runtime/dashboard/components/dashboard-alerts.vue +226 -0
  34. package/dist/runtime/dashboard/components/dashboard-alerts.vue.d.ts +49 -0
  35. package/dist/runtime/dashboard/components/dashboard-bar-chart.d.vue.ts +53 -0
  36. package/dist/runtime/dashboard/components/dashboard-bar-chart.vue +131 -0
  37. package/dist/runtime/dashboard/components/dashboard-bar-chart.vue.d.ts +53 -0
  38. package/dist/runtime/dashboard/components/dashboard-bars.d.vue.ts +49 -0
  39. package/dist/runtime/dashboard/components/dashboard-bars.vue +187 -0
  40. package/dist/runtime/dashboard/components/dashboard-bars.vue.d.ts +49 -0
  41. package/dist/runtime/dashboard/components/dashboard-card.d.vue.ts +47 -0
  42. package/dist/runtime/dashboard/components/dashboard-card.vue +316 -0
  43. package/dist/runtime/dashboard/components/dashboard-card.vue.d.ts +47 -0
  44. package/dist/runtime/dashboard/components/dashboard-combo-chart.d.vue.ts +52 -0
  45. package/dist/runtime/dashboard/components/dashboard-combo-chart.vue +128 -0
  46. package/dist/runtime/dashboard/components/dashboard-combo-chart.vue.d.ts +52 -0
  47. package/dist/runtime/dashboard/components/dashboard-donut-chart.d.vue.ts +48 -0
  48. package/dist/runtime/dashboard/components/dashboard-donut-chart.vue +216 -0
  49. package/dist/runtime/dashboard/components/dashboard-donut-chart.vue.d.ts +48 -0
  50. package/dist/runtime/dashboard/components/dashboard-feed.d.vue.ts +49 -0
  51. package/dist/runtime/dashboard/components/dashboard-feed.vue +238 -0
  52. package/dist/runtime/dashboard/components/dashboard-feed.vue.d.ts +49 -0
  53. package/dist/runtime/dashboard/components/dashboard-funnel.d.vue.ts +34 -0
  54. package/dist/runtime/dashboard/components/dashboard-funnel.vue +157 -0
  55. package/dist/runtime/dashboard/components/dashboard-funnel.vue.d.ts +34 -0
  56. package/dist/runtime/dashboard/components/dashboard-gauge.d.vue.ts +55 -0
  57. package/dist/runtime/dashboard/components/dashboard-gauge.vue +177 -0
  58. package/dist/runtime/dashboard/components/dashboard-gauge.vue.d.ts +55 -0
  59. package/dist/runtime/dashboard/components/dashboard-grid.d.vue.ts +38 -0
  60. package/dist/runtime/dashboard/components/dashboard-grid.vue +49 -0
  61. package/dist/runtime/dashboard/components/dashboard-grid.vue.d.ts +38 -0
  62. package/dist/runtime/dashboard/components/dashboard-legend.d.vue.ts +8 -0
  63. package/dist/runtime/dashboard/components/dashboard-legend.vue +37 -0
  64. package/dist/runtime/dashboard/components/dashboard-legend.vue.d.ts +8 -0
  65. package/dist/runtime/dashboard/components/dashboard-line-chart.d.vue.ts +46 -0
  66. package/dist/runtime/dashboard/components/dashboard-line-chart.vue +129 -0
  67. package/dist/runtime/dashboard/components/dashboard-line-chart.vue.d.ts +46 -0
  68. package/dist/runtime/dashboard/components/dashboard-list.d.vue.ts +63 -0
  69. package/dist/runtime/dashboard/components/dashboard-list.vue +239 -0
  70. package/dist/runtime/dashboard/components/dashboard-list.vue.d.ts +63 -0
  71. package/dist/runtime/dashboard/components/dashboard-paired-bars.d.vue.ts +43 -0
  72. package/dist/runtime/dashboard/components/dashboard-paired-bars.vue +194 -0
  73. package/dist/runtime/dashboard/components/dashboard-paired-bars.vue.d.ts +43 -0
  74. package/dist/runtime/dashboard/components/dashboard-refresh.d.vue.ts +29 -0
  75. package/dist/runtime/dashboard/components/dashboard-refresh.vue +86 -0
  76. package/dist/runtime/dashboard/components/dashboard-refresh.vue.d.ts +29 -0
  77. package/dist/runtime/dashboard/components/dashboard-relative-time.d.vue.ts +12 -0
  78. package/dist/runtime/dashboard/components/dashboard-relative-time.vue +23 -0
  79. package/dist/runtime/dashboard/components/dashboard-relative-time.vue.d.ts +12 -0
  80. package/dist/runtime/dashboard/components/dashboard-stack-bar.d.vue.ts +36 -0
  81. package/dist/runtime/dashboard/components/dashboard-stack-bar.vue +162 -0
  82. package/dist/runtime/dashboard/components/dashboard-stack-bar.vue.d.ts +36 -0
  83. package/dist/runtime/dashboard/components/dashboard-stat.d.vue.ts +69 -0
  84. package/dist/runtime/dashboard/components/dashboard-stat.vue +279 -0
  85. package/dist/runtime/dashboard/components/dashboard-stat.vue.d.ts +69 -0
  86. package/dist/runtime/dashboard/components/dashboard-stats.d.vue.ts +38 -0
  87. package/dist/runtime/dashboard/components/dashboard-stats.vue +202 -0
  88. package/dist/runtime/dashboard/components/dashboard-stats.vue.d.ts +38 -0
  89. package/dist/runtime/dashboard/components/dashboard-table.d.vue.ts +52 -0
  90. package/dist/runtime/dashboard/components/dashboard-table.vue +305 -0
  91. package/dist/runtime/dashboard/components/dashboard-table.vue.d.ts +52 -0
  92. package/dist/runtime/dashboard/components/dashboard-tabs.d.vue.ts +35 -0
  93. package/dist/runtime/dashboard/components/dashboard-tabs.vue +55 -0
  94. package/dist/runtime/dashboard/components/dashboard-tabs.vue.d.ts +35 -0
  95. package/dist/runtime/dashboard/components/dashboard-total.d.vue.ts +10 -0
  96. package/dist/runtime/dashboard/components/dashboard-total.vue +32 -0
  97. package/dist/runtime/dashboard/components/dashboard-total.vue.d.ts +10 -0
  98. package/dist/runtime/dashboard/components/dashboard-widget.d.vue.ts +46 -0
  99. package/dist/runtime/dashboard/components/dashboard-widget.vue +84 -0
  100. package/dist/runtime/dashboard/components/dashboard-widget.vue.d.ts +46 -0
  101. package/dist/runtime/dashboard/composables/use-dashboard-api.d.ts +15 -0
  102. package/dist/runtime/dashboard/composables/use-dashboard-api.js +91 -0
  103. package/dist/runtime/dashboard/composables/use-dashboard-block.d.ts +22 -0
  104. package/dist/runtime/dashboard/composables/use-dashboard-block.js +35 -0
  105. package/dist/runtime/dashboard/composables/use-dashboard-chart.d.ts +36 -0
  106. package/dist/runtime/dashboard/composables/use-dashboard-chart.js +118 -0
  107. package/dist/runtime/dashboard/composables/use-dashboard-derived.d.ts +12 -0
  108. package/dist/runtime/dashboard/composables/use-dashboard-derived.js +47 -0
  109. package/dist/runtime/dashboard/composables/use-dashboard-format.d.ts +6 -0
  110. package/dist/runtime/dashboard/composables/use-dashboard-format.js +12 -0
  111. package/dist/runtime/dashboard/composables/use-dashboard-options.d.ts +8 -0
  112. package/dist/runtime/dashboard/composables/use-dashboard-options.js +63 -0
  113. package/dist/runtime/dashboard/composables/use-dashboard-param-scope.d.ts +30 -0
  114. package/dist/runtime/dashboard/composables/use-dashboard-param-scope.js +71 -0
  115. package/dist/runtime/dashboard/composables/use-dashboard-remote-options.d.ts +12 -0
  116. package/dist/runtime/dashboard/composables/use-dashboard-remote-options.js +117 -0
  117. package/dist/runtime/dashboard/composables/use-dashboard-resource.d.ts +35 -0
  118. package/dist/runtime/dashboard/composables/use-dashboard-resource.js +80 -0
  119. package/dist/runtime/dashboard/composables/use-dashboard-scope.d.ts +46 -0
  120. package/dist/runtime/dashboard/composables/use-dashboard-scope.js +127 -0
  121. package/dist/runtime/dashboard/composables/use-dashboard-time.d.ts +13 -0
  122. package/dist/runtime/dashboard/composables/use-dashboard-time.js +40 -0
  123. package/dist/runtime/dashboard/composables/use-dashboard-ui.d.ts +22 -0
  124. package/dist/runtime/dashboard/composables/use-dashboard-ui.js +19 -0
  125. package/dist/runtime/dashboard/composables/use-dashboard-views.d.ts +46 -0
  126. package/dist/runtime/dashboard/composables/use-dashboard-views.js +49 -0
  127. package/dist/runtime/dashboard/composables/use-dashboard.d.ts +24 -0
  128. package/dist/runtime/dashboard/composables/use-dashboard.js +42 -0
  129. package/dist/runtime/dashboard/constants/query.d.ts +16 -0
  130. package/dist/runtime/dashboard/constants/query.js +15 -0
  131. package/dist/runtime/dashboard/index.d.ts +4 -0
  132. package/dist/runtime/dashboard/index.js +3 -0
  133. package/dist/runtime/dashboard/schema/index.d.ts +57 -0
  134. package/dist/runtime/dashboard/schema/index.js +3 -0
  135. package/dist/runtime/dashboard/types/blocks.d.ts +251 -0
  136. package/dist/runtime/dashboard/types/blocks.js +0 -0
  137. package/dist/runtime/dashboard/types/charts.d.ts +60 -0
  138. package/dist/runtime/dashboard/types/charts.js +0 -0
  139. package/dist/runtime/dashboard/types/index.d.ts +7 -0
  140. package/dist/runtime/dashboard/types/index.js +0 -0
  141. package/dist/runtime/dashboard/types/options.d.ts +46 -0
  142. package/dist/runtime/dashboard/types/options.js +0 -0
  143. package/dist/runtime/dashboard/types/params.d.ts +115 -0
  144. package/dist/runtime/dashboard/types/params.js +0 -0
  145. package/dist/runtime/dashboard/types/resource.d.ts +106 -0
  146. package/dist/runtime/dashboard/types/resource.js +0 -0
  147. package/dist/runtime/dashboard/types/runtime.d.ts +44 -0
  148. package/dist/runtime/dashboard/types/runtime.js +0 -0
  149. package/dist/runtime/dashboard/types/schema.d.ts +171 -0
  150. package/dist/runtime/dashboard/types/schema.js +0 -0
  151. package/dist/runtime/dashboard/types/ui.d.ts +201 -0
  152. package/dist/runtime/dashboard/types/ui.js +0 -0
  153. package/dist/runtime/dashboard/utils/builders/dashboard-params.d.ts +85 -0
  154. package/dist/runtime/dashboard/utils/builders/dashboard-params.js +87 -0
  155. package/dist/runtime/dashboard/utils/chart-frame.d.ts +5 -0
  156. package/dist/runtime/dashboard/utils/chart-frame.js +27 -0
  157. package/dist/runtime/dashboard/utils/charts.d.ts +61 -0
  158. package/dist/runtime/dashboard/utils/charts.js +142 -0
  159. package/dist/runtime/dashboard/utils/comparison.d.ts +15 -0
  160. package/dist/runtime/dashboard/utils/comparison.js +19 -0
  161. package/dist/runtime/dashboard/utils/export.d.ts +13 -0
  162. package/dist/runtime/dashboard/utils/export.js +45 -0
  163. package/dist/runtime/dashboard/utils/options.d.ts +12 -0
  164. package/dist/runtime/dashboard/utils/options.js +23 -0
  165. package/dist/runtime/dashboard/utils/params/codecs.d.ts +14 -0
  166. package/dist/runtime/dashboard/utils/params/codecs.js +69 -0
  167. package/dist/runtime/dashboard/utils/resource.d.ts +16 -0
  168. package/dist/runtime/dashboard/utils/resource.js +39 -0
  169. package/dist/runtime/dashboard/utils/schema.d.ts +9 -0
  170. package/dist/runtime/dashboard/utils/schema.js +31 -0
  171. package/dist/runtime/dashboard/utils/sparkline.d.ts +21 -0
  172. package/dist/runtime/dashboard/utils/sparkline.js +53 -0
  173. package/dist/runtime/dashboard/utils/state.d.ts +28 -0
  174. package/dist/runtime/dashboard/utils/state.js +32 -0
  175. package/dist/runtime/dashboard/utils/time.d.ts +17 -0
  176. package/dist/runtime/dashboard/utils/time.js +60 -0
  177. package/dist/runtime/dashboard/utils/tracker.d.ts +12 -0
  178. package/dist/runtime/dashboard/utils/tracker.js +31 -0
  179. package/dist/runtime/dashboard/utils/ui.d.ts +38 -0
  180. package/dist/runtime/dashboard/utils/ui.js +24 -0
  181. package/dist/runtime/dashboard/utils/visibility.d.ts +2 -0
  182. package/dist/runtime/dashboard/utils/visibility.js +25 -0
  183. package/dist/runtime/form/components/root/form.vue +1 -1
  184. package/dist/runtime/form/composables/use-form-validation.d.ts +2 -3
  185. package/dist/runtime/form/composables/use-form-validation.js +24 -112
  186. package/dist/runtime/form/composables/use-form.js +1 -1
  187. package/dist/runtime/form/fields/password/component.vue +132 -28
  188. package/dist/runtime/form/fields/password/types.d.ts +6 -0
  189. package/dist/runtime/form/fields/text/component.vue +7 -2
  190. package/dist/runtime/form/types/field.d.ts +1 -1
  191. package/dist/runtime/form/types/options.d.ts +15 -36
  192. package/dist/runtime/form/types/validation.d.ts +3 -20
  193. package/dist/runtime/form/utils/state.d.ts +1 -14
  194. package/dist/runtime/form/utils/state.js +0 -199
  195. package/dist/runtime/i18n/locales/en.js +63 -0
  196. package/dist/runtime/i18n/locales/fr.js +63 -0
  197. package/dist/runtime/i18n/types.d.ts +68 -0
  198. package/dist/runtime/shared/index.d.ts +2 -0
  199. package/dist/runtime/shared/styles/tokens.css +1 -1
  200. package/dist/runtime/shared/types/query.d.ts +10 -0
  201. package/dist/runtime/shared/types/query.js +0 -0
  202. package/dist/runtime/shared/types/remote-options.d.ts +37 -0
  203. package/dist/runtime/shared/types/remote-options.js +0 -0
  204. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.d.vue.ts +2 -2
  205. package/dist/runtime/spreadsheet/components/layout/spreadsheet-import-footer.vue.d.ts +2 -2
  206. package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.d.ts +15 -15
  207. package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.d.ts +2 -2
  208. package/dist/runtime/spreadsheet/schema/normalize.d.ts +1 -1
  209. package/dist/runtime/spreadsheet/utils/references/sources.d.ts +1 -1
  210. package/dist/runtime/table/components/data-list/data-list-content.d.vue.ts +20 -18
  211. package/dist/runtime/table/components/data-list/data-list-content.vue +14 -87
  212. package/dist/runtime/table/components/data-list/data-list-content.vue.d.ts +20 -18
  213. package/dist/runtime/table/components/data-list/data-list-default.d.vue.ts +1 -4
  214. package/dist/runtime/table/components/data-list/data-list-default.vue.d.ts +1 -4
  215. package/dist/runtime/table/components/data-list/data-list-error-state.d.vue.ts +13 -0
  216. package/dist/runtime/table/components/data-list/data-list-error-state.vue +91 -0
  217. package/dist/runtime/table/components/data-list/data-list-error-state.vue.d.ts +13 -0
  218. package/dist/runtime/table/components/data-list/data-list-infinite-loader.d.vue.ts +1 -1
  219. package/dist/runtime/table/components/data-list/data-list-infinite-loader.vue.d.ts +1 -1
  220. package/dist/runtime/table/components/data-list/data-list-layout-switch.d.vue.ts +1 -1
  221. package/dist/runtime/table/components/data-list/data-list-layout-switch.vue +1 -1
  222. package/dist/runtime/table/components/data-list/data-list-layout-switch.vue.d.ts +1 -1
  223. package/dist/runtime/table/components/data-list/data-list-pagination.d.vue.ts +1 -1
  224. package/dist/runtime/table/components/data-list/data-list-pagination.vue.d.ts +1 -1
  225. package/dist/runtime/table/components/data-list/data-list-refresh.vue +42 -4
  226. package/dist/runtime/table/components/data-list/data-list-root.d.vue.ts +1 -9
  227. package/dist/runtime/table/components/data-list/data-list-root.vue.d.ts +1 -9
  228. package/dist/runtime/table/components/data-list/data-list-sort-menu.d.vue.ts +1 -1
  229. package/dist/runtime/table/components/data-list/data-list-sort-menu.vue +11 -5
  230. package/dist/runtime/table/components/data-list/data-list-sort-menu.vue.d.ts +1 -1
  231. package/dist/runtime/table/components/data-list/sort-menu-panel.d.vue.ts +2 -2
  232. package/dist/runtime/table/components/data-list/sort-menu-panel.vue.d.ts +2 -2
  233. package/dist/runtime/table/components/data-list.d.vue.ts +2 -13
  234. package/dist/runtime/table/components/data-list.vue.d.ts +2 -13
  235. package/dist/runtime/table/components/drawers/column-panel.vue +7 -2
  236. package/dist/runtime/table/components/filters/panel/filter-panel-chips.vue +2 -5
  237. package/dist/runtime/table/components/filters/panel/option-filter-panel-field.vue +1 -1
  238. package/dist/runtime/table/components/filters/shared/dynamic-filter-picker.d.vue.ts +2 -2
  239. package/dist/runtime/table/components/filters/shared/dynamic-filter-picker.vue +103 -101
  240. package/dist/runtime/table/components/filters/shared/dynamic-filter-picker.vue.d.ts +2 -2
  241. package/dist/runtime/table/components/filters/shared/filter-match-mode-button.d.vue.ts +1 -1
  242. package/dist/runtime/table/components/filters/shared/filter-match-mode-button.vue.d.ts +1 -1
  243. package/dist/runtime/table/components/filters/shared/filter-option-multiple-list.vue +2 -2
  244. package/dist/runtime/table/components/filters/shared/filter-option-picker-content.vue +3 -3
  245. package/dist/runtime/table/components/filters/shared/filter-option-single-list.vue +1 -1
  246. package/dist/runtime/table/components/filters/shared/filter-popover-shell.d.vue.ts +3 -3
  247. package/dist/runtime/table/components/filters/shared/filter-popover-shell.vue +17 -15
  248. package/dist/runtime/table/components/filters/shared/filter-popover-shell.vue.d.ts +3 -3
  249. package/dist/runtime/table/components/filters/shared/filter-searchable-panel.vue +10 -2
  250. package/dist/runtime/table/components/filters/sheet/filter-sheet.vue +4 -3
  251. package/dist/runtime/table/components/filters/tags/filter-tags-bar.vue +1 -1
  252. package/dist/runtime/table/components/grid/grid-renderer.vue +2 -4
  253. package/dist/runtime/table/components/layout/table-footer.d.vue.ts +1 -1
  254. package/dist/runtime/table/components/layout/table-footer.vue.d.ts +1 -1
  255. package/dist/runtime/table/components/table/table-cell-ellipsis.d.ts +1 -1
  256. package/dist/runtime/table/components/table/table-renderer.d.vue.ts +8 -2
  257. package/dist/runtime/table/components/table/table-renderer.vue +24 -6
  258. package/dist/runtime/table/components/table/table-renderer.vue.d.ts +8 -2
  259. package/dist/runtime/table/composables/use-option-filter-editor-state.d.ts +1 -0
  260. package/dist/runtime/table/composables/use-option-filter-editor-state.js +2 -2
  261. package/dist/runtime/table/composables/use-query-state.d.ts +3 -3
  262. package/dist/runtime/table/composables/use-table-actions.js +10 -5
  263. package/dist/runtime/table/composables/use-table-api.js +4 -1
  264. package/dist/runtime/table/composables/use-table-columns.d.ts +9 -5
  265. package/dist/runtime/table/composables/use-table-data.d.ts +2 -1
  266. package/dist/runtime/table/composables/use-table-data.js +19 -2
  267. package/dist/runtime/table/composables/use-table-filter-options.d.ts +1 -0
  268. package/dist/runtime/table/composables/use-table-filter-options.js +2 -1
  269. package/dist/runtime/table/composables/use-table-internals.d.ts +45 -33
  270. package/dist/runtime/table/composables/use-table-pagination.d.ts +2 -2
  271. package/dist/runtime/table/composables/use-table-selection.d.ts +1 -1
  272. package/dist/runtime/table/composables/use-table-state.d.ts +3 -3
  273. package/dist/runtime/table/types/actions.d.ts +3 -2
  274. package/dist/runtime/table/types/data-list.d.ts +8 -0
  275. package/dist/runtime/table/types/source.d.ts +14 -6
  276. package/dist/runtime/table/utils/builders/table-source.d.ts +14 -15
  277. package/dist/runtime/table/utils/client-query.d.ts +1 -1
  278. package/dist/runtime/table/utils/columns/menu.d.ts +1 -1
  279. package/dist/runtime/table/utils/columns/render.d.ts +13 -5
  280. package/dist/runtime/table/utils/columns/render.js +3 -2
  281. package/dist/runtime/table/utils/columns/state.d.ts +1 -1
  282. package/dist/runtime/table/utils/data-list-ui.d.ts +1 -1
  283. package/dist/runtime/table/utils/filters/editor-size.js +9 -9
  284. package/dist/runtime/table/utils/filters/options.js +6 -1
  285. package/dist/runtime/table/utils/index.d.ts +1 -0
  286. package/dist/runtime/table/utils/index.js +1 -0
  287. package/dist/runtime/table/utils/prefetch.js +5 -1
  288. package/dist/runtime/table/utils/source-request.d.ts +2 -0
  289. package/dist/runtime/table/utils/source-request.js +9 -0
  290. package/package.json +28 -1
@@ -0,0 +1,312 @@
1
+ <script setup>
2
+ import { computed } from "vue";
3
+ import { createDashboardSeededRandom } from "../../utils/charts";
4
+ const props = defineProps({
5
+ kind: { type: String, required: false, default: "rows" },
6
+ count: { type: Number, required: false, default: 0 },
7
+ series: { type: Number, required: false, default: 1 },
8
+ height: { type: Number, required: false, default: 250 },
9
+ leading: { type: String, required: false },
10
+ columns: { type: Number, required: false, default: 4 },
11
+ extra: { type: String, required: false },
12
+ layout: { type: String, required: false, default: "side" },
13
+ diameter: { type: Number, required: false, default: 150 },
14
+ seed: { type: String, required: false, default: "dashboard" }
15
+ });
16
+ const points = computed(
17
+ () => props.count || (props.kind === "bars" || props.kind === "lines" ? 12 : 5)
18
+ );
19
+ const random = computed(() => createDashboardSeededRandom(`${props.kind}:${props.seed}`));
20
+ const groups = computed(() => {
21
+ const next = random.value;
22
+ return Array.from(
23
+ { length: points.value },
24
+ () => Array.from({ length: Math.max(1, props.series) }, () => 28 + Math.round(next() * 58))
25
+ );
26
+ });
27
+ const linePath = computed(() => {
28
+ const next = random.value;
29
+ const values = Array.from({ length: points.value }, (_, index) => 30 + index * 2.5 + next() * 22);
30
+ const step = 100 / Math.max(1, values.length - 1);
31
+ return values.map(
32
+ (value, index) => `${index === 0 ? "M" : "L"}${(index * step).toFixed(2)},${(100 - value).toFixed(2)}`
33
+ ).join(" ");
34
+ });
35
+ const widths = computed(() => {
36
+ const next = random.value;
37
+ return Array.from({ length: points.value }, () => 38 + Math.round(next() * 40));
38
+ });
39
+ const funnelWidths = computed(
40
+ () => Array.from({ length: points.value }, (_, index) => Math.max(18, 100 - index * 19))
41
+ );
42
+ </script>
43
+
44
+ <template>
45
+ <!-- KPI: value, then delta and caption, then a sparkline or a progress bar -->
46
+ <div v-if="kind === 'stat'" class="flex flex-col gap-2.5 pt-1.5">
47
+ <div class="nut-dash-ghost h-[26px] w-[58%] rounded-md" />
48
+ <div class="flex items-center gap-2">
49
+ <div class="nut-dash-ghost h-3 w-12 rounded-sm" />
50
+ <div class="nut-dash-ghost h-3 w-[40%] rounded-sm opacity-70" />
51
+ </div>
52
+ <svg
53
+ v-if="extra === 'trend'"
54
+ class="mt-1.5 h-8 w-full overflow-visible"
55
+ viewBox="0 0 100 100"
56
+ preserveAspectRatio="none"
57
+ >
58
+ <path
59
+ :d="linePath"
60
+ fill="none"
61
+ stroke="var(--nut-dash-ghost)"
62
+ stroke-width="2"
63
+ vector-effect="non-scaling-stroke"
64
+ stroke-linecap="round"
65
+ />
66
+ </svg>
67
+ <div v-else-if="extra === 'goal'" class="mt-1.5 flex flex-col gap-1.5">
68
+ <div class="h-1.5 rounded-full bg-[var(--nut-dash-track)]">
69
+ <div class="nut-dash-ghost h-full w-3/5 rounded-full" />
70
+ </div>
71
+ <div class="nut-dash-ghost h-2 w-[45%] rounded-sm opacity-70" />
72
+ </div>
73
+ </div>
74
+
75
+ <!-- Feed: a rail of markers, two lines per event, and a time -->
76
+ <div v-else-if="kind === 'feed'" class="flex flex-col">
77
+ <div v-for="(width, index) in widths" :key="index" class="flex gap-3 pb-3.5">
78
+ <div class="flex w-7 shrink-0 flex-col items-center">
79
+ <div class="nut-dash-ghost size-7 rounded-full" />
80
+ <div v-if="index < widths.length - 1" class="mt-1 w-px flex-1 bg-[var(--nut-dash-grid)]" />
81
+ </div>
82
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5 pt-1">
83
+ <div class="flex items-center gap-3">
84
+ <div class="nut-dash-ghost h-2.5 rounded-sm" :style="{ width: `${width}%` }" />
85
+ <div class="nut-dash-ghost ms-auto h-2 w-10 shrink-0 rounded-sm opacity-70" />
86
+ </div>
87
+ <div class="nut-dash-ghost h-2 w-[40%] rounded-sm opacity-70" />
88
+ </div>
89
+ </div>
90
+ </div>
91
+
92
+ <!-- Table: header labels, then rows of cells (first column wider, numbers to the end) -->
93
+ <div v-else-if="kind === 'table'" class="flex flex-col">
94
+ <div class="flex gap-5 pb-2.5">
95
+ <div
96
+ v-for="column in columns"
97
+ :key="column"
98
+ class="flex flex-1"
99
+ :class="column === 1 ? 'grow-[2]' : 'justify-end'"
100
+ >
101
+ <div class="nut-dash-ghost h-2 w-14 rounded-sm opacity-70" />
102
+ </div>
103
+ </div>
104
+ <div
105
+ v-for="(width, index) in widths"
106
+ :key="index"
107
+ class="flex items-center gap-5 border-t border-[var(--nut-dash-grid)] py-[11px]"
108
+ >
109
+ <div
110
+ v-for="column in columns"
111
+ :key="column"
112
+ class="flex flex-1"
113
+ :class="column === 1 ? 'grow-[2]' : 'justify-end'"
114
+ >
115
+ <div
116
+ class="nut-dash-ghost h-2.5 rounded-sm"
117
+ :style="{ width: column === 1 ? `${width}%` : `${36 + (index + column) % 3 * 14}%` }"
118
+ />
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- XY charts: y labels, gridlines, grouped bars or a smooth line, x labels -->
124
+ <div
125
+ v-else-if="kind === 'bars' || kind === 'lines'"
126
+ class="flex flex-col"
127
+ :style="{ height: `${height}px` }"
128
+ >
129
+ <div class="flex min-h-0 flex-1 gap-2">
130
+ <div class="flex w-8 shrink-0 flex-col justify-between py-0.5">
131
+ <div
132
+ v-for="tick in 5"
133
+ :key="tick"
134
+ class="nut-dash-ghost ms-auto h-2 w-6 rounded-sm opacity-70"
135
+ />
136
+ </div>
137
+ <div class="relative flex min-w-0 flex-1 items-end">
138
+ <div
139
+ v-for="line in 5"
140
+ :key="line"
141
+ class="absolute inset-x-0 border-t border-[var(--nut-dash-grid)]"
142
+ :style="{ top: `${(line - 1) / 4 * 100}%` }"
143
+ />
144
+ <template v-if="kind === 'bars'">
145
+ <div
146
+ v-for="(group, index) in groups"
147
+ :key="index"
148
+ class="relative flex h-full flex-1 items-end justify-center gap-px"
149
+ >
150
+ <div
151
+ v-for="(bar, barIndex) in group"
152
+ :key="barIndex"
153
+ class="nut-dash-ghost w-[min(14px,22%)] rounded-t-[2px]"
154
+ :style="{ height: `${bar}%` }"
155
+ />
156
+ </div>
157
+ </template>
158
+ <svg
159
+ v-else
160
+ class="absolute inset-0 size-full overflow-visible"
161
+ viewBox="0 0 100 100"
162
+ preserveAspectRatio="none"
163
+ >
164
+ <path
165
+ :d="linePath"
166
+ fill="none"
167
+ stroke="var(--nut-dash-ghost)"
168
+ stroke-width="2.5"
169
+ vector-effect="non-scaling-stroke"
170
+ stroke-linecap="round"
171
+ stroke-linejoin="round"
172
+ />
173
+ </svg>
174
+ </div>
175
+ </div>
176
+ <div class="mt-2 flex ps-10">
177
+ <div v-for="index in points" :key="index" class="flex flex-1 justify-center">
178
+ <div class="nut-dash-ghost h-2 w-5 rounded-sm opacity-70" />
179
+ </div>
180
+ </div>
181
+ </div>
182
+
183
+ <!-- Stat group: label, value, and meta line per figure -->
184
+ <div v-else-if="kind === 'stats'" class="flex flex-wrap gap-x-6 gap-y-5">
185
+ <div
186
+ v-for="index in Math.max(1, count || 3)"
187
+ :key="index"
188
+ class="flex min-w-24 flex-1 flex-col gap-2"
189
+ >
190
+ <div class="nut-dash-ghost h-2.5 w-[55%] rounded-sm opacity-70" />
191
+ <div class="nut-dash-ghost h-5 w-[70%] rounded-md" />
192
+ <div class="nut-dash-ghost h-2 w-[40%] rounded-sm opacity-70" />
193
+ </div>
194
+ </div>
195
+
196
+ <!-- Gauge: an open arc and its scale -->
197
+ <div v-else-if="kind === 'gauge'" class="flex flex-col items-center gap-3 pt-1">
198
+ <div
199
+ class="rounded-full border-[12px] border-[var(--nut-dash-ghost)] border-b-transparent"
200
+ :style="{ height: `${diameter}px`, width: `${diameter}px` }"
201
+ />
202
+ <div class="flex justify-between" :style="{ width: `${diameter}px` }">
203
+ <div class="nut-dash-ghost h-2 w-6 rounded-sm opacity-70" />
204
+ <div class="nut-dash-ghost h-2 w-8 rounded-sm opacity-70" />
205
+ </div>
206
+ </div>
207
+
208
+ <!-- Donut: ring and legend -->
209
+ <div
210
+ v-else-if="kind === 'donut'"
211
+ :class="
212
+ layout === 'stacked' ? 'flex flex-col items-center gap-[18px]' : 'flex flex-wrap items-center gap-5'
213
+ "
214
+ >
215
+ <div
216
+ class="shrink-0 rounded-full border-[14px] border-[var(--nut-dash-ghost)]"
217
+ :style="{ height: `${diameter}px`, width: `${diameter}px` }"
218
+ />
219
+ <div class="flex w-full min-w-40 flex-1 flex-col gap-3">
220
+ <div
221
+ v-for="(width, index) in widths.slice(0, 4)"
222
+ :key="index"
223
+ class="flex items-center gap-2"
224
+ >
225
+ <div class="nut-dash-ghost size-[9px] shrink-0 rounded-[3px]" />
226
+ <div class="nut-dash-ghost h-2.5 rounded-sm" :style="{ width: `${width}%` }" />
227
+ <div class="nut-dash-ghost ms-auto h-2.5 w-8 rounded-sm" />
228
+ </div>
229
+ </div>
230
+ </div>
231
+
232
+ <!-- Horizontal bars: label + meta, then a thin track -->
233
+ <div v-else-if="kind === 'hbars'" class="flex flex-col gap-1">
234
+ <div v-for="(width, index) in widths" :key="index" class="flex flex-col gap-2 py-1.5">
235
+ <div class="flex items-center justify-between gap-3">
236
+ <div class="nut-dash-ghost h-2.5 rounded-sm" :style="{ width: `${width}%` }" />
237
+ <div class="nut-dash-ghost h-2.5 w-14 rounded-sm opacity-70" />
238
+ </div>
239
+ <div class="h-1.5 rounded-full bg-[var(--nut-dash-track)]">
240
+ <div
241
+ class="nut-dash-ghost h-full rounded-full"
242
+ :style="{ width: `${100 - index * 14}%` }"
243
+ />
244
+ </div>
245
+ </div>
246
+ </div>
247
+
248
+ <!-- Funnel: label + value, then decreasing thick bars -->
249
+ <div v-else-if="kind === 'funnel'" class="flex flex-col gap-3.5 pt-1">
250
+ <div v-for="(width, index) in funnelWidths" :key="index" class="flex flex-col gap-1.5">
251
+ <div class="flex items-center gap-2.5">
252
+ <div class="nut-dash-ghost h-2.5 w-24 rounded-sm" />
253
+ <div class="nut-dash-ghost h-3 w-10 rounded-sm" />
254
+ <div class="nut-dash-ghost ms-auto h-2.5 w-28 rounded-sm opacity-70" />
255
+ </div>
256
+ <div class="h-[22px] rounded-[5px] bg-[var(--nut-dash-track)]">
257
+ <div class="nut-dash-ghost h-full rounded-[5px]" :style="{ width: `${width}%` }" />
258
+ </div>
259
+ </div>
260
+ </div>
261
+
262
+ <!-- Stacked bar: one bar, legend in two columns -->
263
+ <div v-else-if="kind === 'stack'" class="flex flex-col gap-4 pt-1.5">
264
+ <div class="nut-dash-ghost h-3.5 rounded-full" />
265
+ <div class="grid grid-cols-2 gap-x-[18px] gap-y-2">
266
+ <div
267
+ v-for="(width, index) in widths.slice(0, 4)"
268
+ :key="index"
269
+ class="flex items-center gap-2"
270
+ >
271
+ <div class="nut-dash-ghost size-[9px] shrink-0 rounded-[3px]" />
272
+ <div class="nut-dash-ghost h-2.5 rounded-sm" :style="{ width: `${width}%` }" />
273
+ </div>
274
+ </div>
275
+ </div>
276
+
277
+ <!-- Paired bars: label, track, numbers -->
278
+ <div v-else-if="kind === 'paired'" class="flex flex-col">
279
+ <div
280
+ v-for="(width, index) in widths"
281
+ :key="index"
282
+ class="grid grid-cols-[minmax(0,150px)_1fr_auto] items-center gap-3 py-1.5"
283
+ >
284
+ <div class="nut-dash-ghost h-2.5 rounded-sm" :style="{ width: `${width}%` }" />
285
+ <div class="h-3 rounded-full bg-[var(--nut-dash-track)]">
286
+ <div class="nut-dash-ghost h-full rounded-full" :style="{ width: `${100 - index * 5}%` }" />
287
+ </div>
288
+ <div class="nut-dash-ghost h-2.5 w-24 rounded-sm opacity-70" />
289
+ </div>
290
+ </div>
291
+
292
+ <!-- Ranked rows: leading, two text lines, value -->
293
+ <div v-else class="flex flex-col divide-y divide-[var(--nut-dash-grid)]">
294
+ <div v-for="(width, index) in widths" :key="index" class="flex items-center gap-3 py-[9px]">
295
+ <div
296
+ v-if="leading"
297
+ :class="
298
+ leading === 'code' ? 'h-[22px] w-8 rounded-[5px]' : leading === 'icon' ? 'size-8 rounded-lg' : 'size-[30px] rounded-[7px]'
299
+ "
300
+ class="nut-dash-ghost shrink-0"
301
+ />
302
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5">
303
+ <div class="nut-dash-ghost h-2.5 rounded-sm" :style="{ width: `${width}%` }" />
304
+ <div
305
+ v-if="leading === 'avatar' || leading === 'icon'"
306
+ class="nut-dash-ghost h-2 w-[30%] rounded-sm opacity-70"
307
+ />
308
+ </div>
309
+ <div class="nut-dash-ghost h-3 w-10 shrink-0 rounded-sm" />
310
+ </div>
311
+ </div>
312
+ </template>
@@ -0,0 +1,34 @@
1
+ import type { DashboardSkeletonKind } from '../../types/index.js';
2
+ type __VLS_Props = {
3
+ kind?: DashboardSkeletonKind;
4
+ /** Rows for list-like kinds, x points for charts. */
5
+ count?: number;
6
+ /** Bars per group (`bars`), or lines (`lines`). */
7
+ series?: number;
8
+ /** Chart height in pixels, x labels included. */
9
+ height?: number;
10
+ /** Leading visual of `rows`. */
11
+ leading?: 'avatar' | 'code' | 'icon';
12
+ /** Columns of `table`. */
13
+ columns?: number;
14
+ /** Extra line of `stat`: a sparkline or a progress bar. */
15
+ extra?: 'trend' | 'goal';
16
+ /** `donut` legend placement. */
17
+ layout?: 'side' | 'stacked';
18
+ /** Diameter of the `donut` ring. */
19
+ diameter?: number;
20
+ /** Seed of the deterministic geometry: server and client paint the same ghost. */
21
+ seed?: string;
22
+ };
23
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
+ kind: DashboardSkeletonKind;
25
+ layout: "side" | "stacked";
26
+ height: number;
27
+ count: number;
28
+ series: number;
29
+ columns: number;
30
+ diameter: number;
31
+ seed: string;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Chart renderer seam. Blocks never import a chart library: they render these async components,
3
+ * which are the only modules allowed to import `@unovis/*`. A second backend only needs another
4
+ * entry with the same props.
5
+ */
6
+ export declare const dashboardChartRenderer: {
7
+ donut: import("vue").DefineComponent<{
8
+ segments: readonly {
9
+ value: number;
10
+ color: string;
11
+ }[];
12
+ size: number;
13
+ thickness: number;
14
+ padAngle: number;
15
+ selectable?: boolean;
16
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ select: (index: number) => any;
18
+ }, string, import("vue").PublicProps, Readonly<{
19
+ segments: readonly {
20
+ value: number;
21
+ color: string;
22
+ }[];
23
+ size: number;
24
+ thickness: number;
25
+ padAngle: number;
26
+ selectable?: boolean;
27
+ }> & Readonly<{
28
+ onSelect?: ((index: number) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ xy: import("vue").DefineComponent<{
31
+ frame: import("../../types/index.js").DashboardChartFrame;
32
+ height: number;
33
+ selectable?: boolean;
34
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ select: (index: number) => any;
36
+ }, string, import("vue").PublicProps, Readonly<{
37
+ frame: import("../../types/index.js").DashboardChartFrame;
38
+ height: number;
39
+ selectable?: boolean;
40
+ }> & Readonly<{
41
+ onSelect?: ((index: number) => any) | undefined;
42
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
+ };
@@ -0,0 +1,34 @@
1
+ import { defineAsyncComponent, defineComponent, h } from "vue";
2
+ const XyPlaceholder = defineComponent({
3
+ inheritAttrs: false,
4
+ props: { height: { default: 250, type: Number } },
5
+ setup: (props) => () => h("div", { "aria-hidden": "true", style: { height: `${props.height}px` } })
6
+ });
7
+ const DonutPlaceholder = defineComponent({
8
+ inheritAttrs: false,
9
+ props: {
10
+ size: { default: 150, type: Number },
11
+ thickness: { default: 14, type: Number }
12
+ },
13
+ setup: (props) => () => h("div", {
14
+ "aria-hidden": "true",
15
+ class: "rounded-full border-[var(--nut-dash-ghost)]",
16
+ style: {
17
+ borderWidth: `${props.thickness}px`,
18
+ height: `${props.size}px`,
19
+ width: `${props.size}px`
20
+ }
21
+ })
22
+ });
23
+ export const dashboardChartRenderer = {
24
+ donut: defineAsyncComponent({
25
+ delay: 0,
26
+ loader: () => import("./unovis/dashboard-donut-chart.vue"),
27
+ loadingComponent: DonutPlaceholder
28
+ }),
29
+ xy: defineAsyncComponent({
30
+ delay: 0,
31
+ loader: () => import("./unovis/dashboard-xy-chart.vue"),
32
+ loadingComponent: XyPlaceholder
33
+ })
34
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ segments: readonly {
3
+ value: number;
4
+ color: string;
5
+ }[];
6
+ size: number;
7
+ thickness: number;
8
+ padAngle: number;
9
+ /** A click on a segment selects it. */
10
+ selectable?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ select: (index: number) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSelect?: ((index: number) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,45 @@
1
+ <script setup>
2
+ import { Donut } from "@unovis/ts";
3
+ import VisDonut from "@unovis/vue/components/donut";
4
+ import VisSingleContainer from "@unovis/vue/containers/single-container";
5
+ import { usePreferredReducedMotion } from "@vueuse/core";
6
+ import { computed } from "vue";
7
+ const props = defineProps({
8
+ segments: { type: Array, required: true },
9
+ size: { type: Number, required: true },
10
+ thickness: { type: Number, required: true },
11
+ padAngle: { type: Number, required: true },
12
+ selectable: { type: Boolean, required: false }
13
+ });
14
+ const emit = defineEmits(["select"]);
15
+ const reducedMotion = usePreferredReducedMotion();
16
+ const duration = computed(() => reducedMotion.value === "reduce" ? 0 : 500);
17
+ const value = (segment) => segment.value;
18
+ const color = (segment) => segment.color;
19
+ const events = computed(
20
+ () => props.selectable ? {
21
+ [Donut.selectors.segment]: {
22
+ click: (arc) => emit("select", arc.index)
23
+ }
24
+ } : {}
25
+ );
26
+ </script>
27
+
28
+ <template>
29
+ <div
30
+ class="nut-dash-chart"
31
+ :class="selectable && '[&_path]:cursor-pointer'"
32
+ :style="{ height: `${size}px`, width: `${size}px` }"
33
+ >
34
+ <VisSingleContainer :data="props.segments" :height="size" :width="size" :duration="duration">
35
+ <VisDonut
36
+ :value="value"
37
+ :color="color"
38
+ :arc-width="thickness"
39
+ :pad-angle="padAngle"
40
+ :show-background="false"
41
+ :events="events"
42
+ />
43
+ </VisSingleContainer>
44
+ </div>
45
+ </template>
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ segments: readonly {
3
+ value: number;
4
+ color: string;
5
+ }[];
6
+ size: number;
7
+ thickness: number;
8
+ padAngle: number;
9
+ /** A click on a segment selects it. */
10
+ selectable?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ select: (index: number) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSelect?: ((index: number) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { DashboardChartFrame } from '../../../types/index.js';
2
+ type __VLS_Props = {
3
+ frame: DashboardChartFrame;
4
+ height: number;
5
+ /** A click selects the x position under the pointer. */
6
+ selectable?: boolean;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ select: (index: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onSelect?: ((index: number) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;