@ahoo-wang/wow-view-engine 10.0.0-beta.1 → 10.0.0-beta.3

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 (381) hide show
  1. package/dist/{actions-ClYpI7gy.js → actions-CThpS7Yj.js} +2790 -2761
  2. package/dist/actions-CThpS7Yj.js.map +1 -0
  3. package/dist/analysis/buckets.d.ts.map +1 -1
  4. package/dist/analysis/columns.d.ts +192 -0
  5. package/dist/analysis/columns.d.ts.map +1 -0
  6. package/dist/analysis/index.d.ts +1 -0
  7. package/dist/analysis/index.d.ts.map +1 -1
  8. package/dist/analysis/project.d.ts +2 -152
  9. package/dist/analysis/project.d.ts.map +1 -1
  10. package/dist/capabilities/analysis.d.ts.map +1 -1
  11. package/dist/capabilities/cache.d.ts +13 -0
  12. package/dist/capabilities/cache.d.ts.map +1 -1
  13. package/dist/capabilities/fields.d.ts +3 -17
  14. package/dist/capabilities/fields.d.ts.map +1 -1
  15. package/dist/capabilities/semantic.d.ts +24 -0
  16. package/dist/capabilities/semantic.d.ts.map +1 -0
  17. package/dist/dashboard/index.d.ts +1 -0
  18. package/dist/dashboard/index.d.ts.map +1 -1
  19. package/dist/dashboard/layout.d.ts +8 -40
  20. package/dist/dashboard/layout.d.ts.map +1 -1
  21. package/dist/dashboard/reorder.d.ts +43 -0
  22. package/dist/dashboard/reorder.d.ts.map +1 -0
  23. package/dist/dashboard/shape.d.ts +8 -0
  24. package/dist/dashboard/shape.d.ts.map +1 -0
  25. package/dist/dashboard/tabs.d.ts.map +1 -1
  26. package/dist/dashboard/validate.d.ts.map +1 -1
  27. package/dist/dashboard/validateContent.d.ts +3 -0
  28. package/dist/dashboard/validateContent.d.ts.map +1 -0
  29. package/dist/dashboard/validateFilters.d.ts.map +1 -1
  30. package/dist/{export-D1udIJPm.js → export-D6bnNjrA.js} +2 -2
  31. package/dist/{export-D1udIJPm.js.map → export-D6bnNjrA.js.map} +1 -1
  32. package/dist/filter/kinds/dateTime.d.ts.map +1 -1
  33. package/dist/filter/time.d.ts.map +1 -1
  34. package/dist/index.d.ts +10 -5
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +212 -177
  37. package/dist/index.js.map +1 -1
  38. package/dist/model/cartesian.d.ts +132 -0
  39. package/dist/model/cartesian.d.ts.map +1 -0
  40. package/dist/model/chart.d.ts +1 -130
  41. package/dist/model/chart.d.ts.map +1 -1
  42. package/dist/model/currency.d.ts +1 -1
  43. package/dist/model/currency.d.ts.map +1 -1
  44. package/dist/model/definition.d.ts +9 -0
  45. package/dist/model/definition.d.ts.map +1 -1
  46. package/dist/model/field.d.ts +3 -142
  47. package/dist/model/field.d.ts.map +1 -1
  48. package/dist/model/fieldNumeric.d.ts +78 -0
  49. package/dist/model/fieldNumeric.d.ts.map +1 -0
  50. package/dist/model/fieldTemporal.d.ts +68 -0
  51. package/dist/model/fieldTemporal.d.ts.map +1 -0
  52. package/dist/model/index.d.ts +3 -0
  53. package/dist/model/index.d.ts.map +1 -1
  54. package/dist/react/actionRunner.d.ts +9 -0
  55. package/dist/react/actionRunner.d.ts.map +1 -1
  56. package/dist/react/filterTree.d.ts +109 -0
  57. package/dist/react/filterTree.d.ts.map +1 -0
  58. package/dist/react/followUp.d.ts +105 -0
  59. package/dist/react/followUp.d.ts.map +1 -0
  60. package/dist/react/index.d.ts +6 -3
  61. package/dist/react/index.d.ts.map +1 -1
  62. package/dist/react/rulesClock.d.ts +20 -0
  63. package/dist/react/rulesClock.d.ts.map +1 -0
  64. package/dist/react/useAnalysisResult.d.ts +1 -80
  65. package/dist/react/useAnalysisResult.d.ts.map +1 -1
  66. package/dist/react/useFilterEditor.d.ts +24 -108
  67. package/dist/react/useFilterEditor.d.ts.map +1 -1
  68. package/dist/react/useRecordActions.d.ts +24 -1
  69. package/dist/react/useRecordActions.d.ts.map +1 -1
  70. package/dist/react/useRecordDetail.d.ts.map +1 -1
  71. package/dist/react/useRecordExport.d.ts.map +1 -1
  72. package/dist/react/useRecordTable.d.ts +6 -0
  73. package/dist/react/useRecordTable.d.ts.map +1 -1
  74. package/dist/react/useSaveCommands.d.ts +5 -0
  75. package/dist/react/useSaveCommands.d.ts.map +1 -1
  76. package/dist/react/useSearchBox.d.ts.map +1 -1
  77. package/dist/react/useStale.d.ts +24 -0
  78. package/dist/react/useStale.d.ts.map +1 -0
  79. package/dist/react/useWorkbench.d.ts +3 -61
  80. package/dist/react/useWorkbench.d.ts.map +1 -1
  81. package/dist/react/workbench/handOver.d.ts +1 -1
  82. package/dist/react/workbench/handOver.d.ts.map +1 -1
  83. package/dist/react/workbench/heldView.d.ts +112 -0
  84. package/dist/react/workbench/heldView.d.ts.map +1 -0
  85. package/dist/react/workbench/instanceSync.d.ts +5 -1
  86. package/dist/react/workbench/instanceSync.d.ts.map +1 -1
  87. package/dist/react/workbench/switching.d.ts +29 -0
  88. package/dist/react/workbench/switching.d.ts.map +1 -0
  89. package/dist/react-0RrtrG7t.js +4316 -0
  90. package/dist/react-0RrtrG7t.js.map +1 -0
  91. package/dist/react.js +1 -1
  92. package/dist/record/compile.d.ts +3 -1
  93. package/dist/record/compile.d.ts.map +1 -1
  94. package/dist/record/index.d.ts +1 -0
  95. package/dist/record/index.d.ts.map +1 -1
  96. package/dist/record/kanban.d.ts.map +1 -1
  97. package/dist/record/path.d.ts +10 -0
  98. package/dist/record/path.d.ts.map +1 -1
  99. package/dist/record/project.d.ts +9 -66
  100. package/dist/record/project.d.ts.map +1 -1
  101. package/dist/record/summaries.d.ts +68 -0
  102. package/dist/record/summaries.d.ts.map +1 -0
  103. package/dist/runtime/actions.d.ts +16 -0
  104. package/dist/runtime/actions.d.ts.map +1 -1
  105. package/dist/runtime/autoApply.d.ts +17 -2
  106. package/dist/runtime/autoApply.d.ts.map +1 -1
  107. package/dist/runtime/capabilities.d.ts +15 -1
  108. package/dist/runtime/capabilities.d.ts.map +1 -1
  109. package/dist/runtime/commandChecks.d.ts +8 -4
  110. package/dist/runtime/commandChecks.d.ts.map +1 -1
  111. package/dist/runtime/dashboard/commands.d.ts +3 -1
  112. package/dist/runtime/dashboard/commands.d.ts.map +1 -1
  113. package/dist/runtime/dashboard/editing.d.ts +10 -1
  114. package/dist/runtime/dashboard/editing.d.ts.map +1 -1
  115. package/dist/runtime/dashboard/history.d.ts +8 -0
  116. package/dist/runtime/dashboard/history.d.ts.map +1 -1
  117. package/dist/runtime/dashboard/panelSync.d.ts +57 -0
  118. package/dist/runtime/dashboard/panelSync.d.ts.map +1 -0
  119. package/dist/runtime/dashboardRuntime.d.ts +3 -20
  120. package/dist/runtime/dashboardRuntime.d.ts.map +1 -1
  121. package/dist/runtime/datasetResources.d.ts +29 -1
  122. package/dist/runtime/datasetResources.d.ts.map +1 -1
  123. package/dist/runtime/define/spec.d.ts +2 -1
  124. package/dist/runtime/define/spec.d.ts.map +1 -1
  125. package/dist/runtime/generations.d.ts +89 -0
  126. package/dist/runtime/generations.d.ts.map +1 -0
  127. package/dist/runtime/instanceWrites.d.ts.map +1 -1
  128. package/dist/runtime/panelViews.d.ts.map +1 -1
  129. package/dist/runtime/preferences.d.ts +37 -11
  130. package/dist/runtime/preferences.d.ts.map +1 -1
  131. package/dist/runtime/recordRuntime.d.ts +13 -0
  132. package/dist/runtime/recordRuntime.d.ts.map +1 -1
  133. package/dist/runtime/restyle.d.ts +17 -12
  134. package/dist/runtime/restyle.d.ts.map +1 -1
  135. package/dist/runtime/summaries.d.ts +16 -2
  136. package/dist/runtime/summaries.d.ts.map +1 -1
  137. package/dist/runtime/tabMemory.d.ts +11 -4
  138. package/dist/runtime/tabMemory.d.ts.map +1 -1
  139. package/dist/runtime/validateDefinition.d.ts.map +1 -1
  140. package/dist/runtime/validateSystemViews.d.ts +10 -0
  141. package/dist/runtime/validateSystemViews.d.ts.map +1 -0
  142. package/dist/runtime/viewEngine.d.ts +4 -5
  143. package/dist/runtime/viewEngine.d.ts.map +1 -1
  144. package/dist/runtime/viewOpening.d.ts +30 -0
  145. package/dist/runtime/viewOpening.d.ts.map +1 -0
  146. package/dist/runtime/viewRuntime.d.ts +3 -1
  147. package/dist/runtime/viewRuntime.d.ts.map +1 -1
  148. package/dist/runtime/viewRuntimeTypes.d.ts +29 -3
  149. package/dist/runtime/viewRuntimeTypes.d.ts.map +1 -1
  150. package/dist/runtime/write.d.ts +11 -0
  151. package/dist/runtime/write.d.ts.map +1 -1
  152. package/dist/runtime/writeEffects.d.ts +16 -0
  153. package/dist/runtime/writeEffects.d.ts.map +1 -0
  154. package/dist/runtime/writeLedger.d.ts +13 -12
  155. package/dist/runtime/writeLedger.d.ts.map +1 -1
  156. package/dist/store/MemoryViewStore.d.ts.map +1 -1
  157. package/dist/styles.css +1 -1
  158. package/dist/testing/filter.d.ts +13 -5
  159. package/dist/testing/filter.d.ts.map +1 -1
  160. package/dist/testing/source.d.ts +8 -0
  161. package/dist/testing/source.d.ts.map +1 -1
  162. package/dist/testing.js +60 -61
  163. package/dist/testing.js.map +1 -1
  164. package/dist/theme-check.mjs +206 -222
  165. package/dist/theme-source.css +265 -109
  166. package/dist/theme-tokens.json +293 -441
  167. package/dist/themes/contrast.css +12 -12
  168. package/dist/themes.css +12 -276
  169. package/dist/ui/DashboardWorkbench.d.ts +2 -2
  170. package/dist/ui/DataWorkbench.d.ts +2 -2
  171. package/dist/ui/ViewHost.d.ts +11 -1
  172. package/dist/ui/ViewHost.d.ts.map +1 -1
  173. package/dist/ui/actions/ActionButtons.d.ts +7 -1
  174. package/dist/ui/actions/ActionButtons.d.ts.map +1 -1
  175. package/dist/ui/actions/ActionDialog.d.ts.map +1 -1
  176. package/dist/ui/actions/ActionSurface.d.ts.map +1 -1
  177. package/dist/ui/actions/BulkStatus.d.ts.map +1 -1
  178. package/dist/ui/analysis/DimensionCard.d.ts.map +1 -1
  179. package/dist/ui/analysis/DisplayTab.d.ts.map +1 -1
  180. package/dist/ui/analysis/ElementsSlot.d.ts.map +1 -1
  181. package/dist/ui/analysis/HavingRows.d.ts.map +1 -1
  182. package/dist/ui/analysis/MetricSlot.d.ts.map +1 -1
  183. package/dist/ui/analysis/RangeSlot.d.ts.map +1 -1
  184. package/dist/ui/analysis/TopRow.d.ts.map +1 -1
  185. package/dist/ui/analysis/cartesianSpec.d.ts +1 -1
  186. package/dist/ui/analysis/exportOffer.d.ts.map +1 -1
  187. package/dist/ui/charts/EChart.d.ts +5 -7
  188. package/dist/ui/charts/EChart.d.ts.map +1 -1
  189. package/dist/ui/charts/MetricCard.d.ts.map +1 -1
  190. package/dist/ui/charts/PieSlices.d.ts.map +1 -1
  191. package/dist/ui/charts/candlestickOption.d.ts +1 -1
  192. package/dist/ui/charts/cartesianPlan.d.ts +0 -30
  193. package/dist/ui/charts/cartesianPlan.d.ts.map +1 -1
  194. package/dist/ui/charts/cartesianStacks.d.ts +36 -0
  195. package/dist/ui/charts/cartesianStacks.d.ts.map +1 -0
  196. package/dist/ui/charts/cartesianTooltip.d.ts.map +1 -1
  197. package/dist/ui/charts/pieOption.d.ts +10 -0
  198. package/dist/ui/charts/pieOption.d.ts.map +1 -1
  199. package/dist/ui/charts/theme.d.ts +35 -12
  200. package/dist/ui/charts/theme.d.ts.map +1 -1
  201. package/dist/ui/charts/waterfallOption.d.ts +4 -3
  202. package/dist/ui/charts/waterfallOption.d.ts.map +1 -1
  203. package/dist/ui/columns/ColumnRegion.d.ts +27 -0
  204. package/dist/ui/columns/ColumnRegion.d.ts.map +1 -0
  205. package/dist/ui/columns/ColumnSettings.d.ts.map +1 -1
  206. package/dist/ui/dashboard/DashboardPanelCard.d.ts.map +1 -1
  207. package/dist/ui/dashboard/FilterSheet.d.ts.map +1 -1
  208. package/dist/ui/dashboard/FilterWiring.d.ts.map +1 -1
  209. package/dist/ui/dashboard/PanelHeader.d.ts +18 -0
  210. package/dist/ui/dashboard/PanelHeader.d.ts.map +1 -0
  211. package/dist/ui/dashboard/gridWidth.d.ts +6 -0
  212. package/dist/ui/dashboard/gridWidth.d.ts.map +1 -1
  213. package/dist/ui/embed/EmbeddedAnalysis.d.ts.map +1 -1
  214. package/dist/ui/embed/EmbeddedRecord.d.ts.map +1 -1
  215. package/dist/ui/filter/AppliedBar.d.ts.map +1 -1
  216. package/dist/ui/filter/ConditionPill.d.ts.map +1 -1
  217. package/dist/ui/filter/NestedPredicate.d.ts +23 -0
  218. package/dist/ui/filter/NestedPredicate.d.ts.map +1 -0
  219. package/dist/ui/filter/inputs/number.d.ts +1 -1
  220. package/dist/ui/filter/inputs/number.d.ts.map +1 -1
  221. package/dist/ui/filter/inputs/shared.d.ts +1 -1
  222. package/dist/ui/filter/inputs/shared.d.ts.map +1 -1
  223. package/dist/ui/index.d.ts +3 -2
  224. package/dist/ui/index.d.ts.map +1 -1
  225. package/dist/ui/kit/DragHandle.d.ts +7 -1
  226. package/dist/ui/kit/DragHandle.d.ts.map +1 -1
  227. package/dist/ui/kit/IconButton.d.ts +10 -1
  228. package/dist/ui/kit/IconButton.d.ts.map +1 -1
  229. package/dist/ui/kit/PendingDot.d.ts +2 -1
  230. package/dist/ui/kit/PendingDot.d.ts.map +1 -1
  231. package/dist/ui/kit/alerts.d.ts.map +1 -1
  232. package/dist/ui/kit/characterKeys.d.ts +10 -0
  233. package/dist/ui/kit/characterKeys.d.ts.map +1 -0
  234. package/dist/ui/kit/display.d.ts +0 -31
  235. package/dist/ui/kit/display.d.ts.map +1 -1
  236. package/dist/ui/kit/displayTime.d.ts +58 -0
  237. package/dist/ui/kit/displayTime.d.ts.map +1 -0
  238. package/dist/ui/kit/frames.d.ts +233 -0
  239. package/dist/ui/kit/frames.d.ts.map +1 -0
  240. package/dist/ui/kit/keptFocus.d.ts +35 -0
  241. package/dist/ui/kit/keptFocus.d.ts.map +1 -0
  242. package/dist/ui/kit/pills.d.ts +70 -0
  243. package/dist/ui/kit/pills.d.ts.map +1 -0
  244. package/dist/ui/kit/popupLayer.d.ts +160 -0
  245. package/dist/ui/kit/popupLayer.d.ts.map +1 -0
  246. package/dist/ui/kit/popups.d.ts +20 -3
  247. package/dist/ui/kit/popups.d.ts.map +1 -1
  248. package/dist/ui/kit/presets.d.ts +1 -5
  249. package/dist/ui/kit/presets.d.ts.map +1 -1
  250. package/dist/ui/kit/stale.d.ts +30 -0
  251. package/dist/ui/kit/stale.d.ts.map +1 -0
  252. package/dist/ui/kit/variants.d.ts +11 -313
  253. package/dist/ui/kit/variants.d.ts.map +1 -1
  254. package/dist/ui/manage/ViewManager.d.ts.map +1 -1
  255. package/dist/ui/manage/ViewManagerRow.d.ts.map +1 -1
  256. package/dist/ui/messages/actions.d.ts +1 -0
  257. package/dist/ui/messages/actions.d.ts.map +1 -1
  258. package/dist/ui/messages/analysis.d.ts +1 -438
  259. package/dist/ui/messages/analysis.d.ts.map +1 -1
  260. package/dist/ui/messages/chart.d.ts +257 -0
  261. package/dist/ui/messages/chart.d.ts.map +1 -0
  262. package/dist/ui/messages/chartIssues.d.ts +95 -0
  263. package/dist/ui/messages/chartIssues.d.ts.map +1 -0
  264. package/dist/ui/messages/chartReading.d.ts +112 -0
  265. package/dist/ui/messages/chartReading.d.ts.map +1 -0
  266. package/dist/ui/messages/definition.d.ts +2 -0
  267. package/dist/ui/messages/definition.d.ts.map +1 -1
  268. package/dist/ui/messages/en.d.ts +413 -409
  269. package/dist/ui/messages/en.d.ts.map +1 -1
  270. package/dist/ui/messages/save.d.ts +1 -0
  271. package/dist/ui/messages/save.d.ts.map +1 -1
  272. package/dist/ui/messages/view.d.ts +1 -1
  273. package/dist/ui/messages/view.d.ts.map +1 -1
  274. package/dist/ui/messages/zh-CN/actions.d.ts +33 -0
  275. package/dist/ui/messages/zh-CN/actions.d.ts.map +1 -0
  276. package/dist/ui/messages/zh-CN/analysis.d.ts +286 -0
  277. package/dist/ui/messages/zh-CN/analysis.d.ts.map +1 -0
  278. package/dist/ui/messages/zh-CN/building.d.ts +64 -0
  279. package/dist/ui/messages/zh-CN/building.d.ts.map +1 -0
  280. package/dist/ui/messages/zh-CN/bulk.d.ts +28 -0
  281. package/dist/ui/messages/zh-CN/bulk.d.ts.map +1 -0
  282. package/dist/ui/messages/zh-CN/capabilities.d.ts +42 -0
  283. package/dist/ui/messages/zh-CN/capabilities.d.ts.map +1 -0
  284. package/dist/ui/messages/zh-CN/chart.d.ts +256 -0
  285. package/dist/ui/messages/zh-CN/chart.d.ts.map +1 -0
  286. package/dist/ui/messages/zh-CN/chartIssues.d.ts +96 -0
  287. package/dist/ui/messages/zh-CN/chartIssues.d.ts.map +1 -0
  288. package/dist/ui/messages/zh-CN/chartReading.d.ts +112 -0
  289. package/dist/ui/messages/zh-CN/chartReading.d.ts.map +1 -0
  290. package/dist/ui/messages/zh-CN/clicks.d.ts +85 -0
  291. package/dist/ui/messages/zh-CN/clicks.d.ts.map +1 -0
  292. package/dist/ui/messages/zh-CN/config.d.ts +17 -0
  293. package/dist/ui/messages/zh-CN/config.d.ts.map +1 -0
  294. package/dist/ui/messages/zh-CN/dashboard.d.ts +316 -0
  295. package/dist/ui/messages/zh-CN/dashboard.d.ts.map +1 -0
  296. package/dist/ui/messages/zh-CN/datasets.d.ts +15 -0
  297. package/dist/ui/messages/zh-CN/datasets.d.ts.map +1 -0
  298. package/dist/ui/messages/zh-CN/definition.d.ts +78 -0
  299. package/dist/ui/messages/zh-CN/definition.d.ts.map +1 -0
  300. package/dist/ui/messages/zh-CN/embed.d.ts +13 -0
  301. package/dist/ui/messages/zh-CN/embed.d.ts.map +1 -0
  302. package/dist/ui/messages/zh-CN/export.d.ts +46 -0
  303. package/dist/ui/messages/zh-CN/export.d.ts.map +1 -0
  304. package/dist/ui/messages/zh-CN/filter.d.ts +269 -0
  305. package/dist/ui/messages/zh-CN/filter.d.ts.map +1 -0
  306. package/dist/ui/messages/zh-CN/filters.d.ts +80 -0
  307. package/dist/ui/messages/zh-CN/filters.d.ts.map +1 -0
  308. package/dist/ui/messages/zh-CN/header.d.ts +25 -0
  309. package/dist/ui/messages/zh-CN/header.d.ts.map +1 -0
  310. package/dist/ui/messages/zh-CN/manage.d.ts +46 -0
  311. package/dist/ui/messages/zh-CN/manage.d.ts.map +1 -0
  312. package/dist/ui/messages/zh-CN/record.d.ts +205 -0
  313. package/dist/ui/messages/zh-CN/record.d.ts.map +1 -0
  314. package/dist/ui/messages/zh-CN/refresh.d.ts +17 -0
  315. package/dist/ui/messages/zh-CN/refresh.d.ts.map +1 -0
  316. package/dist/ui/messages/zh-CN/render.d.ts +12 -0
  317. package/dist/ui/messages/zh-CN/render.d.ts.map +1 -0
  318. package/dist/ui/messages/zh-CN/reorder.d.ts +14 -0
  319. package/dist/ui/messages/zh-CN/reorder.d.ts.map +1 -0
  320. package/dist/ui/messages/zh-CN/save.d.ts +62 -0
  321. package/dist/ui/messages/zh-CN/save.d.ts.map +1 -0
  322. package/dist/ui/messages/zh-CN/scope.d.ts +27 -0
  323. package/dist/ui/messages/zh-CN/scope.d.ts.map +1 -0
  324. package/dist/ui/messages/zh-CN/status.d.ts +36 -0
  325. package/dist/ui/messages/zh-CN/status.d.ts.map +1 -0
  326. package/dist/ui/messages/zh-CN/view.d.ts +175 -0
  327. package/dist/ui/messages/zh-CN/view.d.ts.map +1 -0
  328. package/dist/ui/messages/zh-CN/workbench.d.ts +18 -0
  329. package/dist/ui/messages/zh-CN/workbench.d.ts.map +1 -0
  330. package/dist/ui/messages/zh-CN.d.ts +4 -0
  331. package/dist/ui/messages/zh-CN.d.ts.map +1 -1
  332. package/dist/ui/record/DetailStructure.d.ts.map +1 -1
  333. package/dist/ui/record/RecordCards.d.ts +3 -1
  334. package/dist/ui/record/RecordCards.d.ts.map +1 -1
  335. package/dist/ui/record/RecordDetail.d.ts.map +1 -1
  336. package/dist/ui/record/RecordKanban.d.ts +3 -1
  337. package/dist/ui/record/RecordKanban.d.ts.map +1 -1
  338. package/dist/ui/record/RecordTable.d.ts +6 -1
  339. package/dist/ui/record/RecordTable.d.ts.map +1 -1
  340. package/dist/ui/record/RowCheckbox.d.ts.map +1 -1
  341. package/dist/ui/record/SortableHeader.d.ts.map +1 -1
  342. package/dist/ui/record/cells.d.ts.map +1 -1
  343. package/dist/ui/record/exportOffer.d.ts.map +1 -1
  344. package/dist/ui/sort/SortSettings.d.ts.map +1 -1
  345. package/dist/ui/sort/SortSummary.d.ts +73 -0
  346. package/dist/ui/sort/SortSummary.d.ts.map +1 -0
  347. package/dist/ui/theme/entry.d.ts +223 -0
  348. package/dist/ui/theme/entry.d.ts.map +1 -0
  349. package/dist/ui/theme/pairs.d.ts +1 -12
  350. package/dist/ui/theme/pairs.d.ts.map +1 -1
  351. package/dist/ui/theme/tokens.d.ts +152 -215
  352. package/dist/ui/theme/tokens.d.ts.map +1 -1
  353. package/dist/ui/workbench/AnalysisParts.d.ts.map +1 -1
  354. package/dist/ui/workbench/OpenViewColumn.d.ts +28 -0
  355. package/dist/ui/workbench/OpenViewColumn.d.ts.map +1 -0
  356. package/dist/ui/workbench/OpeningSkeleton.d.ts.map +1 -1
  357. package/dist/ui/workbench/RecordParts.d.ts.map +1 -1
  358. package/dist/ui/workbench/SaveActions.d.ts.map +1 -1
  359. package/dist/ui/workbench/SearchBox.d.ts.map +1 -1
  360. package/dist/ui/workbench/Sidebar.d.ts.map +1 -1
  361. package/dist/ui/workbench/TitleBar.d.ts.map +1 -1
  362. package/dist/ui/workbench/ViewEngineProvider.d.ts +3 -1
  363. package/dist/ui/workbench/ViewEngineProvider.d.ts.map +1 -1
  364. package/dist/ui/workbench/ViewList.d.ts.map +1 -1
  365. package/dist/ui/workbench/WorkbenchShell.d.ts +6 -9
  366. package/dist/ui/workbench/WorkbenchShell.d.ts.map +1 -1
  367. package/dist/ui/workbench/useSidebarFold.d.ts +16 -27
  368. package/dist/ui/workbench/useSidebarFold.d.ts.map +1 -1
  369. package/dist/ui/workbench/useWorkbenchFolds.d.ts +1 -1
  370. package/dist/ui/workbench/useWorkbenchFolds.d.ts.map +1 -1
  371. package/dist/ui.js +13546 -13332
  372. package/dist/ui.js.map +1 -1
  373. package/dist/{viewRuntimeTypes-D08oR6Ke.js → viewEngine-DL-S0OAZ.js} +1962 -1662
  374. package/dist/viewEngine-DL-S0OAZ.js.map +1 -0
  375. package/package.json +18 -18
  376. package/dist/actions-ClYpI7gy.js.map +0 -1
  377. package/dist/react-Cqk337ck.js +0 -4202
  378. package/dist/react-Cqk337ck.js.map +0 -1
  379. package/dist/themes/azure.css +0 -126
  380. package/dist/themes/porcelain.css +0 -136
  381. package/dist/viewRuntimeTypes-D08oR6Ke.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"buckets.d.ts","sourceRoot":"","sources":["../../src/analysis/buckets.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AASjE,sEAAsE;AACtE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAQD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,uBAAuB,EAC7B,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,GACf,WAAW,CAYb;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,uBAAuB,EAC7B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,GACf,MAAM,CAoCR;AAED,2DAA2D;AAC3D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAyBD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEhE;AA4BD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,CAYlE;AAED,kDAAkD;AAClD,wBAAgB,QAAQ,CAAC,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SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG9D"}
@@ -0,0 +1,192 @@
1
+ import { CurrencyReading, FieldNumeric, AggregationDatePartName, AggregationDateUnitName, AnalysisGroup, AnalysisMetric, AnalysisViewConfig, DataViewDefinition, FieldDefinition, FieldOption, NumberFormat, RecordData, EpochTimeUnit } from '../model/index.js';
2
+ import { MetricFunction } from './metricFormat.js';
3
+ import { MetricCondition } from './metricCondition.js';
4
+ /** A column of the result table; groups come first, then metrics. */
5
+ export interface AnalysisColumnView {
6
+ alias: string;
7
+ /**
8
+ * The field this column is computed from, as the definition names it. For a
9
+ * metric it is half a header: the other half is `fn`, and only a catalogue
10
+ * can put the two in the reader's own order.
11
+ */
12
+ label: string;
13
+ role: 'group' | 'metric';
14
+ /**
15
+ * For a metric: which summary it is, so a header can read 「金额的平均」
16
+ * rather than the alias `amount_1`. Two metrics over one field differ here
17
+ * and nowhere else, which is exactly why the header cannot be the label.
18
+ */
19
+ fn?: MetricFunction;
20
+ /**
21
+ * The analyst named this column (`AnalysisNamed.label`): `label` is the
22
+ * whole title, and `fn` stays only for how the numbers read.
23
+ */
24
+ named?: true;
25
+ /**
26
+ * For a metric with a condition of its own: the records it counts are
27
+ * only some of them, and the header says so (D20 显示名) — 「金额的总和 ·
28
+ * 已发运」 — unless the analyst named the column, and its description
29
+ * says the whole condition either way.
30
+ */
31
+ condition?: MetricCondition;
32
+ width?: number;
33
+ /**
34
+ * How this column's numbers print. A group shows values of its field, so it
35
+ * takes the field's own format; a metric takes `metricFormat`, because what
36
+ * an aggregate is decides how it reads, not what it was computed from.
37
+ */
38
+ numberFormat?: NumberFormat;
39
+ /**
40
+ * What the number is by the source's semantics (`FieldNumeric`), where
41
+ * that — and not the author's `numberFormat` — decides how it reads: a
42
+ * file then holds the number itself, and money its currency beside it.
43
+ */
44
+ numeric?: FieldNumeric;
45
+ /**
46
+ * For a group, or a metric whose value is one of the field's
47
+ * (`readsAsItsField` — its earliest, its latest, a percentile, any one):
48
+ * the field's kind, renderer key and choices, so its values show as the
49
+ * field's do, a date as a date. Other metrics are numbers, whatever they
50
+ * were computed from.
51
+ */
52
+ kind?: string;
53
+ cell?: string;
54
+ options?: readonly FieldOption[];
55
+ /**
56
+ * For a `reference` field: the remote its ids are read as names from,
57
+ * so a cell reads `ViewRuntime.labels` rather than the id.
58
+ */
59
+ remote?: string;
60
+ /** A field kept in epoch seconds; milliseconds when unsaid. */
61
+ timeUnit?: EpochTimeUnit;
62
+ /** For a date histogram group: the width of the buckets its keys start. */
63
+ dateUnit?: AggregationDateUnitName;
64
+ /** For a date histogram group: the zone its buckets were cut in. */
65
+ timeZone?: string;
66
+ /**
67
+ * For a date histogram group: the key of its bucket still under way when
68
+ * the question was asked (`ShapeContext.now`) — this month, while it runs.
69
+ * A table writes it 「2026年9月(进行中)」, as a chart marks the end of its
70
+ * axis: half a month read as a month is a drop that never happened.
71
+ */
72
+ ongoing?: unknown;
73
+ /**
74
+ * For a calendar part group: which part its keys are (the ISO weekday 1 to
75
+ * 7, the hour 0 to 23…), so a key reads 「周一」 or 「20时」 rather than a
76
+ * bare integer, and an axis runs through the part's whole domain
77
+ * (`DATE_PART_DOMAINS`).
78
+ */
79
+ datePart?: AggregationDatePartName;
80
+ /**
81
+ * For a value group that keeps a bucket of the records with no value: the
82
+ * key that bucket comes back under (`AnalysisGroup.missingKey`). The
83
+ * engine's sentinel (`DEFAULT_MISSING_KEY`) is a key and not a label, so
84
+ * the interface names that bucket in its own words; a key the analyst
85
+ * wrote is their name for it.
86
+ */
87
+ missingKey?: string;
88
+ /**
89
+ * For a number histogram group: the width of the bands its keys start, so
90
+ * a key reads as the band 「¥0~500」 rather than its lower bound alone.
91
+ */
92
+ interval?: number;
93
+ /**
94
+ * For a metric: what its number is a quantity of (`metricMeasure`) — the
95
+ * one token a combo chart puts two metrics on one axis by.
96
+ */
97
+ measure?: string;
98
+ /**
99
+ * For a metric: whether the source estimates it rather than computes it
100
+ * (`AnalysisCapability.approximate`); an estimated column wears 「≈」 and
101
+ * says why. Absent where the capability says nothing, and read then as
102
+ * `DEFAULT_APPROXIMATE_METRICS` reads it (`isApproximate`).
103
+ */
104
+ approximate?: boolean;
105
+ /**
106
+ * For a metric of money in a currency each record holds: how each row
107
+ * tells its currency (`rowCurrency`). A column whose rows are all in one
108
+ * currency already carries it in `numberFormat`.
109
+ */
110
+ currency?: ColumnCurrency;
111
+ /**
112
+ * `false` for a metric the rows cannot be ordered by
113
+ * (`AnalysisCapability.metricSort`); absent otherwise.
114
+ */
115
+ sortable?: false;
116
+ }
117
+ /**
118
+ * How a metric column of money in a currency each record holds is read, row
119
+ * by row: the companions telling each row's currency (`CurrencyCompanion`)
120
+ * — its own, or a derived metric's operands' — and whether its number is
121
+ * written in that currency. A ratio of two amounts (a derived metric with
122
+ * no currency format) is in none, yet still no number where its operands
123
+ * mix currencies.
124
+ */
125
+ export interface ColumnCurrency {
126
+ /** Per companion, the aliases of its `ANY` and its `DISTINCT_COUNT`. */
127
+ companions: readonly {
128
+ code: string;
129
+ count: string;
130
+ }[];
131
+ writes: boolean;
132
+ }
133
+ /**
134
+ * What one row of a result says about a column's currency: the one its
135
+ * records are in, several, or nothing known (`companionsReading`).
136
+ */
137
+ export declare function rowCurrency(row: RecordData | undefined, column: Pick<AnalysisColumnView, 'currency'>): CurrencyReading | undefined;
138
+ /**
139
+ * The metric columns of a result that are moments — the earliest, the latest
140
+ * of a date — by alias: those the projection gave a date's reading. It is
141
+ * `momentMetrics` read off the result rather than the definition, so a
142
+ * reader holding only the rows (the result block, the options panel) says
143
+ * the same thing the kernels said.
144
+ */
145
+ export declare function momentColumns(columns: readonly AnalysisColumnView[]): Set<string>;
146
+ /**
147
+ * What each metric column's number is a quantity of (`metricMeasure`), by
148
+ * alias: `metricMeasures` read off the result rather than the definition,
149
+ * from the summary a column says it is and the format it prints in — so the
150
+ * options panel and the redraw put a series on the axis the kernel would.
151
+ */
152
+ export declare function measureColumns(columns: readonly AnalysisColumnView[]): Map<string, string>;
153
+ /** How the values of a field show, for a column that holds them. */
154
+ export declare function valueOf(field: FieldDefinition): {
155
+ timeUnit?: "milliseconds" | "seconds" | undefined;
156
+ remote?: string;
157
+ options?: FieldOption[] | undefined;
158
+ kind: import('../index.js').FieldKindId;
159
+ cell: "string" | "number" | "boolean" | "deletion" | "search" | "date" | "datetime" | "enum" | "reference" | "array" | "elementMatch" | "documentId" | "aggregateId" | "tenantId" | "ownerId" | "spaceId" | (string & {}) | "status" | "tags" | "link" | "text" | "copyable";
160
+ };
161
+ /**
162
+ * A histogram's keys are bucket starts. A number histogram's interval says
163
+ * how wide each band is. A date histogram's unit says how wide, and the
164
+ * zone, when the group named one, the clock they were cut by. Without one the
165
+ * engine's zone cut them (see `compileAnalysis`), which is the zone they are
166
+ * shown in anyway.
167
+ */
168
+ export declare function bucketOf(group: AnalysisGroup | undefined): Pick<AnalysisColumnView, 'dateUnit' | 'timeZone' | 'interval' | 'missingKey' | 'datePart'>;
169
+ /**
170
+ * The source's semantics a metric column reads by: its field's, where the
171
+ * author gave the field no format, for a metric in the field's unit — a
172
+ * sum of money is money. A count is in none.
173
+ */
174
+ export declare function numericOf(metric: AnalysisMetric, field: FieldDefinition): Pick<AnalysisColumnView, 'numeric'>;
175
+ /**
176
+ * Each metric of money in a currency each record holds, by alias, with the
177
+ * companions telling its currency: its own, or for a derived metric, those
178
+ * of the metrics it is computed from (`derivedOperands`). A derived metric
179
+ * is written in that currency only where its format says it is money.
180
+ */
181
+ export declare function metricCurrencies(definition: DataViewDefinition, config: AnalysisViewConfig): Map<string, ColumnCurrency>;
182
+ /**
183
+ * A formula or a derived metric said as its author would — 「(金额 − 成本)」,
184
+ * 「金额总和 ÷ 客户数」 — which is the only name either has: no field stands
185
+ * behind a formula, and a derived metric reads other metrics by alias.
186
+ *
187
+ * A formula is bracketed, because its name is the `{field}` a summary is
188
+ * composed around: 「金额 − 成本的总和」 reads as 金额 minus the sum of
189
+ * 成本 (2026-09-23 audit), 「(金额 − 成本)的总和」 as what was computed.
190
+ */
191
+ export declare function formulaLabel(metric: AnalysisMetric, byName: ReadonlyMap<string, FieldDefinition>, byAlias: ReadonlyMap<string, AnalysisMetric>, conditionOf: (metric: AnalysisMetric) => MetricCondition | undefined): string | undefined;
192
+ //# sourceMappingURL=columns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../src/analysis/columns.ts"],"names":[],"mappings":"AAaA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,aAAa,EAGnB,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EAIL,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAS5D,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB;;;;OAIG;IACH,EAAE,CAAC,EAAE,cAAc,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;;;;OAKG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,C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B,EAAE,GACrC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAUrB;AAED,oEAAoE;AACpE,wBAAgB,OAAO,CAAC,KAAK,EAAE,eAAe;;;;;;EAS7C;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,aAAa,GAAG,SAAS,GAC/B,IAAI,CACL,kBAAkB,EAClB,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,CACjE,CAcA;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CACvB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,eAAe,GACrB,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAUrC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,kBAAkB,EAC9B,MAAM,EAAE,kBAAkB,GACzB,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAuB7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,eAAe,CAAC,EAC5C,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,EAC5C,WAAW,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,eAAe,GAAG,SAAS,GACnE,MAAM,GAAG,SAAS,CAuBpB"}
@@ -31,6 +31,7 @@ export * from './metricCondition.js';
31
31
  export { columnsAfterMove, moveMetric, type MetricMove, type MetricMoveStop, } from './metricOrder.js';
32
32
  export { formulaFormat, metricFieldOf, metricFormat, metricFunctionOf, metricMeasure, metricMeasures, momentMetrics, readsAsItsField, type MetricFunction, } from './metricFormat.js';
33
33
  export * from './project.js';
34
+ export { measureColumns, momentColumns, rowCurrency, type AnalysisColumnView, type ColumnCurrency, } from './columns.js';
34
35
  export * from './validate.js';
35
36
  export { isChartColor, validateChart } from './validateChart.js';
36
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,KAAK,UAAU,EACf,KAAK,cAAc,GACpB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,aAAa,EACb,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAC3B,cAAc,cAAc,CAAC;AAG7B,OAAO,EACL,cAAc,EACd,aAAa,EACb,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,142 +1,7 @@
1
- import { CurrencyReading, FieldNumeric, AggregationDatePartName, AggregationDateUnitName, AnalysisViewConfig, DataViewDefinition, FieldOption, NumberFormat, RecordData, EpochTimeUnit, RuntimeLimits } from '../model/index.js';
1
+ import { AnalysisViewConfig, DataViewDefinition, RecordData, RuntimeLimits } from '../model/index.js';
2
2
  import { FieldKindRegistry } from '../filter/index.js';
3
3
  import { ChartData, ShapeContext } from './chart.js';
4
- import { MetricFunction } from './metricFormat.js';
5
- import { MetricCondition } from './metricCondition.js';
6
- /** A column of the result table; groups come first, then metrics. */
7
- export interface AnalysisColumnView {
8
- alias: string;
9
- /**
10
- * The field this column is computed from, as the definition names it. For a
11
- * metric it is half a header: the other half is `fn`, and only a catalogue
12
- * can put the two in the reader's own order.
13
- */
14
- label: string;
15
- role: 'group' | 'metric';
16
- /**
17
- * For a metric: which summary it is, so a header can read 「金额的平均」
18
- * rather than the alias `amount_1`. Two metrics over one field differ here
19
- * and nowhere else, which is exactly why the header cannot be the label.
20
- */
21
- fn?: MetricFunction;
22
- /**
23
- * The analyst named this column (`AnalysisNamed.label`): `label` is the
24
- * whole title, and `fn` stays only for how the numbers read.
25
- */
26
- named?: true;
27
- /**
28
- * For a metric with a condition of its own: the records it counts are
29
- * only some of them, and the header says so (D20 显示名) — 「金额的总和 ·
30
- * 已发运」 — unless the analyst named the column, and its description
31
- * says the whole condition either way.
32
- */
33
- condition?: MetricCondition;
34
- width?: number;
35
- /**
36
- * How this column's numbers print. A group shows values of its field, so it
37
- * takes the field's own format; a metric takes `metricFormat`, because what
38
- * an aggregate is decides how it reads, not what it was computed from.
39
- */
40
- numberFormat?: NumberFormat;
41
- /**
42
- * What the number is by the source's semantics (`FieldNumeric`), where
43
- * that — and not the author's `numberFormat` — decides how it reads: a
44
- * file then holds the number itself, and money its currency beside it.
45
- */
46
- numeric?: FieldNumeric;
47
- /**
48
- * For a group, or a metric whose value is one of the field's
49
- * (`readsAsItsField` — its earliest, its latest, a percentile, any one):
50
- * the field's kind, renderer key and choices, so its values show as the
51
- * field's do, a date as a date. Other metrics are numbers, whatever they
52
- * were computed from.
53
- */
54
- kind?: string;
55
- cell?: string;
56
- options?: readonly FieldOption[];
57
- /**
58
- * For a `reference` field: the remote its ids are read as names from,
59
- * so a cell reads `ViewRuntime.labels` rather than the id.
60
- */
61
- remote?: string;
62
- /** A field kept in epoch seconds; milliseconds when unsaid. */
63
- timeUnit?: EpochTimeUnit;
64
- /** For a date histogram group: the width of the buckets its keys start. */
65
- dateUnit?: AggregationDateUnitName;
66
- /** For a date histogram group: the zone its buckets were cut in. */
67
- timeZone?: string;
68
- /**
69
- * For a date histogram group: the key of its bucket still under way when
70
- * the question was asked (`ShapeContext.now`) — this month, while it runs.
71
- * A table writes it 「2026年9月(进行中)」, as a chart marks the end of its
72
- * axis: half a month read as a month is a drop that never happened.
73
- */
74
- ongoing?: unknown;
75
- /**
76
- * For a calendar part group: which part its keys are (the ISO weekday 1 to
77
- * 7, the hour 0 to 23…), so a key reads 「周一」 or 「20时」 rather than a
78
- * bare integer, and an axis runs through the part's whole domain
79
- * (`DATE_PART_DOMAINS`).
80
- */
81
- datePart?: AggregationDatePartName;
82
- /**
83
- * For a value group that keeps a bucket of the records with no value: the
84
- * key that bucket comes back under (`AnalysisGroup.missingKey`). The
85
- * engine's sentinel (`DEFAULT_MISSING_KEY`) is a key and not a label, so
86
- * the interface names that bucket in its own words; a key the analyst
87
- * wrote is their name for it.
88
- */
89
- missingKey?: string;
90
- /**
91
- * For a number histogram group: the width of the bands its keys start, so
92
- * a key reads as the band 「¥0~500」 rather than its lower bound alone.
93
- */
94
- interval?: number;
95
- /**
96
- * For a metric: what its number is a quantity of (`metricMeasure`) — the
97
- * one token a combo chart puts two metrics on one axis by.
98
- */
99
- measure?: string;
100
- /**
101
- * For a metric: whether the source estimates it rather than computes it
102
- * (`AnalysisCapability.approximate`); an estimated column wears 「≈」 and
103
- * says why. Absent where the capability says nothing, and read then as
104
- * `DEFAULT_APPROXIMATE_METRICS` reads it (`isApproximate`).
105
- */
106
- approximate?: boolean;
107
- /**
108
- * For a metric of money in a currency each record holds: how each row
109
- * tells its currency (`rowCurrency`). A column whose rows are all in one
110
- * currency already carries it in `numberFormat`.
111
- */
112
- currency?: ColumnCurrency;
113
- /**
114
- * `false` for a metric the rows cannot be ordered by
115
- * (`AnalysisCapability.metricSort`); absent otherwise.
116
- */
117
- sortable?: false;
118
- }
119
- /**
120
- * How a metric column of money in a currency each record holds is read, row
121
- * by row: the companions telling each row's currency (`CurrencyCompanion`)
122
- * — its own, or a derived metric's operands' — and whether its number is
123
- * written in that currency. A ratio of two amounts (a derived metric with
124
- * no currency format) is in none, yet still no number where its operands
125
- * mix currencies.
126
- */
127
- export interface ColumnCurrency {
128
- /** Per companion, the aliases of its `ANY` and its `DISTINCT_COUNT`. */
129
- companions: readonly {
130
- code: string;
131
- count: string;
132
- }[];
133
- writes: boolean;
134
- }
135
- /**
136
- * What one row of a result says about a column's currency: the one its
137
- * records are in, several, or nothing known (`companionsReading`).
138
- */
139
- export declare function rowCurrency(row: RecordData | undefined, column: Pick<AnalysisColumnView, 'currency'>): CurrencyReading | undefined;
4
+ import { AnalysisColumnView } from './columns.js';
140
5
  export interface AnalysisProjection {
141
6
  /**
142
7
  * The table's columns: every alias the result holds, those `table.columns`
@@ -219,21 +84,6 @@ export interface AnalysisProjection {
219
84
  /** Shaped for the configured chart family; absent when it cannot be drawn. */
220
85
  chart?: ChartData;
221
86
  }
222
- /**
223
- * The metric columns of a result that are moments — the earliest, the latest
224
- * of a date — by alias: those the projection gave a date's reading. It is
225
- * `momentMetrics` read off the result rather than the definition, so a
226
- * reader holding only the rows (the result block, the options panel) says
227
- * the same thing the kernels said.
228
- */
229
- export declare function momentColumns(columns: readonly AnalysisColumnView[]): Set<string>;
230
- /**
231
- * What each metric column's number is a quantity of (`metricMeasure`), by
232
- * alias: `metricMeasures` read off the result rather than the definition,
233
- * from the summary a column says it is and the format it prints in — so the
234
- * options panel and the redraw put a series on the axis the kernel would.
235
- */
236
- export declare function measureColumns(columns: readonly AnalysisColumnView[]): Map<string, string>;
237
87
  /**
238
88
  * Turns aggregation rows into table columns plus whatever the chart family
239
89
  * needs. A DERIVED metric is an ordinary column: the backend computed it.
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/analysis/project.ts"],"names":[],"mappings":"AAaA,OAAO,EAML,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAG5B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAEvB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,aAAa,EAGnB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAS5D,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG3E,OAAO,EAQL,KAAK,cAAc,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AkB,GAAG,SAAS,CAkFhC;AAmRD,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,UAAU,EAAE,kBAAkB,GAAG,OAAO,CAcrE"}
1
+ {"version":3,"file":"analysis.d.ts","sourceRoot":"","sources":["../../src/capabilities/analysis.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAML,KAAK,kBAAkB,EAGvB,KAAK,KAAK,EAIX,MAAM,mBAAmB,CAAC;AAM3B;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,UAAU,EAAE,kBAAkB,EAC9B,UAAU,EAAE,oBAAoB,EAChC,QAAQ,EAAE,KAAK,EAAE,GAChB,kBAAkB,GAAG,SAAS,CAmFhC;AA2RD,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,UAAU,EAAE,kBAAkB,GAAG,OAAO,CAcrE"}
@@ -64,6 +64,19 @@ export declare class DescriptorCache {
64
64
  /** Every source whose descriptor is older than the maximum age, checked again. */
65
65
  revalidateStale(): void;
66
66
  private stale;
67
+ /**
68
+ * One check in flight per source. The check is registered before it can
69
+ * settle and let go only once it has: `finally` runs a turn after the
70
+ * read settles, never before `inflight` is set. A source whose `describe`
71
+ * throws before it hands back a promise settles the read at once, and
72
+ * with the clean-up inside the read that ran first and left the settled
73
+ * check registered for good, so no later check ever asked again (#5563).
74
+ */
67
75
  private check;
76
+ /**
77
+ * Asks the source once, and takes what it answers. A failure — a
78
+ * rejection, or a throw before any promise — keeps what is held.
79
+ */
80
+ private read;
68
81
  }
69
82
  //# sourceMappingURL=cache.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/capabilities/cache.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,Q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Q,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAExE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,QAAgB,CAAC;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,QAAY,CAAC;AAE9C,MAAM,WAAW,sBAAsB;IACrC,qEAAqE;IACrE,GAAG,IAAI,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC9D,6EAA6E;IAC7E,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAUD;;;;;;;;;;GAUG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;IACjD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;gBAExC,OAAO,EAAE,sBAAsB;IAI3C,2EAA2E;IAC3E,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,GAAG,IAAI;IAIjD;;;;;OAKG;IACG,IAAI,CACR,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,QAAQ,GACjB,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAWvC;;;;OAIG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAQrD,kFAAkF;IAClF,eAAe,IAAI,IAAI;IAIvB,OAAO,CAAC,KAAK;IAMb;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAUb;;;OAGG;YACW,IAAI;CAYnB"}
@@ -1,8 +1,8 @@
1
- import { QueryModelDescriptor, QuerySemanticType } from '@ahoo-wang/wow-client/dsl';
2
- import { FieldDefinition, FieldNumeric, Issue, RecordPagingMode } from '../model/index.js';
1
+ import { QueryModelDescriptor } from '@ahoo-wang/wow-client/dsl';
2
+ import { FieldDefinition, Issue, RecordPagingMode } from '../model/index.js';
3
3
  import { FieldKindRegistry } from '../filter/index.js';
4
4
  /** What narrowing the fields reads, and where it puts what it finds. */
5
- interface FieldContext {
5
+ export interface FieldContext {
6
6
  descriptor: QueryModelDescriptor;
7
7
  kinds: FieldKindRegistry;
8
8
  /** The paging the definition's record view declares, which picks the sort. */
@@ -32,20 +32,6 @@ interface FieldContext {
32
32
  * descriptor, so a field the descriptor does not list still shows.
33
33
  */
34
34
  export declare function narrowFields(fields: readonly FieldDefinition[], context: FieldContext): FieldDefinition[];
35
- /**
36
- * The descriptor's semantic as the mismatch names it — every kind of it,
37
- * so a time field the model keeps as money says `money CNY`, never `date`.
38
- */
39
- export declare function semanticText(semantic: QuerySemanticType): string;
40
- /**
41
- * A numeric semantic as the definition keeps it (`FieldNumeric`), or
42
- * `undefined` for a temporal one, and for one whose scale or currency the
43
- * engine could not write — a descriptor is data from another service, so
44
- * it is read rather than trusted, and a number left plain is better than a
45
- * format Intl refuses.
46
- */
47
- export declare function numericOf(semantic: QuerySemanticType | undefined): FieldNumeric | undefined;
48
35
  /** A capability the deployment lacks: said, never blocking. */
49
36
  export declare function warn(found: Issue): Issue;
50
- export {};
51
37
  //# sourceMappingURL=fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../src/capabilities/fields.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAkBL,KAAK,eAAe,EACpB,KAAK,YAAY,EAGjB,KAAK,KAAK,EAEV,KAAK,gBAAgB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,wEAAwE;AACxE,UAAU,YAAY;IACpB,UAAU,EAAE,oBAAoB,C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AAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC;;;OAGG;IACH,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC;;;;;OAKG;IACH,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,QAAQ,EAAE,KAAK,EAAE,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,SAAS,eAAe,EAAE,EAClC,OAAO,EAAE,YAAY,GACpB,eAAe,EAAE,CAInB;AAqbD,+DAA+D;AAC/D,wBAAgB,IAAI,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAExC"}
@@ -0,0 +1,24 @@
1
+ import { QuerySemanticType } from '@ahoo-wang/wow-client/dsl';
2
+ import { FieldDefinition, FieldNumeric, IssuePath } from '../model/index.js';
3
+ import { FieldContext } from './fields.js';
4
+ /**
5
+ * A time condition is written in the unit the definition declares, so a
6
+ * descriptor that keeps the time another way means every date condition
7
+ * would be sent wrong. That is the definition's mistake, not a capability
8
+ * the deployment lacks, so it is an error.
9
+ */
10
+ export declare function checkTemporal(field: FieldDefinition, path: string, semantic: QuerySemanticType | undefined, at: IssuePath, context: FieldContext): void;
11
+ /**
12
+ * The descriptor's semantic as the mismatch names it — every kind of it,
13
+ * so a time field the model keeps as money says `money CNY`, never `date`.
14
+ */
15
+ export declare function semanticText(semantic: QuerySemanticType): string;
16
+ /**
17
+ * A numeric semantic as the definition keeps it (`FieldNumeric`), or
18
+ * `undefined` for a temporal one, and for one whose scale or currency the
19
+ * engine could not write — a descriptor is data from another service, so
20
+ * it is read rather than trusted, and a number left plain is better than a
21
+ * format Intl refuses.
22
+ */
23
+ export declare function numericOf(semantic: QuerySemanticType | undefined): FieldNumeric | undefined;
24
+ //# sourceMappingURL=semantic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semantic.d.ts","sourceRoot":"","sources":["../../src/capabilities/semantic.ts"],"names":[],"mappings":"AAaA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAQL,KAAK,eAAe,EACpB,KAAK,YAAY,EAEjB,KAAK,SAAS,EACf,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,iBAAiB,GAAG,SAAS,EACvC,EAAE,EAAE,SAAS,EACb,OAAO,EAAE,YAAY,GACpB,IAAI,CAWN;AAyBD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CAiBhE;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,iBAAiB,GAAG,SAAS,GACtC,YAAY,GAAG,SAAS,CAoB1B"}
@@ -15,6 +15,7 @@ export * from './edit.js';
15
15
  export * from './filterEdit.js';
16
16
  export * from './filters.js';
17
17
  export * from './layout.js';
18
+ export * from './reorder.js';
18
19
  export * from './merge.js';
19
20
  export * from './panels.js';
20
21
  export * from './tabs.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard/index.ts"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AACH,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard/index.ts"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AACH,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
@@ -104,6 +104,12 @@ export declare function freeSpot(panels: readonly PanelLayout[], size: {
104
104
  * had, as every other panel does.
105
105
  */
106
106
  export declare function placePanelIn(config: DashboardViewConfig, id: string, layout: PanelLayout, columns?: number, grown?: ReadonlyMap<string, number>): DashboardViewConfig;
107
+ /**
108
+ * The boxes of the panels on the tab of the panel `id`, or `null` when the
109
+ * config holds no such panel: only its own tab moves with it, since another
110
+ * tab is another grid.
111
+ */
112
+ export declare function tabBoxes(config: DashboardViewConfig, id: string, columns: number): PlacedPanel[] | null;
107
113
  /**
108
114
  * A config with these boxes written into the panels they name, or the same
109
115
  * config when none of them moves. A panel no box names, or whose stored
@@ -159,44 +165,6 @@ export declare function stackedLayout(panels: readonly PlacedPanel[], paired?: (
159
165
  * and nothing hands it to `place`.
160
166
  */
161
167
  export declare function grownLayout(panels: readonly PlacedPanel[], heights: ReadonlyMap<string, number>): PlacedPanel[];
162
- /** One step along the one-column reading: before the panel read before it, or after the one read after it. */
163
- export type OrderStep = 'up' | 'down';
164
- /**
165
- * The panels after one of them trades places with its neighbour in reading
166
- * order — the one-column reading's 「上移」/「下移」 written back
167
- * onto the grid — or `null` when there is no neighbour that way, or no such
168
- * panel.
169
- *
170
- * The column is a reading of the layout, so a move in it has to come out as
171
- * a layout that reads that way: the panel one place further along, and as
172
- * near as can be every other panel where it was. The candidates are the two
173
- * at each other's corner (two panels of one size side by side swap and
174
- * nothing else moves), then every place either could be put by hand
175
- * (`placePanel`) — moving one up past the other is moving the other down
176
- * past it. Each is compacted, as every placement by hand is, so what comes
177
- * back is at rest; and compacting can carry a third panel into the room one
178
- * of the two left, which on a board whose columns do not line up puts it on
179
- * the other side of them. So among the candidates that land the panel where
180
- * it was asked to go, the one wins that reads least out of the order asked
181
- * for (pairs of panels the other way round), then moves fewest other panels,
182
- * then changes fewest rows, then moves them least far — on a board of plain
183
- * rows that is the order asked for exactly. Where no candidate lands it
184
- * there at all (a board whose rows interlock), the panels are stacked down
185
- * the first column in the order asked for: the one layout that always reads
186
- * right, at the cost of the board's columns.
187
- */
188
- export declare function reorderPanel(panels: readonly PlacedPanel[], id: string, step: OrderStep, columns?: number): PlacedPanel[] | null;
189
- /**
190
- * A config with one panel moved to place `to` (from 0) along the reading
191
- * order of its tab, or the same config when it is already there or `to` is
192
- * no place on the tab. The one-column reading carries a panel by a handle
193
- * (D22 J): a drop names any place, an arrow key or the handle's menu one
194
- * place along or either end. It gets there one place at a time
195
- * (`reorderPanel`), each step the layout that reads that way and disturbs
196
- * the rest least, so a move of several places is the steps it passes
197
- * through — never a jump the grid could not have taken one place at a
198
- * time. Read as untrusted like `placePanelIn`: an entry that is no panel,
199
- * or whose layout admission would refuse, takes no part.
200
- */
201
- export declare function reorderPanelIn(config: DashboardViewConfig, id: string, to: number, columns?: number): DashboardViewConfig;
168
+ /** Whether two layouts are the same four numbers. */
169
+ export declare function sameLayout(a: PanelLayout, b: PanelLayout): boolean;
202
170
  //# sourceMappingURL=layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/dashboard/layout.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;GAgBG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