viewkitjs 0.0.0-stage → 0.19.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 (1404) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/LICENSE.md +7 -0
  3. package/README.md +36 -2
  4. package/fields/CHANGELOG.md +1299 -0
  5. package/fields/NOTICE.md +12 -0
  6. package/fields/README.md +134 -0
  7. package/fields/dist/accept.d.ts +39 -0
  8. package/fields/dist/accept.js +309 -0
  9. package/fields/dist/actor.d.ts +16 -0
  10. package/fields/dist/actor.js +44 -0
  11. package/fields/dist/bands.d.ts +5 -0
  12. package/fields/dist/bands.js +12 -0
  13. package/fields/dist/close.d.ts +19 -0
  14. package/fields/dist/close.js +1 -0
  15. package/fields/dist/codecs.d.ts +32 -0
  16. package/fields/dist/codecs.js +119 -0
  17. package/fields/dist/conventions.d.ts +61 -0
  18. package/fields/dist/conventions.js +97 -0
  19. package/fields/dist/countries.d.ts +11 -0
  20. package/fields/dist/countries.js +98 -0
  21. package/fields/dist/creatable.d.ts +85 -0
  22. package/fields/dist/creatable.js +188 -0
  23. package/fields/dist/date-codec.d.ts +17 -0
  24. package/fields/dist/date-codec.js +41 -0
  25. package/fields/dist/definitions.d.ts +2 -0
  26. package/fields/dist/definitions.js +2 -0
  27. package/fields/dist/derived.d.ts +84 -0
  28. package/fields/dist/derived.js +126 -0
  29. package/fields/dist/design/category-colors.d.ts +17 -0
  30. package/fields/dist/design/category-colors.js +41 -0
  31. package/fields/dist/design/stage-marks.d.ts +26 -0
  32. package/fields/dist/design/stage-marks.js +1 -0
  33. package/fields/dist/design/status-slots.d.ts +34 -0
  34. package/fields/dist/design/status-slots.js +72 -0
  35. package/fields/dist/domain.d.ts +6 -0
  36. package/fields/dist/domain.js +34 -0
  37. package/fields/dist/entities.d.ts +67 -0
  38. package/fields/dist/entities.js +528 -0
  39. package/fields/dist/equality.d.ts +41 -0
  40. package/fields/dist/equality.js +114 -0
  41. package/fields/dist/errors.d.ts +3 -0
  42. package/fields/dist/errors.js +6 -0
  43. package/fields/dist/format/time.d.ts +25 -0
  44. package/fields/dist/format/time.js +77 -0
  45. package/fields/dist/formula.d.ts +54 -0
  46. package/fields/dist/formula.js +510 -0
  47. package/fields/dist/index.d.ts +35 -0
  48. package/fields/dist/index.js +32 -0
  49. package/fields/dist/kit.d.ts +23 -0
  50. package/fields/dist/kit.js +25 -0
  51. package/fields/dist/labels.d.ts +3 -0
  52. package/fields/dist/labels.js +5 -0
  53. package/fields/dist/link.d.ts +33 -0
  54. package/fields/dist/link.js +58 -0
  55. package/fields/dist/location.d.ts +26 -0
  56. package/fields/dist/location.js +92 -0
  57. package/fields/dist/markdown.d.ts +7 -0
  58. package/fields/dist/markdown.js +64 -0
  59. package/fields/dist/messages.d.ts +374 -0
  60. package/fields/dist/messages.js +332 -0
  61. package/fields/dist/name.d.ts +23 -0
  62. package/fields/dist/name.js +53 -0
  63. package/fields/dist/normalize.d.ts +6 -0
  64. package/fields/dist/normalize.js +17 -0
  65. package/fields/dist/optimistic.d.ts +37 -0
  66. package/fields/dist/optimistic.js +56 -0
  67. package/fields/dist/options.d.ts +26 -0
  68. package/fields/dist/options.js +31 -0
  69. package/fields/dist/parse-number.d.ts +55 -0
  70. package/fields/dist/parse-number.js +142 -0
  71. package/fields/dist/phone.d.ts +47 -0
  72. package/fields/dist/phone.js +121 -0
  73. package/fields/dist/places/format.d.ts +29 -0
  74. package/fields/dist/places/format.js +97 -0
  75. package/fields/dist/places/formats.d.ts +25 -0
  76. package/fields/dist/places/formats.js +260 -0
  77. package/fields/dist/places/index.d.ts +13 -0
  78. package/fields/dist/places/index.js +21 -0
  79. package/fields/dist/places/load-regions.d.ts +7 -0
  80. package/fields/dist/places/load-regions.js +65 -0
  81. package/fields/dist/places/regions/AD.d.ts +4 -0
  82. package/fields/dist/places/regions/AD.js +11 -0
  83. package/fields/dist/places/regions/AE.d.ts +4 -0
  84. package/fields/dist/places/regions/AE.js +11 -0
  85. package/fields/dist/places/regions/AM.d.ts +4 -0
  86. package/fields/dist/places/regions/AM.js +15 -0
  87. package/fields/dist/places/regions/AR.d.ts +4 -0
  88. package/fields/dist/places/regions/AR.js +28 -0
  89. package/fields/dist/places/regions/AU.d.ts +4 -0
  90. package/fields/dist/places/regions/AU.js +13 -0
  91. package/fields/dist/places/regions/BB.d.ts +4 -0
  92. package/fields/dist/places/regions/BB.js +15 -0
  93. package/fields/dist/places/regions/BR.d.ts +4 -0
  94. package/fields/dist/places/regions/BR.js +31 -0
  95. package/fields/dist/places/regions/BS.d.ts +4 -0
  96. package/fields/dist/places/regions/BS.js +23 -0
  97. package/fields/dist/places/regions/BY.d.ts +4 -0
  98. package/fields/dist/places/regions/BY.js +11 -0
  99. package/fields/dist/places/regions/CA.d.ts +4 -0
  100. package/fields/dist/places/regions/CA.js +17 -0
  101. package/fields/dist/places/regions/CL.d.ts +4 -0
  102. package/fields/dist/places/regions/CL.js +20 -0
  103. package/fields/dist/places/regions/CN.d.ts +4 -0
  104. package/fields/dist/places/regions/CN.js +38 -0
  105. package/fields/dist/places/regions/CO.d.ts +4 -0
  106. package/fields/dist/places/regions/CO.js +37 -0
  107. package/fields/dist/places/regions/CR.d.ts +4 -0
  108. package/fields/dist/places/regions/CR.js +11 -0
  109. package/fields/dist/places/regions/CU.d.ts +4 -0
  110. package/fields/dist/places/regions/CU.js +20 -0
  111. package/fields/dist/places/regions/CV.d.ts +4 -0
  112. package/fields/dist/places/regions/CV.js +13 -0
  113. package/fields/dist/places/regions/EE.d.ts +4 -0
  114. package/fields/dist/places/regions/EE.js +19 -0
  115. package/fields/dist/places/regions/EG.d.ts +4 -0
  116. package/fields/dist/places/regions/EG.js +31 -0
  117. package/fields/dist/places/regions/ES.d.ts +4 -0
  118. package/fields/dist/places/regions/ES.js +56 -0
  119. package/fields/dist/places/regions/FM.d.ts +4 -0
  120. package/fields/dist/places/regions/FM.js +8 -0
  121. package/fields/dist/places/regions/HK.d.ts +4 -0
  122. package/fields/dist/places/regions/HK.js +7 -0
  123. package/fields/dist/places/regions/HN.d.ts +4 -0
  124. package/fields/dist/places/regions/HN.js +22 -0
  125. package/fields/dist/places/regions/ID.d.ts +4 -0
  126. package/fields/dist/places/regions/ID.js +38 -0
  127. package/fields/dist/places/regions/IE.d.ts +4 -0
  128. package/fields/dist/places/regions/IE.js +30 -0
  129. package/fields/dist/places/regions/IN.d.ts +4 -0
  130. package/fields/dist/places/regions/IN.js +40 -0
  131. package/fields/dist/places/regions/IQ.d.ts +4 -0
  132. package/fields/dist/places/regions/IQ.js +23 -0
  133. package/fields/dist/places/regions/IR.d.ts +4 -0
  134. package/fields/dist/places/regions/IR.js +35 -0
  135. package/fields/dist/places/regions/IT.d.ts +4 -0
  136. package/fields/dist/places/regions/IT.js +115 -0
  137. package/fields/dist/places/regions/JM.d.ts +4 -0
  138. package/fields/dist/places/regions/JM.js +18 -0
  139. package/fields/dist/places/regions/JP.d.ts +4 -0
  140. package/fields/dist/places/regions/JP.js +51 -0
  141. package/fields/dist/places/regions/KN.d.ts +4 -0
  142. package/fields/dist/places/regions/KN.js +6 -0
  143. package/fields/dist/places/regions/KP.d.ts +4 -0
  144. package/fields/dist/places/regions/KP.js +17 -0
  145. package/fields/dist/places/regions/KR.d.ts +4 -0
  146. package/fields/dist/places/regions/KR.js +21 -0
  147. package/fields/dist/places/regions/KY.d.ts +4 -0
  148. package/fields/dist/places/regions/KY.js +7 -0
  149. package/fields/dist/places/regions/KZ.d.ts +4 -0
  150. package/fields/dist/places/regions/KZ.js +24 -0
  151. package/fields/dist/places/regions/MN.d.ts +4 -0
  152. package/fields/dist/places/regions/MN.js +26 -0
  153. package/fields/dist/places/regions/MX.d.ts +4 -0
  154. package/fields/dist/places/regions/MX.js +36 -0
  155. package/fields/dist/places/regions/MY.d.ts +4 -0
  156. package/fields/dist/places/regions/MY.js +20 -0
  157. package/fields/dist/places/regions/MZ.d.ts +4 -0
  158. package/fields/dist/places/regions/MZ.js +15 -0
  159. package/fields/dist/places/regions/NG.d.ts +4 -0
  160. package/fields/dist/places/regions/NG.js +41 -0
  161. package/fields/dist/places/regions/NI.d.ts +4 -0
  162. package/fields/dist/places/regions/NI.js +21 -0
  163. package/fields/dist/places/regions/NR.d.ts +4 -0
  164. package/fields/dist/places/regions/NR.js +18 -0
  165. package/fields/dist/places/regions/PA.d.ts +4 -0
  166. package/fields/dist/places/regions/PA.js +18 -0
  167. package/fields/dist/places/regions/PE.d.ts +4 -0
  168. package/fields/dist/places/regions/PE.js +30 -0
  169. package/fields/dist/places/regions/PG.d.ts +4 -0
  170. package/fields/dist/places/regions/PG.js +26 -0
  171. package/fields/dist/places/regions/PH.d.ts +4 -0
  172. package/fields/dist/places/regions/PH.js +86 -0
  173. package/fields/dist/places/regions/PW.d.ts +4 -0
  174. package/fields/dist/places/regions/PW.js +20 -0
  175. package/fields/dist/places/regions/RO.d.ts +4 -0
  176. package/fields/dist/places/regions/RO.js +46 -0
  177. package/fields/dist/places/regions/RU.d.ts +4 -0
  178. package/fields/dist/places/regions/RU.js +89 -0
  179. package/fields/dist/places/regions/SO.d.ts +4 -0
  180. package/fields/dist/places/regions/SO.js +22 -0
  181. package/fields/dist/places/regions/SR.d.ts +4 -0
  182. package/fields/dist/places/regions/SR.js +14 -0
  183. package/fields/dist/places/regions/SV.d.ts +4 -0
  184. package/fields/dist/places/regions/SV.js +18 -0
  185. package/fields/dist/places/regions/TH.d.ts +4 -0
  186. package/fields/dist/places/regions/TH.js +81 -0
  187. package/fields/dist/places/regions/TR.d.ts +4 -0
  188. package/fields/dist/places/regions/TR.js +85 -0
  189. package/fields/dist/places/regions/TV.d.ts +4 -0
  190. package/fields/dist/places/regions/TV.js +13 -0
  191. package/fields/dist/places/regions/TW.d.ts +4 -0
  192. package/fields/dist/places/regions/TW.js +26 -0
  193. package/fields/dist/places/regions/UA.d.ts +4 -0
  194. package/fields/dist/places/regions/UA.js +31 -0
  195. package/fields/dist/places/regions/US.d.ts +4 -0
  196. package/fields/dist/places/regions/US.js +66 -0
  197. package/fields/dist/places/regions/UY.d.ts +4 -0
  198. package/fields/dist/places/regions/UY.js +23 -0
  199. package/fields/dist/places/regions/UZ.d.ts +4 -0
  200. package/fields/dist/places/regions/UZ.js +18 -0
  201. package/fields/dist/places/regions/VE.d.ts +4 -0
  202. package/fields/dist/places/regions/VE.js +29 -0
  203. package/fields/dist/places/regions/VN.d.ts +4 -0
  204. package/fields/dist/places/regions/VN.js +67 -0
  205. package/fields/dist/query/board.d.ts +28 -0
  206. package/fields/dist/query/board.js +44 -0
  207. package/fields/dist/query/buckets.d.ts +95 -0
  208. package/fields/dist/query/buckets.js +453 -0
  209. package/fields/dist/query/change.d.ts +8 -0
  210. package/fields/dist/query/change.js +43 -0
  211. package/fields/dist/query/collate.d.ts +10 -0
  212. package/fields/dist/query/collate.js +22 -0
  213. package/fields/dist/query/column-state.d.ts +25 -0
  214. package/fields/dist/query/column-state.js +10 -0
  215. package/fields/dist/query/date.d.ts +82 -0
  216. package/fields/dist/query/date.js +254 -0
  217. package/fields/dist/query/evaluate.d.ts +69 -0
  218. package/fields/dist/query/evaluate.js +84 -0
  219. package/fields/dist/query/figure-kinds.d.ts +26 -0
  220. package/fields/dist/query/figure-kinds.js +27 -0
  221. package/fields/dist/query/figures.d.ts +69 -0
  222. package/fields/dist/query/figures.js +169 -0
  223. package/fields/dist/query/filter.d.ts +138 -0
  224. package/fields/dist/query/filter.js +475 -0
  225. package/fields/dist/query/fold.d.ts +1 -0
  226. package/fields/dist/query/fold.js +4 -0
  227. package/fields/dist/query/group.d.ts +15 -0
  228. package/fields/dist/query/group.js +7 -0
  229. package/fields/dist/query/hold.d.ts +35 -0
  230. package/fields/dist/query/hold.js +70 -0
  231. package/fields/dist/query/index.d.ts +25 -0
  232. package/fields/dist/query/index.js +25 -0
  233. package/fields/dist/query/kit.d.ts +57 -0
  234. package/fields/dist/query/kit.js +29 -0
  235. package/fields/dist/query/layer.d.ts +35 -0
  236. package/fields/dist/query/layer.js +51 -0
  237. package/fields/dist/query/link.d.ts +8 -0
  238. package/fields/dist/query/link.js +18 -0
  239. package/fields/dist/query/list-link.d.ts +65 -0
  240. package/fields/dist/query/list-link.js +174 -0
  241. package/fields/dist/query/location.d.ts +20 -0
  242. package/fields/dist/query/location.js +36 -0
  243. package/fields/dist/query/name.d.ts +6 -0
  244. package/fields/dist/query/name.js +23 -0
  245. package/fields/dist/query/number.d.ts +94 -0
  246. package/fields/dist/query/number.js +180 -0
  247. package/fields/dist/query/option-counts.d.ts +38 -0
  248. package/fields/dist/query/option-counts.js +89 -0
  249. package/fields/dist/query/range.d.ts +22 -0
  250. package/fields/dist/query/range.js +79 -0
  251. package/fields/dist/query/read-rule.d.ts +3 -0
  252. package/fields/dist/query/read-rule.js +13 -0
  253. package/fields/dist/query/search.d.ts +20 -0
  254. package/fields/dist/query/search.js +77 -0
  255. package/fields/dist/query/set-aside.d.ts +82 -0
  256. package/fields/dist/query/set-aside.js +172 -0
  257. package/fields/dist/query/settings.d.ts +94 -0
  258. package/fields/dist/query/settings.js +195 -0
  259. package/fields/dist/query/sort.d.ts +32 -0
  260. package/fields/dist/query/sort.js +270 -0
  261. package/fields/dist/query/text.d.ts +55 -0
  262. package/fields/dist/query/text.js +80 -0
  263. package/fields/dist/range.d.ts +25 -0
  264. package/fields/dist/range.js +63 -0
  265. package/fields/dist/registry.d.ts +114 -0
  266. package/fields/dist/registry.js +864 -0
  267. package/fields/dist/relation.d.ts +84 -0
  268. package/fields/dist/relation.js +106 -0
  269. package/fields/dist/root-domain.d.ts +4 -0
  270. package/fields/dist/root-domain.js +12 -0
  271. package/fields/dist/settlement.d.ts +4 -0
  272. package/fields/dist/settlement.js +11 -0
  273. package/fields/dist/spec-changes.d.ts +20 -0
  274. package/fields/dist/spec-changes.js +170 -0
  275. package/fields/dist/testing/backend.d.ts +75 -0
  276. package/fields/dist/testing/backend.js +1 -0
  277. package/fields/dist/testing/cases.d.ts +14 -0
  278. package/fields/dist/testing/cases.js +327 -0
  279. package/fields/dist/testing/compare.d.ts +39 -0
  280. package/fields/dist/testing/compare.js +123 -0
  281. package/fields/dist/testing/index.d.ts +7 -0
  282. package/fields/dist/testing/index.js +5 -0
  283. package/fields/dist/testing/memory.d.ts +4 -0
  284. package/fields/dist/testing/memory.js +90 -0
  285. package/fields/dist/testing/now.d.ts +4 -0
  286. package/fields/dist/testing/now.js +2 -0
  287. package/fields/dist/testing/query-of.d.ts +8 -0
  288. package/fields/dist/testing/query-of.js +16 -0
  289. package/fields/dist/testing/question.d.ts +3 -0
  290. package/fields/dist/testing/question.js +10 -0
  291. package/fields/dist/testing/reader.d.ts +11 -0
  292. package/fields/dist/testing/reader.js +12 -0
  293. package/fields/dist/testing/reference.d.ts +20 -0
  294. package/fields/dist/testing/reference.js +58 -0
  295. package/fields/dist/testing/runner.d.ts +32 -0
  296. package/fields/dist/testing/runner.js +145 -0
  297. package/fields/dist/testing/samples.d.ts +5 -0
  298. package/fields/dist/testing/samples.js +338 -0
  299. package/fields/dist/testing/speed.d.ts +35 -0
  300. package/fields/dist/testing/speed.js +134 -0
  301. package/fields/dist/testing/sweep.d.ts +11 -0
  302. package/fields/dist/testing/sweep.js +154 -0
  303. package/fields/dist/testing/text-order.d.ts +8 -0
  304. package/fields/dist/testing/text-order.js +73 -0
  305. package/fields/dist/testing/worked-out.d.ts +16 -0
  306. package/fields/dist/testing/worked-out.js +234 -0
  307. package/fields/dist/types.d.ts +722 -0
  308. package/fields/dist/types.js +1 -0
  309. package/fields/dist/value-list.d.ts +56 -0
  310. package/fields/dist/value-list.js +75 -0
  311. package/fields/dist/write-result.d.ts +49 -0
  312. package/fields/dist/write-result.js +34 -0
  313. package/fields/dist/zod.d.ts +29 -0
  314. package/fields/dist/zod.js +419 -0
  315. package/fields/docs/getting-started.md +147 -0
  316. package/fields/docs/guides/checking-definitions.md +517 -0
  317. package/fields/docs/guides/contact-values.md +466 -0
  318. package/fields/docs/guides/conventions.md +312 -0
  319. package/fields/docs/guides/derived-fields.md +701 -0
  320. package/fields/docs/guides/field-types.md +665 -0
  321. package/fields/docs/guides/names-and-places.md +356 -0
  322. package/fields/docs/guides/narrowing-names.md +146 -0
  323. package/fields/docs/guides/options.md +348 -0
  324. package/fields/docs/guides/queries.md +1055 -0
  325. package/fields/docs/guides/the-index.md +415 -0
  326. package/fields/docs/guides/validation-and-acceptance.md +314 -0
  327. package/fields/docs/guides/who-may-change.md +299 -0
  328. package/fields/docs/index.md +47 -0
  329. package/fields/docs/reference/definitions.md +22 -0
  330. package/fields/docs/reference/design-category-colors.md +8 -0
  331. package/fields/docs/reference/design-stage-marks.md +4 -0
  332. package/fields/docs/reference/design-status-slots.md +6 -0
  333. package/fields/docs/reference/fields.md +275 -0
  334. package/fields/docs/reference/format-time.md +9 -0
  335. package/fields/docs/reference/phone.md +17 -0
  336. package/fields/docs/reference/places.md +9 -0
  337. package/fields/docs/reference/query.md +295 -0
  338. package/fields/docs/reference/root-domain.md +5 -0
  339. package/fields/docs/reference/testing.md +87 -0
  340. package/fields/docs/reference/types.md +95 -0
  341. package/fields/skills/viewkit/SKILL.md +377 -0
  342. package/package.json +261 -3
  343. package/postgres/CHANGELOG.md +676 -0
  344. package/postgres/README.md +35 -0
  345. package/postgres/dist/access.d.ts +131 -0
  346. package/postgres/dist/access.js +168 -0
  347. package/postgres/dist/actor.d.ts +3 -0
  348. package/postgres/dist/actor.js +6 -0
  349. package/postgres/dist/bounds.d.ts +16 -0
  350. package/postgres/dist/bounds.js +69 -0
  351. package/postgres/dist/calendar.d.ts +31 -0
  352. package/postgres/dist/calendar.js +64 -0
  353. package/postgres/dist/check.d.ts +53 -0
  354. package/postgres/dist/check.js +326 -0
  355. package/postgres/dist/counts.d.ts +44 -0
  356. package/postgres/dist/counts.js +96 -0
  357. package/postgres/dist/cursor.d.ts +26 -0
  358. package/postgres/dist/cursor.js +210 -0
  359. package/postgres/dist/date-groups.d.ts +45 -0
  360. package/postgres/dist/date-groups.js +176 -0
  361. package/postgres/dist/definitions/build.d.ts +28 -0
  362. package/postgres/dist/definitions/build.js +174 -0
  363. package/postgres/dist/definitions/float.d.ts +55 -0
  364. package/postgres/dist/definitions/float.js +108 -0
  365. package/postgres/dist/definitions/formula-forms.d.ts +29 -0
  366. package/postgres/dist/definitions/formula-forms.js +209 -0
  367. package/postgres/dist/definitions/formula.d.ts +14 -0
  368. package/postgres/dist/definitions/formula.js +209 -0
  369. package/postgres/dist/definitions/index.d.ts +3 -0
  370. package/postgres/dist/definitions/index.js +2 -0
  371. package/postgres/dist/definitions/json.d.ts +14 -0
  372. package/postgres/dist/definitions/json.js +68 -0
  373. package/postgres/dist/definitions/label.d.ts +8 -0
  374. package/postgres/dist/definitions/label.js +35 -0
  375. package/postgres/dist/definitions/lookup.d.ts +8 -0
  376. package/postgres/dist/definitions/lookup.js +88 -0
  377. package/postgres/dist/definitions/money.d.ts +29 -0
  378. package/postgres/dist/definitions/money.js +80 -0
  379. package/postgres/dist/definitions/place.d.ts +50 -0
  380. package/postgres/dist/definitions/place.js +38 -0
  381. package/postgres/dist/definitions/relations.d.ts +9 -0
  382. package/postgres/dist/definitions/relations.js +48 -0
  383. package/postgres/dist/definitions/rollup.d.ts +17 -0
  384. package/postgres/dist/definitions/rollup.js +343 -0
  385. package/postgres/dist/definitions/storage.d.ts +120 -0
  386. package/postgres/dist/definitions/storage.js +334 -0
  387. package/postgres/dist/definitions/stored.d.ts +3 -0
  388. package/postgres/dist/definitions/stored.js +72 -0
  389. package/postgres/dist/definitions/user.d.ts +7 -0
  390. package/postgres/dist/definitions/user.js +42 -0
  391. package/postgres/dist/double.d.ts +6 -0
  392. package/postgres/dist/double.js +10 -0
  393. package/postgres/dist/field-values.d.ts +16 -0
  394. package/postgres/dist/field-values.js +75 -0
  395. package/postgres/dist/figures.d.ts +37 -0
  396. package/postgres/dist/figures.js +88 -0
  397. package/postgres/dist/filled.d.ts +7 -0
  398. package/postgres/dist/filled.js +47 -0
  399. package/postgres/dist/fold.d.ts +15 -0
  400. package/postgres/dist/fold.js +21 -0
  401. package/postgres/dist/groups.d.ts +85 -0
  402. package/postgres/dist/groups.js +189 -0
  403. package/postgres/dist/ids.d.ts +8 -0
  404. package/postgres/dist/ids.js +16 -0
  405. package/postgres/dist/index.d.ts +21 -0
  406. package/postgres/dist/index.js +20 -0
  407. package/postgres/dist/kept.d.ts +36 -0
  408. package/postgres/dist/kept.js +43 -0
  409. package/postgres/dist/keyed.d.ts +48 -0
  410. package/postgres/dist/keyed.js +269 -0
  411. package/postgres/dist/lanes.d.ts +26 -0
  412. package/postgres/dist/lanes.js +69 -0
  413. package/postgres/dist/limits.d.ts +12 -0
  414. package/postgres/dist/limits.js +1 -0
  415. package/postgres/dist/map.d.ts +198 -0
  416. package/postgres/dist/map.js +475 -0
  417. package/postgres/dist/page.d.ts +116 -0
  418. package/postgres/dist/page.js +577 -0
  419. package/postgres/dist/parts.d.ts +10 -0
  420. package/postgres/dist/parts.js +82 -0
  421. package/postgres/dist/phone.d.ts +28 -0
  422. package/postgres/dist/phone.js +54 -0
  423. package/postgres/dist/predicates.d.ts +8 -0
  424. package/postgres/dist/predicates.js +35 -0
  425. package/postgres/dist/range-groups.d.ts +22 -0
  426. package/postgres/dist/range-groups.js +97 -0
  427. package/postgres/dist/records.d.ts +24 -0
  428. package/postgres/dist/records.js +183 -0
  429. package/postgres/dist/refusals.d.ts +38 -0
  430. package/postgres/dist/refusals.js +46 -0
  431. package/postgres/dist/relations.d.ts +23 -0
  432. package/postgres/dist/relations.js +71 -0
  433. package/postgres/dist/rules.d.ts +60 -0
  434. package/postgres/dist/rules.js +218 -0
  435. package/postgres/dist/search-indexes.d.ts +62 -0
  436. package/postgres/dist/search-indexes.js +189 -0
  437. package/postgres/dist/search.d.ts +56 -0
  438. package/postgres/dist/search.js +152 -0
  439. package/postgres/dist/several.d.ts +49 -0
  440. package/postgres/dist/several.js +174 -0
  441. package/postgres/dist/sort.d.ts +104 -0
  442. package/postgres/dist/sort.js +368 -0
  443. package/postgres/dist/sql.d.ts +60 -0
  444. package/postgres/dist/sql.js +247 -0
  445. package/postgres/dist/statement.d.ts +4 -0
  446. package/postgres/dist/statement.js +7 -0
  447. package/postgres/dist/steps.d.ts +18 -0
  448. package/postgres/dist/steps.js +18 -0
  449. package/postgres/dist/users.d.ts +35 -0
  450. package/postgres/dist/users.js +33 -0
  451. package/postgres/dist/value-rows.d.ts +23 -0
  452. package/postgres/dist/value-rows.js +64 -0
  453. package/postgres/dist/values.d.ts +56 -0
  454. package/postgres/dist/values.js +160 -0
  455. package/postgres/dist/view-counts.d.ts +14 -0
  456. package/postgres/dist/view-counts.js +50 -0
  457. package/postgres/dist/walker.d.ts +12 -0
  458. package/postgres/dist/walker.js +18 -0
  459. package/postgres/docs/guides/definitions.md +221 -0
  460. package/postgres/docs/guides/field-map.md +705 -0
  461. package/postgres/docs/guides/test-kit.md +110 -0
  462. package/postgres/docs/index.md +11 -0
  463. package/postgres/docs/reference/definitions.md +41 -0
  464. package/postgres/docs/reference/postgres.md +108 -0
  465. package/views/CHANGELOG.md +3582 -0
  466. package/views/README.md +104 -0
  467. package/views/dist/atoms/Avatar.d.ts +2 -0
  468. package/views/dist/atoms/Avatar.js +13 -0
  469. package/views/dist/atoms/CellMore.d.ts +2 -0
  470. package/views/dist/atoms/CellMore.js +4 -0
  471. package/views/dist/atoms/CommandMenu.d.ts +2 -0
  472. package/views/dist/atoms/CommandMenu.js +24 -0
  473. package/views/dist/atoms/DisabledReason.d.ts +13 -0
  474. package/views/dist/atoms/DisabledReason.js +27 -0
  475. package/views/dist/atoms/DrillRows.d.ts +3 -0
  476. package/views/dist/atoms/DrillRows.js +27 -0
  477. package/views/dist/atoms/List.d.ts +2 -0
  478. package/views/dist/atoms/List.js +6 -0
  479. package/views/dist/atoms/LoadMore.d.ts +2 -0
  480. package/views/dist/atoms/LoadMore.js +35 -0
  481. package/views/dist/atoms/Loading.d.ts +8 -0
  482. package/views/dist/atoms/Loading.js +10 -0
  483. package/views/dist/atoms/PanelRows.d.ts +5 -0
  484. package/views/dist/atoms/PanelRows.js +38 -0
  485. package/views/dist/atoms/PanelSearch.d.ts +2 -0
  486. package/views/dist/atoms/PanelSearch.js +23 -0
  487. package/views/dist/atoms/Pill.d.ts +2 -0
  488. package/views/dist/atoms/Pill.js +25 -0
  489. package/views/dist/atoms/PlatformMark.d.ts +2 -0
  490. package/views/dist/atoms/PlatformMark.js +4 -0
  491. package/views/dist/atoms/RangeCalendar.d.ts +8 -0
  492. package/views/dist/atoms/RangeCalendar.js +30 -0
  493. package/views/dist/atoms/RelationLink.d.ts +2 -0
  494. package/views/dist/atoms/RelationLink.js +6 -0
  495. package/views/dist/atoms/RelationRoles.d.ts +2 -0
  496. package/views/dist/atoms/RelationRoles.js +6 -0
  497. package/views/dist/atoms/Row.d.ts +3 -0
  498. package/views/dist/atoms/Row.js +31 -0
  499. package/views/dist/atoms/RowMenu.d.ts +2 -0
  500. package/views/dist/atoms/RowMenu.js +116 -0
  501. package/views/dist/atoms/SelectionSheet.d.ts +3 -0
  502. package/views/dist/atoms/SelectionSheet.js +31 -0
  503. package/views/dist/atoms/StatusBadge.d.ts +2 -0
  504. package/views/dist/atoms/StatusBadge.js +7 -0
  505. package/views/dist/atoms/StatusMarker.d.ts +2 -0
  506. package/views/dist/atoms/StatusMarker.js +21 -0
  507. package/views/dist/atoms/Tag.d.ts +2 -0
  508. package/views/dist/atoms/Tag.js +14 -0
  509. package/views/dist/atoms/TickBox.d.ts +2 -0
  510. package/views/dist/atoms/TickBox.js +8 -0
  511. package/views/dist/atoms/ToolbarButton.d.ts +2 -0
  512. package/views/dist/atoms/ToolbarButton.js +50 -0
  513. package/views/dist/atoms/defaults.d.ts +2 -0
  514. package/views/dist/atoms/defaults.js +51 -0
  515. package/views/dist/atoms/tones.d.ts +5 -0
  516. package/views/dist/atoms/tones.js +28 -0
  517. package/views/dist/atoms/types.d.ts +496 -0
  518. package/views/dist/atoms/types.js +3 -0
  519. package/views/dist/cells/cell-format.d.ts +147 -0
  520. package/views/dist/cells/cell-format.js +16 -0
  521. package/views/dist/cells/cell-title.d.ts +20 -0
  522. package/views/dist/cells/cell-title.js +8 -0
  523. package/views/dist/cells/cell-values.d.ts +28 -0
  524. package/views/dist/cells/cell-values.js +107 -0
  525. package/views/dist/cells/index.d.ts +4 -0
  526. package/views/dist/cells/index.js +4 -0
  527. package/views/dist/cells/legacy-field.d.ts +52 -0
  528. package/views/dist/cells/legacy-field.js +164 -0
  529. package/views/dist/cells/relation-wrap.d.ts +3 -0
  530. package/views/dist/cells/relation-wrap.js +26 -0
  531. package/views/dist/cells/use-cell-format.d.ts +5 -0
  532. package/views/dist/cells/use-cell-format.js +10 -0
  533. package/views/dist/contract.d.ts +1337 -0
  534. package/views/dist/contract.js +1824 -0
  535. package/views/dist/display/actor.d.ts +4 -0
  536. package/views/dist/display/actor.js +26 -0
  537. package/views/dist/display/boolean.d.ts +18 -0
  538. package/views/dist/display/boolean.js +50 -0
  539. package/views/dist/display/breakdown.d.ts +15 -0
  540. package/views/dist/display/breakdown.js +32 -0
  541. package/views/dist/display/converted.d.ts +19 -0
  542. package/views/dist/display/converted.js +12 -0
  543. package/views/dist/display/currency.d.ts +9 -0
  544. package/views/dist/display/currency.js +29 -0
  545. package/views/dist/display/date.d.ts +12 -0
  546. package/views/dist/display/date.js +28 -0
  547. package/views/dist/display/display-cores.d.ts +31 -0
  548. package/views/dist/display/display-cores.js +57 -0
  549. package/views/dist/display/entity-chip.d.ts +29 -0
  550. package/views/dist/display/entity-chip.js +8 -0
  551. package/views/dist/display/fit-values.d.ts +34 -0
  552. package/views/dist/display/fit-values.js +45 -0
  553. package/views/dist/display/format.d.ts +66 -0
  554. package/views/dist/display/format.js +206 -0
  555. package/views/dist/display/index.d.ts +9 -0
  556. package/views/dist/display/index.js +8 -0
  557. package/views/dist/display/link-click.d.ts +11 -0
  558. package/views/dist/display/link-click.js +3 -0
  559. package/views/dist/display/link.d.ts +29 -0
  560. package/views/dist/display/link.js +56 -0
  561. package/views/dist/display/location.d.ts +8 -0
  562. package/views/dist/display/location.js +22 -0
  563. package/views/dist/display/multi-value.d.ts +18 -0
  564. package/views/dist/display/multi-value.js +93 -0
  565. package/views/dist/display/name.d.ts +6 -0
  566. package/views/dist/display/name.js +14 -0
  567. package/views/dist/display/number.d.ts +11 -0
  568. package/views/dist/display/number.js +27 -0
  569. package/views/dist/display/options.d.ts +167 -0
  570. package/views/dist/display/options.js +1 -0
  571. package/views/dist/display/percent.d.ts +4 -0
  572. package/views/dist/display/percent.js +41 -0
  573. package/views/dist/display/phone.d.ts +11 -0
  574. package/views/dist/display/phone.js +49 -0
  575. package/views/dist/display/range.d.ts +6 -0
  576. package/views/dist/display/range.js +19 -0
  577. package/views/dist/display/relation.d.ts +4 -0
  578. package/views/dist/display/relation.js +44 -0
  579. package/views/dist/display/rich-text.d.ts +10 -0
  580. package/views/dist/display/rich-text.js +46 -0
  581. package/views/dist/display/select.d.ts +6 -0
  582. package/views/dist/display/select.js +40 -0
  583. package/views/dist/display/status-steps.d.ts +8 -0
  584. package/views/dist/display/status-steps.js +18 -0
  585. package/views/dist/display/text-class.d.ts +23 -0
  586. package/views/dist/display/text-class.js +5 -0
  587. package/views/dist/display/text.d.ts +19 -0
  588. package/views/dist/display/text.js +8 -0
  589. package/views/dist/display/use-display-options.d.ts +2 -0
  590. package/views/dist/display/use-display-options.js +14 -0
  591. package/views/dist/display/user.d.ts +11 -0
  592. package/views/dist/display/user.js +10 -0
  593. package/views/dist/display/value-list.d.ts +10 -0
  594. package/views/dist/display/value-list.js +12 -0
  595. package/views/dist/display/viewer.d.ts +4 -0
  596. package/views/dist/display/viewer.js +12 -0
  597. package/views/dist/display/web-href.d.ts +16 -0
  598. package/views/dist/display/web-href.js +19 -0
  599. package/views/dist/editors/BodyFrame.d.ts +30 -0
  600. package/views/dist/editors/BodyFrame.js +86 -0
  601. package/views/dist/editors/ChipsEditor.d.ts +76 -0
  602. package/views/dist/editors/ChipsEditor.js +118 -0
  603. package/views/dist/editors/DateEditor.d.ts +42 -0
  604. package/views/dist/editors/DateEditor.js +298 -0
  605. package/views/dist/editors/EditorPanel.d.ts +71 -0
  606. package/views/dist/editors/EditorPanel.js +158 -0
  607. package/views/dist/editors/LocationEditor.d.ts +33 -0
  608. package/views/dist/editors/LocationEditor.js +320 -0
  609. package/views/dist/editors/NameEditor.d.ts +29 -0
  610. package/views/dist/editors/NameEditor.js +119 -0
  611. package/views/dist/editors/NumberEditor.d.ts +90 -0
  612. package/views/dist/editors/NumberEditor.js +126 -0
  613. package/views/dist/editors/RangeEditor.d.ts +51 -0
  614. package/views/dist/editors/RangeEditor.js +125 -0
  615. package/views/dist/editors/RelationEditor.d.ts +52 -0
  616. package/views/dist/editors/RelationEditor.js +55 -0
  617. package/views/dist/editors/RelationSetEditor.d.ts +63 -0
  618. package/views/dist/editors/RelationSetEditor.js +222 -0
  619. package/views/dist/editors/SelectEditor.d.ts +104 -0
  620. package/views/dist/editors/SelectEditor.js +154 -0
  621. package/views/dist/editors/TextEditor.d.ts +61 -0
  622. package/views/dist/editors/TextEditor.js +102 -0
  623. package/views/dist/editors/ValueListEditor.d.ts +51 -0
  624. package/views/dist/editors/ValueListEditor.js +239 -0
  625. package/views/dist/editors/body-panel.d.ts +11 -0
  626. package/views/dist/editors/body-panel.js +11 -0
  627. package/views/dist/editors/body-step.d.ts +12 -0
  628. package/views/dist/editors/body-step.js +6 -0
  629. package/views/dist/editors/edit-cores.d.ts +86 -0
  630. package/views/dist/editors/edit-cores.js +39 -0
  631. package/views/dist/editors/edit-session.d.ts +113 -0
  632. package/views/dist/editors/edit-session.js +97 -0
  633. package/views/dist/editors/escape-rule.d.ts +34 -0
  634. package/views/dist/editors/escape-rule.js +15 -0
  635. package/views/dist/editors/inner-escape.d.ts +12 -0
  636. package/views/dist/editors/inner-escape.js +10 -0
  637. package/views/dist/editors/keep-inside.d.ts +12 -0
  638. package/views/dist/editors/keep-inside.js +20 -0
  639. package/views/dist/editors/leave-scope.d.ts +31 -0
  640. package/views/dist/editors/leave-scope.js +29 -0
  641. package/views/dist/editors/link-roles.d.ts +9 -0
  642. package/views/dist/editors/link-roles.js +19 -0
  643. package/views/dist/editors/number-body.d.ts +30 -0
  644. package/views/dist/editors/number-body.js +38 -0
  645. package/views/dist/editors/number-step.d.ts +39 -0
  646. package/views/dist/editors/number-step.js +47 -0
  647. package/views/dist/editors/open-value.d.ts +22 -0
  648. package/views/dist/editors/open-value.js +37 -0
  649. package/views/dist/editors/open-values.d.ts +32 -0
  650. package/views/dist/editors/open-values.js +33 -0
  651. package/views/dist/editors/option-add-flow.d.ts +66 -0
  652. package/views/dist/editors/option-add-flow.js +155 -0
  653. package/views/dist/editors/parts-body.d.ts +68 -0
  654. package/views/dist/editors/parts-body.js +117 -0
  655. package/views/dist/editors/picker-slot.d.ts +25 -0
  656. package/views/dist/editors/picker-slot.js +37 -0
  657. package/views/dist/editors/relation-kinds.d.ts +7 -0
  658. package/views/dist/editors/relation-kinds.js +21 -0
  659. package/views/dist/editors/relation-links-body.d.ts +36 -0
  660. package/views/dist/editors/relation-links-body.js +22 -0
  661. package/views/dist/editors/relation-panel.d.ts +69 -0
  662. package/views/dist/editors/relation-panel.js +40 -0
  663. package/views/dist/editors/relation-picker.d.ts +63 -0
  664. package/views/dist/editors/relation-picker.js +58 -0
  665. package/views/dist/editors/relation-source.d.ts +67 -0
  666. package/views/dist/editors/relation-source.js +108 -0
  667. package/views/dist/editors/tab-ends.d.ts +7 -0
  668. package/views/dist/editors/tab-ends.js +10 -0
  669. package/views/dist/editors/text-body.d.ts +16 -0
  670. package/views/dist/editors/text-body.js +30 -0
  671. package/views/dist/editors/values-body.d.ts +47 -0
  672. package/views/dist/editors/values-body.js +140 -0
  673. package/views/dist/field-row/FieldNoteLine.d.ts +14 -0
  674. package/views/dist/field-row/FieldNoteLine.js +15 -0
  675. package/views/dist/field-row/FieldRow.d.ts +81 -0
  676. package/views/dist/field-row/FieldRow.js +232 -0
  677. package/views/dist/field-row/FieldRowLane.d.ts +19 -0
  678. package/views/dist/field-row/FieldRowLane.js +21 -0
  679. package/views/dist/field-row/drawn-text.d.ts +7 -0
  680. package/views/dist/field-row/drawn-text.js +27 -0
  681. package/views/dist/field-row/editors/RowChipsEditor.d.ts +11 -0
  682. package/views/dist/field-row/editors/RowChipsEditor.js +27 -0
  683. package/views/dist/field-row/editors/RowDateEditor.d.ts +16 -0
  684. package/views/dist/field-row/editors/RowDateEditor.js +18 -0
  685. package/views/dist/field-row/editors/RowEditor.d.ts +39 -0
  686. package/views/dist/field-row/editors/RowEditor.js +66 -0
  687. package/views/dist/field-row/editors/RowNameEditor.d.ts +7 -0
  688. package/views/dist/field-row/editors/RowNameEditor.js +23 -0
  689. package/views/dist/field-row/editors/RowNumberEditor.d.ts +12 -0
  690. package/views/dist/field-row/editors/RowNumberEditor.js +34 -0
  691. package/views/dist/field-row/editors/RowPlaceEditor.d.ts +9 -0
  692. package/views/dist/field-row/editors/RowPlaceEditor.js +20 -0
  693. package/views/dist/field-row/editors/RowRangeEditor.d.ts +7 -0
  694. package/views/dist/field-row/editors/RowRangeEditor.js +25 -0
  695. package/views/dist/field-row/editors/RowRelationEditor.d.ts +20 -0
  696. package/views/dist/field-row/editors/RowRelationEditor.js +80 -0
  697. package/views/dist/field-row/editors/RowSelectEditor.d.ts +13 -0
  698. package/views/dist/field-row/editors/RowSelectEditor.js +26 -0
  699. package/views/dist/field-row/editors/RowTextEditor.d.ts +15 -0
  700. package/views/dist/field-row/editors/RowTextEditor.js +25 -0
  701. package/views/dist/field-row/editors/RowValueListEditor.d.ts +6 -0
  702. package/views/dist/field-row/editors/RowValueListEditor.js +34 -0
  703. package/views/dist/field-row/editors/host.d.ts +65 -0
  704. package/views/dist/field-row/editors/host.js +1 -0
  705. package/views/dist/field-row/editors/row-frame.d.ts +2 -0
  706. package/views/dist/field-row/editors/row-frame.js +1 -0
  707. package/views/dist/field-row/editors/row-session.d.ts +63 -0
  708. package/views/dist/field-row/editors/row-session.js +102 -0
  709. package/views/dist/field-row/field-row-button.d.ts +40 -0
  710. package/views/dist/field-row/field-row-button.js +18 -0
  711. package/views/dist/field-row/field-row-checkbox.d.ts +9 -0
  712. package/views/dist/field-row/field-row-checkbox.js +7 -0
  713. package/views/dist/field-row/index.d.ts +5 -0
  714. package/views/dist/field-row/index.js +5 -0
  715. package/views/dist/field-row/row-target.d.ts +20 -0
  716. package/views/dist/field-row/row-target.js +3 -0
  717. package/views/dist/field-row/useFieldWrite.d.ts +45 -0
  718. package/views/dist/field-row/useFieldWrite.js +233 -0
  719. package/views/dist/field-row/useRowSettlement.d.ts +33 -0
  720. package/views/dist/field-row/useRowSettlement.js +23 -0
  721. package/views/dist/fields/binding.d.ts +96 -0
  722. package/views/dist/fields/binding.js +128 -0
  723. package/views/dist/fields/currency.d.ts +82 -0
  724. package/views/dist/fields/currency.js +41 -0
  725. package/views/dist/fields/denomination.d.ts +42 -0
  726. package/views/dist/fields/denomination.js +11 -0
  727. package/views/dist/fields/edit-core-types.d.ts +40 -0
  728. package/views/dist/fields/edit-core-types.js +29 -0
  729. package/views/dist/fields/format-knobs.d.ts +34 -0
  730. package/views/dist/fields/format-knobs.js +36 -0
  731. package/views/dist/fields/menus.d.ts +30 -0
  732. package/views/dist/fields/menus.js +1 -0
  733. package/views/dist/fields/money.d.ts +65 -0
  734. package/views/dist/fields/money.js +88 -0
  735. package/views/dist/fields/number-edit.d.ts +17 -0
  736. package/views/dist/fields/number-edit.js +21 -0
  737. package/views/dist/fields/option-add.d.ts +25 -0
  738. package/views/dist/fields/option-add.js +9 -0
  739. package/views/dist/fields/prepare-write.d.ts +55 -0
  740. package/views/dist/fields/prepare-write.js +72 -0
  741. package/views/dist/fields/range-unit.d.ts +7 -0
  742. package/views/dist/fields/range-unit.js +13 -0
  743. package/views/dist/fields/relation-source-types.d.ts +66 -0
  744. package/views/dist/fields/relation-source-types.js +1 -0
  745. package/views/dist/fields/write-target.d.ts +56 -0
  746. package/views/dist/fields/write-target.js +10 -0
  747. package/views/dist/figures.d.ts +9 -0
  748. package/views/dist/figures.js +1 -0
  749. package/views/dist/filters/date-filter.d.ts +2 -0
  750. package/views/dist/filters/date-filter.js +1 -0
  751. package/views/dist/filters/filter-model.d.ts +181 -0
  752. package/views/dist/filters/filter-model.js +41 -0
  753. package/views/dist/filters/filter-tree.d.ts +146 -0
  754. package/views/dist/filters/filter-tree.js +256 -0
  755. package/views/dist/filters/number-filter.d.ts +2 -0
  756. package/views/dist/filters/number-filter.js +1 -0
  757. package/views/dist/filters/range-filter.d.ts +2 -0
  758. package/views/dist/filters/range-filter.js +1 -0
  759. package/views/dist/filters/registry.d.ts +103 -0
  760. package/views/dist/filters/registry.js +8 -0
  761. package/views/dist/filters/relation-filter.d.ts +16 -0
  762. package/views/dist/filters/relation-filter.js +63 -0
  763. package/views/dist/filters/text-filter.d.ts +2 -0
  764. package/views/dist/filters/text-filter.js +1 -0
  765. package/views/dist/grid/chrome/GridAddColumn.d.ts +23 -0
  766. package/views/dist/grid/chrome/GridAddColumn.js +106 -0
  767. package/views/dist/grid/chrome/GridAggregateMenu.d.ts +36 -0
  768. package/views/dist/grid/chrome/GridAggregateMenu.js +60 -0
  769. package/views/dist/grid/chrome/GridCellEditors.d.ts +81 -0
  770. package/views/dist/grid/chrome/GridCellEditors.js +156 -0
  771. package/views/dist/grid/chrome/GridCellOutline.d.ts +53 -0
  772. package/views/dist/grid/chrome/GridCellOutline.js +36 -0
  773. package/views/dist/grid/chrome/GridChipsEditor.d.ts +40 -0
  774. package/views/dist/grid/chrome/GridChipsEditor.js +39 -0
  775. package/views/dist/grid/chrome/GridColumnColorSection.d.ts +13 -0
  776. package/views/dist/grid/chrome/GridColumnColorSection.js +40 -0
  777. package/views/dist/grid/chrome/GridColumnDateSection.d.ts +27 -0
  778. package/views/dist/grid/chrome/GridColumnDateSection.js +23 -0
  779. package/views/dist/grid/chrome/GridColumnDurationSection.d.ts +23 -0
  780. package/views/dist/grid/chrome/GridColumnDurationSection.js +24 -0
  781. package/views/dist/grid/chrome/GridColumnMenu.d.ts +113 -0
  782. package/views/dist/grid/chrome/GridColumnMenu.js +149 -0
  783. package/views/dist/grid/chrome/GridColumnNumberSection.d.ts +29 -0
  784. package/views/dist/grid/chrome/GridColumnNumberSection.js +27 -0
  785. package/views/dist/grid/chrome/GridColumnPercentSection.d.ts +16 -0
  786. package/views/dist/grid/chrome/GridColumnPercentSection.js +16 -0
  787. package/views/dist/grid/chrome/GridColumnSortSection.d.ts +38 -0
  788. package/views/dist/grid/chrome/GridColumnSortSection.js +33 -0
  789. package/views/dist/grid/chrome/GridDateEditor.d.ts +41 -0
  790. package/views/dist/grid/chrome/GridDateEditor.js +26 -0
  791. package/views/dist/grid/chrome/GridFlyout.d.ts +44 -0
  792. package/views/dist/grid/chrome/GridFlyout.js +80 -0
  793. package/views/dist/grid/chrome/GridFooter.d.ts +40 -0
  794. package/views/dist/grid/chrome/GridFooter.js +55 -0
  795. package/views/dist/grid/chrome/GridGroupMenu.d.ts +47 -0
  796. package/views/dist/grid/chrome/GridGroupMenu.js +101 -0
  797. package/views/dist/grid/chrome/GridHeader.d.ts +83 -0
  798. package/views/dist/grid/chrome/GridHeader.js +58 -0
  799. package/views/dist/grid/chrome/GridLongTextEditor.d.ts +55 -0
  800. package/views/dist/grid/chrome/GridLongTextEditor.js +73 -0
  801. package/views/dist/grid/chrome/GridMenuRow.d.ts +15 -0
  802. package/views/dist/grid/chrome/GridMenuRow.js +15 -0
  803. package/views/dist/grid/chrome/GridNameEditor.d.ts +24 -0
  804. package/views/dist/grid/chrome/GridNameEditor.js +25 -0
  805. package/views/dist/grid/chrome/GridNumberEditor.d.ts +56 -0
  806. package/views/dist/grid/chrome/GridNumberEditor.js +42 -0
  807. package/views/dist/grid/chrome/GridPager.d.ts +7 -0
  808. package/views/dist/grid/chrome/GridPager.js +34 -0
  809. package/views/dist/grid/chrome/GridPlaceEditor.d.ts +29 -0
  810. package/views/dist/grid/chrome/GridPlaceEditor.js +26 -0
  811. package/views/dist/grid/chrome/GridRangeEditor.d.ts +35 -0
  812. package/views/dist/grid/chrome/GridRangeEditor.js +32 -0
  813. package/views/dist/grid/chrome/GridRelationEditor.d.ts +47 -0
  814. package/views/dist/grid/chrome/GridRelationEditor.js +99 -0
  815. package/views/dist/grid/chrome/GridResizeHandle.d.ts +19 -0
  816. package/views/dist/grid/chrome/GridResizeHandle.js +19 -0
  817. package/views/dist/grid/chrome/GridRow.d.ts +32 -0
  818. package/views/dist/grid/chrome/GridRow.js +171 -0
  819. package/views/dist/grid/chrome/GridRowActions.d.ts +37 -0
  820. package/views/dist/grid/chrome/GridRowActions.js +36 -0
  821. package/views/dist/grid/chrome/GridRowCells.d.ts +4 -0
  822. package/views/dist/grid/chrome/GridRowCells.js +157 -0
  823. package/views/dist/grid/chrome/GridRowGlyph.d.ts +14 -0
  824. package/views/dist/grid/chrome/GridRowGlyph.js +18 -0
  825. package/views/dist/grid/chrome/GridSelectEditor.d.ts +35 -0
  826. package/views/dist/grid/chrome/GridSelectEditor.js +58 -0
  827. package/views/dist/grid/chrome/GridStructure.d.ts +64 -0
  828. package/views/dist/grid/chrome/GridStructure.js +87 -0
  829. package/views/dist/grid/chrome/GridTable.d.ts +4 -0
  830. package/views/dist/grid/chrome/GridTable.js +394 -0
  831. package/views/dist/grid/chrome/GridTableSurface.d.ts +80 -0
  832. package/views/dist/grid/chrome/GridTableSurface.js +39 -0
  833. package/views/dist/grid/chrome/GridTextEditor.d.ts +49 -0
  834. package/views/dist/grid/chrome/GridTextEditor.js +51 -0
  835. package/views/dist/grid/chrome/GridValueListEditor.d.ts +38 -0
  836. package/views/dist/grid/chrome/GridValueListEditor.js +29 -0
  837. package/views/dist/grid/chrome/StuckMarker.d.ts +26 -0
  838. package/views/dist/grid/chrome/StuckMarker.js +44 -0
  839. package/views/dist/grid/chrome/cell-clipboard.d.ts +10 -0
  840. package/views/dist/grid/chrome/cell-clipboard.js +28 -0
  841. package/views/dist/grid/chrome/cell-cut-off.d.ts +11 -0
  842. package/views/dist/grid/chrome/cell-cut-off.js +20 -0
  843. package/views/dist/grid/chrome/cells.d.ts +23 -0
  844. package/views/dist/grid/chrome/cells.js +19 -0
  845. package/views/dist/grid/chrome/checks.d.ts +56 -0
  846. package/views/dist/grid/chrome/checks.js +48 -0
  847. package/views/dist/grid/chrome/column-glyph.d.ts +16 -0
  848. package/views/dist/grid/chrome/column-glyph.js +52 -0
  849. package/views/dist/grid/chrome/editors.d.ts +9 -0
  850. package/views/dist/grid/chrome/editors.js +10 -0
  851. package/views/dist/grid/chrome/grid-add-column-items.d.ts +13 -0
  852. package/views/dist/grid/chrome/grid-add-column-items.js +47 -0
  853. package/views/dist/grid/chrome/grid-body-place.d.ts +4 -0
  854. package/views/dist/grid/chrome/grid-body-place.js +15 -0
  855. package/views/dist/grid/chrome/grid-button.d.ts +32 -0
  856. package/views/dist/grid/chrome/grid-button.js +12 -0
  857. package/views/dist/grid/chrome/grid-cell-classes.d.ts +96 -0
  858. package/views/dist/grid/chrome/grid-cell-classes.js +70 -0
  859. package/views/dist/grid/chrome/grid-cell-link.d.ts +13 -0
  860. package/views/dist/grid/chrome/grid-cell-link.js +9 -0
  861. package/views/dist/grid/chrome/grid-column-menu-items.d.ts +78 -0
  862. package/views/dist/grid/chrome/grid-column-menu-items.js +292 -0
  863. package/views/dist/grid/chrome/grid-columns-template.d.ts +45 -0
  864. package/views/dist/grid/chrome/grid-columns-template.js +18 -0
  865. package/views/dist/grid/chrome/grid-edit-escape.d.ts +4 -0
  866. package/views/dist/grid/chrome/grid-edit-escape.js +12 -0
  867. package/views/dist/grid/chrome/grid-edit-session.d.ts +67 -0
  868. package/views/dist/grid/chrome/grid-edit-session.js +141 -0
  869. package/views/dist/grid/chrome/grid-editor-layer.d.ts +7 -0
  870. package/views/dist/grid/chrome/grid-editor-layer.js +1 -0
  871. package/views/dist/grid/chrome/grid-figure-value.d.ts +25 -0
  872. package/views/dist/grid/chrome/grid-figure-value.js +40 -0
  873. package/views/dist/grid/chrome/grid-fitted-box.d.ts +15 -0
  874. package/views/dist/grid/chrome/grid-fitted-box.js +26 -0
  875. package/views/dist/grid/chrome/grid-group-menu-items.d.ts +38 -0
  876. package/views/dist/grid/chrome/grid-group-menu-items.js +92 -0
  877. package/views/dist/grid/chrome/grid-group-menu-parts.d.ts +31 -0
  878. package/views/dist/grid/chrome/grid-group-menu-parts.js +21 -0
  879. package/views/dist/grid/chrome/grid-hover.d.ts +74 -0
  880. package/views/dist/grid/chrome/grid-hover.js +150 -0
  881. package/views/dist/grid/chrome/grid-lab.d.ts +7 -0
  882. package/views/dist/grid/chrome/grid-lab.js +7 -0
  883. package/views/dist/grid/chrome/grid-menu-focus.d.ts +65 -0
  884. package/views/dist/grid/chrome/grid-menu-focus.js +160 -0
  885. package/views/dist/grid/chrome/grid-menu-search.d.ts +7 -0
  886. package/views/dist/grid/chrome/grid-menu-search.js +7 -0
  887. package/views/dist/grid/chrome/grid-pages.d.ts +15 -0
  888. package/views/dist/grid/chrome/grid-pages.js +9 -0
  889. package/views/dist/grid/chrome/grid-row-menu-items.d.ts +49 -0
  890. package/views/dist/grid/chrome/grid-row-menu-items.js +159 -0
  891. package/views/dist/grid/chrome/grid-row-menu-key.d.ts +15 -0
  892. package/views/dist/grid/chrome/grid-row-menu-key.js +36 -0
  893. package/views/dist/grid/chrome/grid-row-props.d.ts +155 -0
  894. package/views/dist/grid/chrome/grid-row-props.js +1 -0
  895. package/views/dist/grid/chrome/grid-row-window.d.ts +78 -0
  896. package/views/dist/grid/chrome/grid-row-window.js +280 -0
  897. package/views/dist/grid/chrome/grid-rows-menu.d.ts +42 -0
  898. package/views/dist/grid/chrome/grid-rows-menu.js +85 -0
  899. package/views/dist/grid/chrome/grid-scroll-owner.d.ts +38 -0
  900. package/views/dist/grid/chrome/grid-scroll-owner.js +75 -0
  901. package/views/dist/grid/chrome/grid-styles.d.ts +50 -0
  902. package/views/dist/grid/chrome/grid-styles.js +11 -0
  903. package/views/dist/grid/chrome/grid-table-props.d.ts +310 -0
  904. package/views/dist/grid/chrome/grid-table-props.js +1 -0
  905. package/views/dist/grid/chrome/grid-wait.d.ts +22 -0
  906. package/views/dist/grid/chrome/grid-wait.js +4 -0
  907. package/views/dist/grid/chrome/useBarRoom.d.ts +19 -0
  908. package/views/dist/grid/chrome/useBarRoom.js +96 -0
  909. package/views/dist/grid/chrome/useGridBandFigures.d.ts +26 -0
  910. package/views/dist/grid/chrome/useGridBandFigures.js +50 -0
  911. package/views/dist/grid/chrome/useGridBatchApi.d.ts +34 -0
  912. package/views/dist/grid/chrome/useGridBatchApi.js +36 -0
  913. package/views/dist/grid/chrome/useGridBoxes.d.ts +22 -0
  914. package/views/dist/grid/chrome/useGridBoxes.js +22 -0
  915. package/views/dist/grid/chrome/useGridCellPick.d.ts +30 -0
  916. package/views/dist/grid/chrome/useGridCellPick.js +77 -0
  917. package/views/dist/grid/chrome/useGridColumnLayout.d.ts +32 -0
  918. package/views/dist/grid/chrome/useGridColumnLayout.js +251 -0
  919. package/views/dist/grid/chrome/useGridFocus.d.ts +48 -0
  920. package/views/dist/grid/chrome/useGridFocus.js +129 -0
  921. package/views/dist/grid/chrome/useGridHeaderDrag.d.ts +20 -0
  922. package/views/dist/grid/chrome/useGridHeaderDrag.js +37 -0
  923. package/views/dist/grid/chrome/useGridKeyboard.d.ts +65 -0
  924. package/views/dist/grid/chrome/useGridKeyboard.js +463 -0
  925. package/views/dist/grid/chrome/useGridLongPress.d.ts +30 -0
  926. package/views/dist/grid/chrome/useGridLongPress.js +98 -0
  927. package/views/dist/grid/chrome/useGridPartColumns.d.ts +5 -0
  928. package/views/dist/grid/chrome/useGridPartColumns.js +9 -0
  929. package/views/dist/grid/chrome/useGridPendingReconciliation.d.ts +12 -0
  930. package/views/dist/grid/chrome/useGridPendingReconciliation.js +32 -0
  931. package/views/dist/grid/chrome/useGridRailReveal.d.ts +57 -0
  932. package/views/dist/grid/chrome/useGridRailReveal.js +67 -0
  933. package/views/dist/grid/chrome/useGridRangeActions.d.ts +51 -0
  934. package/views/dist/grid/chrome/useGridRangeActions.js +199 -0
  935. package/views/dist/grid/chrome/useGridRangeGestures.d.ts +33 -0
  936. package/views/dist/grid/chrome/useGridRangeGestures.js +241 -0
  937. package/views/dist/grid/chrome/useGridRecorder.d.ts +16 -0
  938. package/views/dist/grid/chrome/useGridRecorder.js +144 -0
  939. package/views/dist/grid/chrome/useGridRowOpener.d.ts +41 -0
  940. package/views/dist/grid/chrome/useGridRowOpener.js +83 -0
  941. package/views/dist/grid/chrome/useGridScaleStyles.d.ts +3 -0
  942. package/views/dist/grid/chrome/useGridScaleStyles.js +28 -0
  943. package/views/dist/grid/chrome/useGridScrollArea.d.ts +47 -0
  944. package/views/dist/grid/chrome/useGridScrollArea.js +120 -0
  945. package/views/dist/grid/chrome/useGridTableInteractionModel.d.ts +81 -0
  946. package/views/dist/grid/chrome/useGridTableInteractionModel.js +336 -0
  947. package/views/dist/grid/chrome/useGridTableSelection.d.ts +31 -0
  948. package/views/dist/grid/chrome/useGridTableSelection.js +55 -0
  949. package/views/dist/grid/chrome/useHeaderDragReorder.d.ts +21 -0
  950. package/views/dist/grid/chrome/useHeaderDragReorder.js +218 -0
  951. package/views/dist/grid/core/clipboard-model.d.ts +123 -0
  952. package/views/dist/grid/core/clipboard-model.js +388 -0
  953. package/views/dist/grid/core/column-values.d.ts +27 -0
  954. package/views/dist/grid/core/column-values.js +76 -0
  955. package/views/dist/grid/core/commit-model.d.ts +48 -0
  956. package/views/dist/grid/core/commit-model.js +3 -0
  957. package/views/dist/grid/core/coordinates.d.ts +48 -0
  958. package/views/dist/grid/core/coordinates.js +27 -0
  959. package/views/dist/grid/core/edge-scroll.d.ts +21 -0
  960. package/views/dist/grid/core/edge-scroll.js +23 -0
  961. package/views/dist/grid/core/edit-values.d.ts +9 -0
  962. package/views/dist/grid/core/edit-values.js +1 -0
  963. package/views/dist/grid/core/editing-controller.d.ts +146 -0
  964. package/views/dist/grid/core/editing-controller.js +563 -0
  965. package/views/dist/grid/core/editing-model.d.ts +113 -0
  966. package/views/dist/grid/core/editing-model.js +168 -0
  967. package/views/dist/grid/core/flat-rows.d.ts +35 -0
  968. package/views/dist/grid/core/flat-rows.js +20 -0
  969. package/views/dist/grid/core/grid-aria.d.ts +31 -0
  970. package/views/dist/grid/core/grid-aria.js +41 -0
  971. package/views/dist/grid/core/grid-focus.d.ts +60 -0
  972. package/views/dist/grid/core/grid-focus.js +171 -0
  973. package/views/dist/grid/core/grid-recorder.d.ts +111 -0
  974. package/views/dist/grid/core/grid-recorder.js +223 -0
  975. package/views/dist/grid/core/grid-scale.d.ts +14 -0
  976. package/views/dist/grid/core/grid-scale.js +8 -0
  977. package/views/dist/grid/core/nav.d.ts +94 -0
  978. package/views/dist/grid/core/nav.js +92 -0
  979. package/views/dist/grid/core/part-edits.d.ts +18 -0
  980. package/views/dist/grid/core/part-edits.js +48 -0
  981. package/views/dist/grid/core/pending-reconciliation.d.ts +53 -0
  982. package/views/dist/grid/core/pending-reconciliation.js +60 -0
  983. package/views/dist/grid/core/range-model.d.ts +25 -0
  984. package/views/dist/grid/core/range-model.js +59 -0
  985. package/views/dist/grid/core/refusal-sentence.d.ts +3 -0
  986. package/views/dist/grid/core/refusal-sentence.js +15 -0
  987. package/views/dist/grid/core/row-opened-from.d.ts +21 -0
  988. package/views/dist/grid/core/row-opened-from.js +11 -0
  989. package/views/dist/grid/core/row-window.d.ts +40 -0
  990. package/views/dist/grid/core/row-window.js +43 -0
  991. package/views/dist/grid/core/spreadsheet-operations.d.ts +101 -0
  992. package/views/dist/grid/core/spreadsheet-operations.js +282 -0
  993. package/views/dist/grid/core/useGridEditing.d.ts +72 -0
  994. package/views/dist/grid/core/useGridEditing.js +105 -0
  995. package/views/dist/grid/core/useGridRange.d.ts +22 -0
  996. package/views/dist/grid/core/useGridRange.js +27 -0
  997. package/views/dist/grid/core/value-equality.d.ts +72 -0
  998. package/views/dist/grid/core/value-equality.js +104 -0
  999. package/views/dist/grid/core/write-states.d.ts +20 -0
  1000. package/views/dist/grid/core/write-states.js +21 -0
  1001. package/views/dist/grid/grid-format-props.d.ts +26 -0
  1002. package/views/dist/grid/grid-format-props.js +65 -0
  1003. package/views/dist/grid/index.d.ts +23 -0
  1004. package/views/dist/grid/index.js +7 -0
  1005. package/views/dist/grid/useGridTablePrefs.d.ts +48 -0
  1006. package/views/dist/grid/useGridTablePrefs.js +47 -0
  1007. package/views/dist/grid/useGridTableSettings.d.ts +60 -0
  1008. package/views/dist/grid/useGridTableSettings.js +61 -0
  1009. package/views/dist/grid-lab.d.ts +18 -0
  1010. package/views/dist/grid-lab.js +16 -0
  1011. package/views/dist/grouping/sort-groups.d.ts +17 -0
  1012. package/views/dist/grouping/sort-groups.js +33 -0
  1013. package/views/dist/grouping/types.d.ts +10 -0
  1014. package/views/dist/grouping/types.js +1 -0
  1015. package/views/dist/index.d.ts +31 -0
  1016. package/views/dist/index.js +30 -0
  1017. package/views/dist/internal/chip.d.ts +4 -0
  1018. package/views/dist/internal/chip.js +3 -0
  1019. package/views/dist/internal/count.d.ts +3 -0
  1020. package/views/dist/internal/count.js +3 -0
  1021. package/views/dist/internal/cx.d.ts +3 -0
  1022. package/views/dist/internal/cx.js +3 -0
  1023. package/views/dist/internal/reset.d.ts +9 -0
  1024. package/views/dist/internal/reset.js +1 -0
  1025. package/views/dist/internal/use-idle-write.d.ts +1 -0
  1026. package/views/dist/internal/use-idle-write.js +13 -0
  1027. package/views/dist/internal/viewport.d.ts +3 -0
  1028. package/views/dist/internal/viewport.js +15 -0
  1029. package/views/dist/internal/zone-clock.d.ts +20 -0
  1030. package/views/dist/internal/zone-clock.js +77 -0
  1031. package/views/dist/model/aggregates.d.ts +61 -0
  1032. package/views/dist/model/aggregates.js +134 -0
  1033. package/views/dist/model/body-frame.d.ts +34 -0
  1034. package/views/dist/model/body-frame.js +15 -0
  1035. package/views/dist/model/card-density.d.ts +8 -0
  1036. package/views/dist/model/card-density.js +10 -0
  1037. package/views/dist/model/card-layout.d.ts +85 -0
  1038. package/views/dist/model/card-layout.js +90 -0
  1039. package/views/dist/model/column-capabilities.d.ts +193 -0
  1040. package/views/dist/model/column-capabilities.js +280 -0
  1041. package/views/dist/model/column-filters.d.ts +109 -0
  1042. package/views/dist/model/column-filters.js +348 -0
  1043. package/views/dist/model/column-format.d.ts +103 -0
  1044. package/views/dist/model/column-format.js +1 -0
  1045. package/views/dist/model/column-from.d.ts +28 -0
  1046. package/views/dist/model/column-from.js +165 -0
  1047. package/views/dist/model/column-inspect.d.ts +28 -0
  1048. package/views/dist/model/column-inspect.js +17 -0
  1049. package/views/dist/model/column-knobs.d.ts +20 -0
  1050. package/views/dist/model/column-knobs.js +16 -0
  1051. package/views/dist/model/column-mark.d.ts +13 -0
  1052. package/views/dist/model/column-mark.js +10 -0
  1053. package/views/dist/model/column-money.d.ts +13 -0
  1054. package/views/dist/model/column-money.js +27 -0
  1055. package/views/dist/model/column-order.d.ts +36 -0
  1056. package/views/dist/model/column-order.js +68 -0
  1057. package/views/dist/model/column-schema.d.ts +355 -0
  1058. package/views/dist/model/column-schema.js +1 -0
  1059. package/views/dist/model/column-sort.d.ts +28 -0
  1060. package/views/dist/model/column-sort.js +25 -0
  1061. package/views/dist/model/column-state.d.ts +72 -0
  1062. package/views/dist/model/column-state.js +92 -0
  1063. package/views/dist/model/column-types.d.ts +97 -0
  1064. package/views/dist/model/column-types.js +50 -0
  1065. package/views/dist/model/column-warnings.d.ts +44 -0
  1066. package/views/dist/model/column-warnings.js +24 -0
  1067. package/views/dist/model/density.d.ts +3 -0
  1068. package/views/dist/model/density.js +13 -0
  1069. package/views/dist/model/field-type-of.d.ts +21 -0
  1070. package/views/dist/model/field-type-of.js +11 -0
  1071. package/views/dist/model/filter-capabilities.d.ts +1 -0
  1072. package/views/dist/model/filter-capabilities.js +1 -0
  1073. package/views/dist/model/index.d.ts +38 -0
  1074. package/views/dist/model/index.js +20 -0
  1075. package/views/dist/model/one-value.d.ts +6 -0
  1076. package/views/dist/model/one-value.js +5 -0
  1077. package/views/dist/model/part-columns.d.ts +17 -0
  1078. package/views/dist/model/part-columns.js +69 -0
  1079. package/views/dist/model/part-rows.d.ts +21 -0
  1080. package/views/dist/model/part-rows.js +35 -0
  1081. package/views/dist/model/part-write.d.ts +11 -0
  1082. package/views/dist/model/part-write.js +52 -0
  1083. package/views/dist/model/place-parts.d.ts +6 -0
  1084. package/views/dist/model/place-parts.js +14 -0
  1085. package/views/dist/model/preferences.d.ts +131 -0
  1086. package/views/dist/model/preferences.js +67 -0
  1087. package/views/dist/model/prefs-buckets.d.ts +145 -0
  1088. package/views/dist/model/prefs-buckets.js +68 -0
  1089. package/views/dist/model/relation-filters.d.ts +64 -0
  1090. package/views/dist/model/relation-filters.js +93 -0
  1091. package/views/dist/model/render-count.d.ts +8 -0
  1092. package/views/dist/model/render-count.js +35 -0
  1093. package/views/dist/model/row-icon.d.ts +29 -0
  1094. package/views/dist/model/row-icon.js +5 -0
  1095. package/views/dist/model/settings-columns.d.ts +34 -0
  1096. package/views/dist/model/settings-columns.js +146 -0
  1097. package/views/dist/model/settings-look.d.ts +17 -0
  1098. package/views/dist/model/settings-look.js +23 -0
  1099. package/views/dist/model/view-rules.d.ts +92 -0
  1100. package/views/dist/model/view-rules.js +300 -0
  1101. package/views/dist/panels/availability.d.ts +26 -0
  1102. package/views/dist/panels/availability.js +28 -0
  1103. package/views/dist/panels/customize-body.d.ts +45 -0
  1104. package/views/dist/panels/customize-body.js +292 -0
  1105. package/views/dist/panels/filter/DateFilterBody.d.ts +44 -0
  1106. package/views/dist/panels/filter/DateFilterBody.js +84 -0
  1107. package/views/dist/panels/filter/DateFilterCalendar.d.ts +19 -0
  1108. package/views/dist/panels/filter/DateFilterCalendar.js +37 -0
  1109. package/views/dist/panels/filter/DateFilterInput.d.ts +16 -0
  1110. package/views/dist/panels/filter/DateFilterInput.js +36 -0
  1111. package/views/dist/panels/filter/FilterIcon.d.ts +7 -0
  1112. package/views/dist/panels/filter/FilterIcon.js +15 -0
  1113. package/views/dist/panels/filter/MenuSelect.d.ts +12 -0
  1114. package/views/dist/panels/filter/MenuSelect.js +50 -0
  1115. package/views/dist/panels/filter/NumberFilterBody.d.ts +21 -0
  1116. package/views/dist/panels/filter/NumberFilterBody.js +75 -0
  1117. package/views/dist/panels/filter/RangeFilterBody.d.ts +19 -0
  1118. package/views/dist/panels/filter/RangeFilterBody.js +78 -0
  1119. package/views/dist/panels/filter/RelationFilterBody.d.ts +17 -0
  1120. package/views/dist/panels/filter/RelationFilterBody.js +20 -0
  1121. package/views/dist/panels/filter/TextFilterBody.d.ts +31 -0
  1122. package/views/dist/panels/filter/TextFilterBody.js +43 -0
  1123. package/views/dist/panels/filter/TimeScopeDetail.d.ts +6 -0
  1124. package/views/dist/panels/filter/TimeScopeDetail.js +47 -0
  1125. package/views/dist/panels/filter/details.d.ts +21 -0
  1126. package/views/dist/panels/filter/details.js +100 -0
  1127. package/views/dist/panels/filter/filter-list.d.ts +23 -0
  1128. package/views/dist/panels/filter/filter-list.js +38 -0
  1129. package/views/dist/panels/group-sort.d.ts +24 -0
  1130. package/views/dist/panels/group-sort.js +58 -0
  1131. package/views/dist/panels/index.d.ts +31 -0
  1132. package/views/dist/panels/index.js +22 -0
  1133. package/views/dist/panels/labels.d.ts +37 -0
  1134. package/views/dist/panels/labels.js +166 -0
  1135. package/views/dist/panels/model.d.ts +429 -0
  1136. package/views/dist/panels/model.js +95 -0
  1137. package/views/dist/panels/panel-button.d.ts +50 -0
  1138. package/views/dist/panels/panel-button.js +21 -0
  1139. package/views/dist/panels/quick/model.d.ts +102 -0
  1140. package/views/dist/panels/quick/model.js +102 -0
  1141. package/views/dist/panels/react/GroupBucketsList.d.ts +16 -0
  1142. package/views/dist/panels/react/GroupBucketsList.js +44 -0
  1143. package/views/dist/panels/react/LayoutColumnsList.d.ts +24 -0
  1144. package/views/dist/panels/react/LayoutColumnsList.js +101 -0
  1145. package/views/dist/panels/react/PopoverColumnDetail.d.ts +11 -0
  1146. package/views/dist/panels/react/PopoverColumnDetail.js +24 -0
  1147. package/views/dist/panels/react/chrome.d.ts +20 -0
  1148. package/views/dist/panels/react/chrome.js +9 -0
  1149. package/views/dist/panels/react/column-refusals.d.ts +7 -0
  1150. package/views/dist/panels/react/column-refusals.js +14 -0
  1151. package/views/dist/panels/react/customize-body.d.ts +15 -0
  1152. package/views/dist/panels/react/customize-body.js +63 -0
  1153. package/views/dist/panels/react/customize.d.ts +33 -0
  1154. package/views/dist/panels/react/customize.js +113 -0
  1155. package/views/dist/panels/react/drag-kit.d.ts +55 -0
  1156. package/views/dist/panels/react/drag-kit.js +89 -0
  1157. package/views/dist/panels/react/drag-load.d.ts +8 -0
  1158. package/views/dist/panels/react/drag-load.js +24 -0
  1159. package/views/dist/panels/react/drag.d.ts +2 -0
  1160. package/views/dist/panels/react/drag.js +5 -0
  1161. package/views/dist/panels/react/field-editor.d.ts +10 -0
  1162. package/views/dist/panels/react/field-editor.js +1 -0
  1163. package/views/dist/panels/react/filter/FilterEditor.d.ts +24 -0
  1164. package/views/dist/panels/react/filter/FilterEditor.js +344 -0
  1165. package/views/dist/panels/react/filter/FilterFieldList.d.ts +15 -0
  1166. package/views/dist/panels/react/filter/FilterFieldList.js +57 -0
  1167. package/views/dist/panels/react/filter/FilterValueBody.d.ts +5 -0
  1168. package/views/dist/panels/react/filter/FilterValueBody.js +22 -0
  1169. package/views/dist/panels/react/filter/PhoneFilterEditor.d.ts +22 -0
  1170. package/views/dist/panels/react/filter/PhoneFilterEditor.js +186 -0
  1171. package/views/dist/panels/react/filter/editor-ctx.d.ts +98 -0
  1172. package/views/dist/panels/react/filter/editor-ctx.js +131 -0
  1173. package/views/dist/panels/react/filter/filter-body.d.ts +19 -0
  1174. package/views/dist/panels/react/filter/filter-body.js +72 -0
  1175. package/views/dist/panels/react/filter/filter-part-body.d.ts +20 -0
  1176. package/views/dist/panels/react/filter/filter-part-body.js +23 -0
  1177. package/views/dist/panels/react/filter/rule-writes.d.ts +56 -0
  1178. package/views/dist/panels/react/filter/rule-writes.js +152 -0
  1179. package/views/dist/panels/react/filter-panel.d.ts +18 -0
  1180. package/views/dist/panels/react/filter-panel.js +48 -0
  1181. package/views/dist/panels/react/layout-detail.d.ts +4 -0
  1182. package/views/dist/panels/react/layout-detail.js +29 -0
  1183. package/views/dist/panels/react/order-details.d.ts +32 -0
  1184. package/views/dist/panels/react/order-details.js +89 -0
  1185. package/views/dist/panels/react/panel-header.d.ts +10 -0
  1186. package/views/dist/panels/react/panel-header.js +20 -0
  1187. package/views/dist/panels/react/panel-sheet.d.ts +23 -0
  1188. package/views/dist/panels/react/panel-sheet.js +24 -0
  1189. package/views/dist/panels/react/popover.d.ts +71 -0
  1190. package/views/dist/panels/react/popover.js +47 -0
  1191. package/views/dist/panels/react/quick/QuickFiltersPanel.d.ts +12 -0
  1192. package/views/dist/panels/react/quick/QuickFiltersPanel.js +148 -0
  1193. package/views/dist/panels/react/quick/QuickFiltersReminder.d.ts +13 -0
  1194. package/views/dist/panels/react/quick/QuickFiltersReminder.js +46 -0
  1195. package/views/dist/panels/react/root-list.d.ts +6 -0
  1196. package/views/dist/panels/react/root-list.js +31 -0
  1197. package/views/dist/panels/react/sort/SortEditor.d.ts +24 -0
  1198. package/views/dist/panels/react/sort/SortEditor.js +290 -0
  1199. package/views/dist/panels/react/sort/SortFieldList.d.ts +12 -0
  1200. package/views/dist/panels/react/sort/SortFieldList.js +34 -0
  1201. package/views/dist/panels/react/sort/use-sort-drag.d.ts +17 -0
  1202. package/views/dist/panels/react/sort/use-sort-drag.js +39 -0
  1203. package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +62 -0
  1204. package/views/dist/panels/react/toolbar/ReadyToolbar.js +240 -0
  1205. package/views/dist/panels/react/toolbar/Toolbar.d.ts +30 -0
  1206. package/views/dist/panels/react/toolbar/Toolbar.js +113 -0
  1207. package/views/dist/panels/react/toolbar/ToolbarAdvancedFilters.d.ts +25 -0
  1208. package/views/dist/panels/react/toolbar/ToolbarAdvancedFilters.js +85 -0
  1209. package/views/dist/panels/react/toolbar/ToolbarAsideFilter.d.ts +20 -0
  1210. package/views/dist/panels/react/toolbar/ToolbarAsideFilter.js +78 -0
  1211. package/views/dist/panels/react/toolbar/ToolbarBarFilter.d.ts +21 -0
  1212. package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +126 -0
  1213. package/views/dist/panels/react/toolbar/ToolbarButton.d.ts +5 -0
  1214. package/views/dist/panels/react/toolbar/ToolbarButton.js +9 -0
  1215. package/views/dist/panels/react/toolbar/ToolbarFilter.d.ts +28 -0
  1216. package/views/dist/panels/react/toolbar/ToolbarFilter.js +42 -0
  1217. package/views/dist/panels/react/toolbar/ToolbarFilterSheet.d.ts +12 -0
  1218. package/views/dist/panels/react/toolbar/ToolbarFilterSheet.js +30 -0
  1219. package/views/dist/panels/react/toolbar/ToolbarFilters.d.ts +19 -0
  1220. package/views/dist/panels/react/toolbar/ToolbarFilters.js +281 -0
  1221. package/views/dist/panels/react/toolbar/ToolbarNew.d.ts +12 -0
  1222. package/views/dist/panels/react/toolbar/ToolbarNew.js +31 -0
  1223. package/views/dist/panels/react/toolbar/ToolbarOptions.d.ts +29 -0
  1224. package/views/dist/panels/react/toolbar/ToolbarOptions.js +33 -0
  1225. package/views/dist/panels/react/toolbar/ToolbarQuickFilters.d.ts +14 -0
  1226. package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +16 -0
  1227. package/views/dist/panels/react/toolbar/ToolbarSave.d.ts +8 -0
  1228. package/views/dist/panels/react/toolbar/ToolbarSave.js +42 -0
  1229. package/views/dist/panels/react/toolbar/ToolbarSearch.d.ts +9 -0
  1230. package/views/dist/panels/react/toolbar/ToolbarSearch.js +84 -0
  1231. package/views/dist/panels/react/toolbar/ToolbarSort.d.ts +14 -0
  1232. package/views/dist/panels/react/toolbar/ToolbarSort.js +29 -0
  1233. package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +18 -0
  1234. package/views/dist/panels/react/toolbar/ToolbarSortPill.js +81 -0
  1235. package/views/dist/panels/react/toolbar/ToolbarViews.d.ts +13 -0
  1236. package/views/dist/panels/react/toolbar/ToolbarViews.js +29 -0
  1237. package/views/dist/panels/react/toolbar/bar-writes.d.ts +31 -0
  1238. package/views/dist/panels/react/toolbar/bar-writes.js +82 -0
  1239. package/views/dist/panels/react/toolbar/context.d.ts +83 -0
  1240. package/views/dist/panels/react/toolbar/context.js +74 -0
  1241. package/views/dist/panels/react/toolbar/panel-part.d.ts +54 -0
  1242. package/views/dist/panels/react/toolbar/panel-part.js +49 -0
  1243. package/views/dist/panels/react/toolbar/panel-state.d.ts +9 -0
  1244. package/views/dist/panels/react/toolbar/panel-state.js +12 -0
  1245. package/views/dist/panels/react/toolbar/use-box-narrow.d.ts +2 -0
  1246. package/views/dist/panels/react/toolbar/use-box-narrow.js +18 -0
  1247. package/views/dist/panels/react/toolbar/use-give-way.d.ts +4 -0
  1248. package/views/dist/panels/react/toolbar/use-give-way.js +110 -0
  1249. package/views/dist/panels/react/toolbar/use-list-settings-state.d.ts +10 -0
  1250. package/views/dist/panels/react/toolbar/use-list-settings-state.js +10 -0
  1251. package/views/dist/panels/react/view-actions.d.ts +4 -0
  1252. package/views/dist/panels/react/view-actions.js +47 -0
  1253. package/views/dist/panels/react/view-footer.d.ts +20 -0
  1254. package/views/dist/panels/react/view-footer.js +41 -0
  1255. package/views/dist/panels/react/views-row/FoldingViewRow.d.ts +5 -0
  1256. package/views/dist/panels/react/views-row/FoldingViewRow.js +137 -0
  1257. package/views/dist/panels/react/views-row/HScrollRow.d.ts +7 -0
  1258. package/views/dist/panels/react/views-row/HScrollRow.js +42 -0
  1259. package/views/dist/panels/react/views-row/PillGroup.d.ts +30 -0
  1260. package/views/dist/panels/react/views-row/PillGroup.js +85 -0
  1261. package/views/dist/panels/react/views-row/ViewAxes.d.ts +9 -0
  1262. package/views/dist/panels/react/views-row/ViewAxes.js +16 -0
  1263. package/views/dist/panels/react/views-row/ViewCreatePill.d.ts +7 -0
  1264. package/views/dist/panels/react/views-row/ViewCreatePill.js +28 -0
  1265. package/views/dist/panels/react/views-row/ViewPicker.d.ts +5 -0
  1266. package/views/dist/panels/react/views-row/ViewPicker.js +112 -0
  1267. package/views/dist/panels/react/views-row/ViewPickerRow.d.ts +7 -0
  1268. package/views/dist/panels/react/views-row/ViewPickerRow.js +47 -0
  1269. package/views/dist/panels/react/views-row/ViewTabs.d.ts +31 -0
  1270. package/views/dist/panels/react/views-row/ViewTabs.js +29 -0
  1271. package/views/dist/panels/react/views-row/in-frame.d.ts +8 -0
  1272. package/views/dist/panels/react/views-row/in-frame.js +9 -0
  1273. package/views/dist/panels/react/views-row/menu-classes.d.ts +6 -0
  1274. package/views/dist/panels/react/views-row/menu-classes.js +3 -0
  1275. package/views/dist/panels/react/views-row/use-anchored-toggle.d.ts +19 -0
  1276. package/views/dist/panels/react/views-row/use-anchored-toggle.js +31 -0
  1277. package/views/dist/panels/react.d.ts +67 -0
  1278. package/views/dist/panels/react.js +58 -0
  1279. package/views/dist/panels/settings/axes.d.ts +28 -0
  1280. package/views/dist/panels/settings/axes.js +71 -0
  1281. package/views/dist/panels/settings/filter-groups.d.ts +58 -0
  1282. package/views/dist/panels/settings/filter-groups.js +305 -0
  1283. package/views/dist/panels/settings/filters.d.ts +20 -0
  1284. package/views/dist/panels/settings/filters.js +128 -0
  1285. package/views/dist/panels/settings/group-buckets.d.ts +24 -0
  1286. package/views/dist/panels/settings/group-buckets.js +69 -0
  1287. package/views/dist/panels/settings/input.d.ts +84 -0
  1288. package/views/dist/panels/settings/input.js +1 -0
  1289. package/views/dist/panels/settings/layout.d.ts +5 -0
  1290. package/views/dist/panels/settings/layout.js +259 -0
  1291. package/views/dist/panels/settings/order.d.ts +21 -0
  1292. package/views/dist/panels/settings/order.js +227 -0
  1293. package/views/dist/panels/settings/settings-panels.d.ts +21 -0
  1294. package/views/dist/panels/settings/settings-panels.js +33 -0
  1295. package/views/dist/panels/settings/sort-keys.d.ts +25 -0
  1296. package/views/dist/panels/settings/sort-keys.js +74 -0
  1297. package/views/dist/panels/settings/sorts.d.ts +33 -0
  1298. package/views/dist/panels/settings/sorts.js +135 -0
  1299. package/views/dist/panels/sort-body-options.d.ts +4 -0
  1300. package/views/dist/panels/sort-body-options.js +10 -0
  1301. package/views/dist/panels/toolbar/clear.d.ts +9 -0
  1302. package/views/dist/panels/toolbar/clear.js +33 -0
  1303. package/views/dist/panels/toolbar/counts.d.ts +21 -0
  1304. package/views/dist/panels/toolbar/counts.js +29 -0
  1305. package/views/dist/panels/toolbar/edit-view.d.ts +5 -0
  1306. package/views/dist/panels/toolbar/edit-view.js +18 -0
  1307. package/views/dist/panels/toolbar/filter-words.d.ts +42 -0
  1308. package/views/dist/panels/toolbar/filter-words.js +145 -0
  1309. package/views/dist/panels/toolbar/model.d.ts +74 -0
  1310. package/views/dist/panels/toolbar/model.js +110 -0
  1311. package/views/dist/panels/use-filter-opened.d.ts +8 -0
  1312. package/views/dist/panels/use-filter-opened.js +11 -0
  1313. package/views/dist/panels/view-state.d.ts +38 -0
  1314. package/views/dist/panels/view-state.js +1 -0
  1315. package/views/dist/panels/views-row/model.d.ts +141 -0
  1316. package/views/dist/panels/views-row/model.js +24 -0
  1317. package/views/dist/provider/ViewsProvider.d.ts +103 -0
  1318. package/views/dist/provider/ViewsProvider.js +75 -0
  1319. package/views/dist/provider/components.d.ts +1375 -0
  1320. package/views/dist/provider/components.js +5 -0
  1321. package/views/dist/provider/context.d.ts +58 -0
  1322. package/views/dist/provider/context.js +10 -0
  1323. package/views/dist/provider/desktop.d.ts +12 -0
  1324. package/views/dist/provider/desktop.js +25 -0
  1325. package/views/dist/provider/icons.d.ts +6 -0
  1326. package/views/dist/provider/icons.js +1 -0
  1327. package/views/dist/provider/menu-groups.d.ts +9 -0
  1328. package/views/dist/provider/menu-groups.js +44 -0
  1329. package/views/dist/provider/missing-slot.d.ts +10 -0
  1330. package/views/dist/provider/missing-slot.js +15 -0
  1331. package/views/dist/provider/plain-input.d.ts +9 -0
  1332. package/views/dist/provider/plain-input.js +7 -0
  1333. package/views/dist/provider/ports.d.ts +57 -0
  1334. package/views/dist/provider/ports.js +9 -0
  1335. package/views/dist/react.d.ts +14 -0
  1336. package/views/dist/react.js +5 -0
  1337. package/views/dist/selection/SelectCheckbox.d.ts +19 -0
  1338. package/views/dist/selection/SelectCheckbox.js +11 -0
  1339. package/views/dist/selection/SelectionBar.d.ts +18 -0
  1340. package/views/dist/selection/SelectionBar.js +100 -0
  1341. package/views/dist/selection/SelectionBarPhone.d.ts +3 -0
  1342. package/views/dist/selection/SelectionBarPhone.js +14 -0
  1343. package/views/dist/selection/bar-overflow.d.ts +12 -0
  1344. package/views/dist/selection/bar-overflow.js +55 -0
  1345. package/views/dist/selection/bar-parts.d.ts +17 -0
  1346. package/views/dist/selection/bar-parts.js +19 -0
  1347. package/views/dist/selection/bar-room.d.ts +7 -0
  1348. package/views/dist/selection/bar-room.js +3 -0
  1349. package/views/dist/selection/index.d.ts +9 -0
  1350. package/views/dist/selection/index.js +7 -0
  1351. package/views/dist/selection/model.d.ts +55 -0
  1352. package/views/dist/selection/model.js +86 -0
  1353. package/views/dist/selection/row-click.d.ts +35 -0
  1354. package/views/dist/selection/row-click.js +20 -0
  1355. package/views/dist/selection/types.d.ts +21 -0
  1356. package/views/dist/selection/types.js +1 -0
  1357. package/views/dist/selection/useCheckDragSelect.d.ts +61 -0
  1358. package/views/dist/selection/useCheckDragSelect.js +166 -0
  1359. package/views/dist/selection/useListSelection.d.ts +39 -0
  1360. package/views/dist/selection/useListSelection.js +48 -0
  1361. package/views/dist/selection/useListSelectionShortcuts.d.ts +7 -0
  1362. package/views/dist/selection/useListSelectionShortcuts.js +14 -0
  1363. package/views/dist/selection/useRestIntent.d.ts +18 -0
  1364. package/views/dist/selection/useRestIntent.js +35 -0
  1365. package/views/dist/selection/verbs.d.ts +41 -0
  1366. package/views/dist/selection/verbs.js +1 -0
  1367. package/views/docs/contract.md +1181 -0
  1368. package/views/docs/getting-started.md +250 -0
  1369. package/views/docs/guides/atoms.md +305 -0
  1370. package/views/docs/guides/cells.md +302 -0
  1371. package/views/docs/guides/columns.md +413 -0
  1372. package/views/docs/guides/display.md +205 -0
  1373. package/views/docs/guides/editors.md +496 -0
  1374. package/views/docs/guides/ports.md +246 -0
  1375. package/views/docs/guides/selection.md +284 -0
  1376. package/views/docs/guides/the-grid.md +736 -0
  1377. package/views/docs/guides/the-provider.md +478 -0
  1378. package/views/docs/index.md +54 -0
  1379. package/views/docs/install.md +74 -0
  1380. package/views/docs/reference/cells.md +28 -0
  1381. package/views/docs/reference/display.md +46 -0
  1382. package/views/docs/reference/editors-chips.md +6 -0
  1383. package/views/docs/reference/editors-date.md +8 -0
  1384. package/views/docs/reference/editors-location.md +12 -0
  1385. package/views/docs/reference/editors-name.md +8 -0
  1386. package/views/docs/reference/editors-number.md +13 -0
  1387. package/views/docs/reference/editors-open-values.md +10 -0
  1388. package/views/docs/reference/editors-panel.md +12 -0
  1389. package/views/docs/reference/editors-range.md +8 -0
  1390. package/views/docs/reference/editors-relation.md +12 -0
  1391. package/views/docs/reference/editors-select.md +9 -0
  1392. package/views/docs/reference/editors-session.md +13 -0
  1393. package/views/docs/reference/editors-text.md +9 -0
  1394. package/views/docs/reference/editors-value-list.md +6 -0
  1395. package/views/docs/reference/editors.md +5 -0
  1396. package/views/docs/reference/field-row.md +16 -0
  1397. package/views/docs/reference/grid.md +64 -0
  1398. package/views/docs/reference/panels-react.md +172 -0
  1399. package/views/docs/reference/panels.md +220 -0
  1400. package/views/docs/reference/react.md +164 -0
  1401. package/views/docs/reference/selection.md +41 -0
  1402. package/views/docs/reference/views.md +638 -0
  1403. package/views/docs/reshaping.md +19 -0
  1404. package/views/skills/views/SKILL.md +103 -0
@@ -0,0 +1,172 @@
1
+ # `viewkitjs/views/panels/react`
2
+
3
+ Import from `viewkitjs/views/panels/react` for the panels as they draw: each is a client component that reads your `ViewsProvider` (its components, atoms, icons, conventions and words), so it renders under the provider your app mounts. The door carries the client directive. What the panels edit and say, the settings and their labels, is the pure door [`viewkitjs/views/panels`](./panels.md), which a server file may read without shipping a panel. Rows draw through the panels' atoms, and a calendar through the `RangeCalendar` atom (see [the atoms](../contract.md#the-atoms)); every word is a `views.panels.*` key.
4
+
5
+ ## The filter panel
6
+
7
+ - `CompactFilterList` — the Filter drill-in: a row per filter, grouped under each filter's `section`, then the time scope and the date ranges; a press opens that row's detail through `onOpenPanel`.
8
+ - `dimensionRows` — the same rows without the scroll box, for a root list that shows them unfolded.
9
+ - `FilterSectionHeading` — a section's rule and heading in the filter panel, and the Where heading inside a relation's filter.
10
+ - `FilterIcon` — a filter row's glyph: the filter's own `icon`, else its kind's (`filterStatus`, `filterCategory`, `filterMetric`), else `filter`.
11
+ - `CompactFilterDetail` — one filter's page: the body for its type, an unavailable filter's reason and its Clear saved filter, a multi filter's ticked options, or a single filter's options after its All row. A relation's Where row opens its far field through `onOpenField`. Handed `onConverted`, a filter whose rule can turn advanced (its `convert`, with and/or groups) shows Convert to advanced filter at its foot (`data-slot="vk-filter-convert"`); pressed, it converts, then calls `onConverted`. `FilterPanelContent` hands its own `onConverted` through; the toolbar's Filter and Customize hand one on a computer only.
12
+ - `TextFilterBody` — a text filter's box and operators; the box commits after a short idle, on Enter or on its clear, and what still waits as it goes away (a Sheet or popover closing, Back), as the number, range and date boxes do.
13
+ - `NumberFilterBody` — a number filter's bound or bounds and operators; a duration reads and writes the cell's own wording, stored in the column's unit.
14
+ - `RangeFilterBody` — a range filter's presets, bounds and operators; an empty bound is an open end.
15
+ - `RelationFilterBody` — a relation filter's Any, No and Every, the sentence that says what the list shows, and the far fields as Where rows your surface draws.
16
+ - `DateFilterBody` — a date filter's editor: the operator through your `Menu`, the relative direction and unit, the date boxes and the month. `operator={false}` leaves the operator's menu out, for a surface that picks it in a box of its own (the filter editor).
17
+ - `DateFilterFields` — everything under the operator, for a surface that draws its own operator (a phone's sheet).
18
+ - `useDateFilterEditor` — the date editor's state: the rule, the end being picked, the boxes' refs, and its setters.
19
+ - `DateFilterEditor` — what `useDateFilterEditor` returns.
20
+ - `DateFilterCalendar` — the date filter's month, through `RangeCalendar`: a press sets the end being picked and hands the caret to the other end's box; a relative rule paints its window and takes no press.
21
+ - `DateFilterEditingEnd` — which end a press sets, `from` or `to`.
22
+ - `DateFilterInput` — one end's typed date, committed once it reads as a whole day, or on its clear.
23
+ - `CompactToggleDetail` — a toggle's On and Off; a pick goes back.
24
+ - `CompactDateRangeDetail` — a date range's month, with a Clear under it while either end is set.
25
+ - `CompactTimeScopeDetail` — a time scope's presets and its Custom row, which opens a month; a press on a finished custom range starts a new one, and your popover's back arrow steps from the month to the presets through `registerBackHandler`.
26
+
27
+ ## The views row
28
+
29
+ The row of views over a list, and any row of pills: each pill is your `Pill` atom, a pill's verbs open through your `Menu`, the folded views and the picker's list through your `Popover`, a view's glyph through your `AppIcon`. The pills drag with dnd-kit, by the mouse and the keyboard (Space on a pill's grip, the arrows, Space), within their block: a private view moves among the private ones, a shared view among the shared. A pill's verbs open on a right-click, the active pill's on a click on it too, another pill's click still picking it. Each pill handed verbs has its `Menu` drawn beside it in the row, so a closed `Menu` must render nothing in place (a portaled popup does): the fold measures the row's children. Install `@dnd-kit/core`, `@dnd-kit/sortable` and `@dnd-kit/utilities` to use it: the pills, the sort's rules, the Columns list and the group order the door loads with `import()` as it loads (in a bundler, a chunk of its own); they draw still (no grip lifts) on the server, while hydrating and until they have arrived; the first time they arrive on a page, the rows already drawn mount again, so a pill that had focus loses it and an open pill's menu closes. The axes it draws are `/panels`' (`ViewTabOption`, `CollectionViewsConfig` and the rest).
30
+
31
+ - `loadPanelsDrag` — loads the drag library the parts that drag use, once: resolves `true` once it has loaded, `false` when it isn't installed (or didn't arrive; a later call tries again). The door starts it as it loads; a test that drags awaits it first (`beforeAll(() => loadPanelsDrag())`), so a list drags on its first render.
32
+ - `PillGroup` — a single-select drawn as pills, `solid` or `plain`, `default` or `sm`, reordering by drag when handed `onReorder`. Its options are `PillOption`s.
33
+ - `HScrollRow` — a scroll rail that keeps the active pill in view, its width and end room from `--vk-scroll-row-inset` and `--vk-scroll-row-end`.
34
+ - `ViewTabs` — one axis as plain pills on a scroll rail.
35
+ - `toPillOptions` — views turned into pill options: the label and count joined by `views.panels.view-count`, a slot's colours, the glyph by your `AppIcon`.
36
+ - `FoldingViewRow` — the saved-views row that folds what doesn't fit into a "+N" chip, never folding the active view, and closes with the + when the axis grows. Handed `folded`, as a folding toolbar line hands it, it folds that many tabs and measures nothing of its own.
37
+ - `ViewPicker` — the same axis as one chip naming the active view, its views in a list: shared, then personal, a search past five, and "New view…" last. The list opens in your `Popover` at the chip; on a phone (in a `Toolbar`, its phone form; elsewhere your provider's `desktopQuery`) in your `Sheet` (`snap: "auto"`, titled `views.panels.views-list`), its search not taking the focus. Handed a `ViewsListBody` in your components map, the chip opens it in place of its own list, in the same `Popover` and `Sheet`: it is handed the views as data, a pick or an order is written once it fits the axis, its `onDone` closes the list, and on a phone it gets the ✕ as its `actions` only where your sheet's head doesn't draw it ([the components map](../contract.md#the-components-map)).
38
+ - `ViewPickerRow` — one view as a row of a list, with the active view's `⋮`.
39
+ - `ViewCreatePill` — the + that creates a view.
40
+ - `ViewAxes` — an axis or several on one row: one axis at the row's size folds, peer axes share one rail, each in its own track. `folded` is handed on to the one axis's `FoldingViewRow`.
41
+
42
+ ## The Sort and Group panels
43
+
44
+ A panel's list keeps `--vk-panel-padding` from its edge ([Tokens](../contract.md#tokens)). Each panel's root is a `data-vs-detail` list and each row a `data-vs-row`, so a host that frames a panel styles it through those. This is the one door that may reach dnd-kit, the package's optional peers: the Columns list, the group order, the view pills and the sort's rules drag through it. What a screen reader hears of their drags, the keyboard instructions and each pick-up, move, drop and cancel, is worded through your `messages` (`views.panels.drag-*`), naming the row by its label. It reaches them only through `import()`, started as it loads, so the door itself loads without them; an app that renders a part that drags installs `@dnd-kit/core`, `@dnd-kit/sortable` and `@dnd-kit/utilities`, and an app that takes only the grid, or only the panels' pure door, never does.
45
+
46
+ - `CompactSortDetail` — Sort's page: every option the list sorts by, the current one ticked with its direction arrow, and a search once there are more than eight (`GROUP_BY_SEARCH_AFTER`). Takes `sort` (`SortConfig`); a pick sorts by that option in its own direction.
47
+ - `CompactGroupDetail` — the Group panel: Group by, Sort and Date by as rows that open pages of their own, Hide empty groups as a switch, the Groups to show, hide and drag, and Remove grouping. Takes `group` (`GroupConfig`) and `onOpenPanel`, called with `{ type: "groupBy" }`, `{ type: "groupSort" }` or `{ type: "groupDateBy" }`. A `group` with no `hideEmpty` or `groups` draws no such section.
48
+ - `CompactGroupByDetail` — Group by's page: None and every dimension, the current one checked, a search past eight. Takes `group` and `onBack`, called after a pick.
49
+ - `CompactGroupSortDetail` — the Group panel's Sort page: the dimension's orders both ways, then Manual where its groups can be dragged. Takes `group` and `onBack`.
50
+ - `CompactGroupDateByDetail` — Date by's page: a date dimension's granularities. Takes `group` and `onBack`.
51
+ - `GroupBucketsList` — the group order: every group with a grip to drag it and an eye to show or hide it, an empty group dimmed and the empty one named `views.panels.group-empty`. Takes `groups` (`GroupConfig["groups"]`) and `variant`, `"compact"` (a panel's row) or `"comfortable"` (a phone sheet's taller row). It drags by mouse after 8 px, by a long press of 250 ms that gives up past 5 px, and by the keyboard (Space or Enter lifts a focused grip, the arrows move it); the grip carries `data-base-ui-swipe-ignore`, so a drawer that honours it keeps still while a row inside it is dragged.
52
+
53
+ ## The Layout panel and the columns
54
+
55
+ - `CompactLayoutDetail` — the Layout panel: the layouts a list can draw, the ones it refuses greyed with their reason on a resting pointer, then the active layout's Options, its own pick-one settings, Density and the reader's For you section. Takes `layout` (`LayoutConfig`).
56
+ - `LayoutColumnsList` — the Columns list: a grip to reorder, an eye to show or hide, the row's body to open a column's settings, a board card's new-line toggle, and Reset when a column differs from the view. Takes `columns` (`LayoutColumnsConfig`), `variant`, `onOpenColumn`, `canOpen` (which rows open; every row when absent), `showNewLine` and `fieldEditor`. It drags as `GroupBucketsList` does; a `fixed` column has no grip and no eye.
57
+ - `PopoverColumnDetail` — one column's settings: Visible, its pick-one settings and toggles under their sections, and the field editor's rows for its field. Takes `column`, `columns`, `onDone` (called once a field editor's row has opened its window) and `fieldEditor`.
58
+ - `PanelFieldEditor` — what an app's field editor adds to the panels: `columnMenu(fieldKey, close)`, the rows a column's settings show for its field (`null` for a field it does not change), and `fieldsFooter(columns)`, what the Columns list shows under its rows. Without one, both draw as they always have.
59
+
60
+ ## Customize
61
+
62
+ The panel a list's Options button opens, put together from the panels above: one header frame (a back arrow only when deep, the title, Clear all at the root without a shared view, a ✕ when the host can close it) over the root list or the page a row opened, and, at the root of a shared view, its footer. Its root is a `data-vs-detail` list, its header `data-vs-header`, its footer `data-vs-footer` with `data-vs-inset` and each actions row a `data-vs-row`, so a drawer of your own insets them through those; the root's rows carry `data-vs-row` when your `MenuRow` and `ToggleRow` atoms do. Your app hosts it: in a popover, or in a full-height drawer with `fill`.
63
+
64
+ - `ViewOptionsPanelContent` — the panel. Takes the list's `filters`, `sort`, `group`, `timeScopeConfig`, `dateRangeConfigs`, `toggles` and `layout` (`ViewOptionInputs`; its `sorts` and `filterTree` reach a `CustomizeBody` as its sort and filter), `activePanel` and `onOpenPanel`, `anyActive` and `clearAll`, and optionally `view` (`CollectionViewState`), `foldFilters` (one Filter row, on by default; off, every filter is a root row), `onClose`, `closeButton` (whether its header draws the ✕, default true; false in a sheet whose head draws it, `onClose` still closing it from inside, as a column's Done does), `fill` and `fieldEditor` (`PanelFieldEditor`). Back walks one level: a relation's Where field to its filter, a folded filter to the Filter list, a column to the Columns list, Group's own Group by, Sort and Date by pages to Group, anything else to the root. Handed a `GroupBody` in your components map, Group (and its own pages) draws it, handed the group as data; handed a `CustomizeBody`, the whole panel is it, handed the view's settings as data, wherever the panel hangs, except for a list whose filter is only per-field values, with no `filterTree`, which keeps the panel ([the components map](../contract.md#the-components-map)).
65
+ - `PopoverRootList` — the root: Layout, Columns (`views.panels.columns-shown`), Filter (or each filter, unfolded), Sort, Group and the toggles, each opening its page through `onOpenPanel`.
66
+ - `ViewFooter` — Reset · Set default for everyone on a shared view this person has drifted from; a member sees Reset alone, and nothing draws while `changes` is 0. `words: "kit"` says Clear and Save instead. With no `view` and an `onClear`, Clear alone, which takes the list back to its default. `className` replaces its side inset. `ToolbarOptions` and `ViewOptionsPanelContent` take `viewFoot` (`"kit"` for those words, `"none"` for no foot) and `footClear` (the foot's Clear with no shared view).
67
+ - `ViewOptionsActions` — the actions row: Copy link and Share parked, Export CSV live when `exportCsv` (`CollectionExportCsv`) is handed in, its count on the row and one export at a time behind the `loading` glyph, which your app draws turning.
68
+ - `ViewOptionsPopoverPanel` — the panel for a popover: `ViewOptionsPanelContent` with `setActivePanel` for `onOpenPanel`, its `sorts` and `filterTree` handed on; a `CustomizeBody` in your map opens in its place.
69
+ - `useViewOptionsPopover` — the state the trigger and the popover share (`ViewOptionsPopoverState`): `open`, the page it is on, the trigger's `badge` (the drift from everyone's view on a shared view, else the active options) and its `clearAll` (Reset, else clear them), and `handleOpenChange`, which forgets the page on a close. The trigger's own look is yours.
70
+ - `ViewOptionsPopoverState` — what `useViewOptionsPopover` hands back: `open` and `setOpen`, `badge`, `activePanel` and `setActivePanel`, `anyActive`, `clearAll` and `handleOpenChange`.
71
+ - `useViewActivePanel` — the page alone, with the active-options count and clear, for a host that keeps its own open state (a phone's sheet).
72
+ - `viewOptionsPopoverClassName` — the popover's own classes: its width (`w-60`, or the one you pass), `w-62` on a date range's or time scope's page whatever you pass, `z-90`, and its slide from the right, which needs your app's animation utilities.
73
+ - `keepPanelOpenForPortals` — hand it to your popover's outside-press and outside-focus handlers: a click inside one of the panel's own portalled children (a select's list, a nested popover, each inside Radix's `[data-radix-popper-content-wrapper]`), or on a page body a modal layer has locked, never closes the panel.
74
+
75
+ ## The toolbar
76
+
77
+ The frame that holds a list's controls, and the parts that need no list settings. `Toolbar` takes the parts your app hands it, each placed at the start or the end, on the first line or the second, and draws them in one of three forms (`/panels`' [arrangement](panels.md#the-toolbars-arrangement)): `row`, `narrow` (its own box under 700px) or `phone` (your provider's `desktopQuery` says it is not a desktop). Pass `phone` or `narrow` to decide either yourself. A part is any node: the frame tells it where it stands through `useToolbarSlot`, and its buttons draw through the `ToolbarButton` atom at their line's size. A part that opens something (a menu, a panel, a pane your app holds) registers it with `useToolbarPanel`, and opening one closes every other, however it opened. A change of form draws the parts afresh, so keep what must last across it (a search's text, a panel's open state) in your app: a panel part left to hold its own state closes when the box crosses 700px, and one handed its state from `useToolbarPanelState`, held above the `Toolbar`, stays open on its page. The row's end controls float over the views on a fade of `--vk-ground` (`data-toolbar-cluster`), which the folding views row measures. Its look is plain; its pieces carry the `data-slot`s the [contract](../contract.md) lists.
78
+
79
+ - `Toolbar` — the frame. Takes `parts` (`ToolbarPart[]`), and optionally `phone`, `narrow`, `narrowBelow` (700 by default), `fold` and `className`. With `fold` it draws the kit's arrangement (`/panels`' fold arrangement): the row and the filter bar under it, each a band with a line across under it, or a phone's one line, with no narrow form; each line measures itself and gives way as it narrows, a part's words turning to its icon (the `ToolbarButton` atom's `iconAlone`), the views folding tabs into "+N", a part's filters folding into "+N filters", then what may fold going behind ⋯ (`data-slot="vk-toolbar-overflow"`, your `Menu`, each row the folded part's `menu`). A folded part keeps its state, and what it opens hangs under ⋯; while ⋯'s menu, a folded part's panel, the views' "+N" list, a filter with a part open (`data-slot="vk-toolbar-filter-rule"` marked `data-open`), an open advanced filter (`data-slot="vk-toolbar-advanced-filter"` marked `data-open`) or "+N filters"' menu (the button in `data-slot="vk-toolbar-more-filters"`, `aria-expanded`) is open, the line holds still. The frame holds the search's open state: open, the line gives way around it, and on a phone the search takes the line beside the views.
80
+ - `ToolbarPart` — a part as your app hands it: a `ToolbarPlacement` (its `key`, `side`, `line`, `role`, and in the fold arrangement `shed`, `tabs`, `filters` and `fold`), its `node`, and for a part that may fold its `menu`: `{ label, icon?, onSelect }`, its row in ⋯.
81
+ - `ToolbarSeparator` — the line between the sort and the filters on a filter bar (or Filter while there is none), placed with `role: "separator"`: drawn only while a part stands drawn on each side of it, and never on a phone's line.
82
+ - `ToolbarViews` — the views row: `views` (`CollectionViewsInput`) and `viewsLayout`. On the row and in the narrow panel it draws `ViewAxes`, or with `as="picker"` and one axis alone its `ViewPicker`; placed again with `stacked` on the second line, it draws the axes a stacked layout pushes beneath, small. On the phone it draws a `ViewPicker` per axis, every axis, and nothing for `stacked`. With `showCounts` the toolbar owns Show counts (`withCounts`). Place it only when the list has views: the phone's search fills the row when nothing is placed at the start.
83
+ - `ToolbarSearch` — the search, placed with `role: "search"`: `value`, `onChange`, `placeholder` (`views.panels.search` by default) and `searching` (while true, a spinner, worded `views.panels.searching`, stands where its glass is, on the button and in the field, and the field, marked `aria-busy`, keeps its value and its typing; your app decides when it is true). On the row, and beside the phone's views, a button that opens an inline field; in the narrow panel, and on a phone with no views, a field that fills its line. A field that holds a value shows from the start. Escape and its ✕ clear it and close a field the button opened; a blur with nothing typed closes it. The field is your `Input`, or, handed `SearchField` in your components map, your whole search box: it stands in place of the glass, the field and the ✕, handed the value, the clear and its form, while the button, the open state, the caret on a press, Escape and a blur stay ViewKit's ([the components map](../contract.md#the-components-map)).
84
+ - `ToolbarNew` — the +: `onAdd` (one way to add, the button fires it) or `items` (several, opened through your `Menu`, one of the toolbar's panels), `label` (`views.panels.toolbar-new` by default) and `icon` (your `add` glyph by default); its word for a dress is its label. With neither, the row draws it disabled, so its place never moves; the narrow panel and the phone draw nothing. In a folding `Toolbar` on a phone it stands at the list's foot instead (`data-at="foot"`): a round + (the atom's `foot`) fixed at the screen's bottom-end corner, over the list, lifted by `--vk-toolbar-foot`, and drawn into the document's body so a page that scrolls inside a transformed box can't carry it away; with no verb, nothing there.
85
+ - `ToolbarButton` — the `ToolbarButton` atom at the size of the line it stands in, for a custom part's buttons.
86
+ - `useToolbarSlot` — where this part stands (`ToolbarSlotState`): `form`, `fill`, `size` and its line's kind; in the fold arrangement also `fold`, `iconAlone`, `tabsFolded`, `filtersFolded` (how many of its filters folded into "+N filters"), `folded`, `more` (⋯'s button) and, for the search, `search` (its open state, held by the frame); and `appFrame`, true inside your own frame (`ToolbarSlotProvider`); outside a `Toolbar`, the row's main line at `md`, folding nothing.
87
+ - `ToolbarSlotState` — what `useToolbarSlot` returns.
88
+ - `useToolbarPanel` — a part's open state as one of the toolbar's panels, named by a key: `{ open, onOpenChange }`. Each call is its own panel, so two parts that name the same key still close each other. Hand it `{ open, onOpenChange }` for a panel your app holds; without, it holds its own. Outside a `Toolbar`, plain open state.
89
+ - `ToolbarSlotProvider` — for your own toolbar frame: tells the part inside it where it stands, as `Toolbar` tells each of its parts. Takes `slot`, a partial `ToolbarSlotState` laid over the outside default (the row's main line at `md`, folding nothing); its `form` defaults to your provider's `desktopQuery` (`"phone"` off a desktop). It sets `appFrame: true` (`slot.appFrame: false` opts out): inside it the Views part (`ToolbarViews`) draws its chip, its view tabs, its "+N" and its "+" through your `ToolbarButton`, and `ToolbarSave` its Clear and Save, each told what it is (`current`, `part`, `onContextMenu`); a tab's status colours (`activeClassName`, `hoverClassName`) stay with ViewKit's own pills and don't reach it, and a `PillGroup`, `ViewTabs`, `ViewPicker` or `ViewCreatePill` you place yourself stays as it is. It replaces any slot above it.
90
+ - `ToolbarRadioProvider` — for your own toolbar frame: the radio, held for its life, as `Toolbar` holds one. Placed around your frame, the parts inside it that open something close each other, and a part's panel opens in your `Sheet` when its slot's `form` is `"phone"`.
91
+
92
+ #### In your own frame
93
+
94
+ A frame of your own (one Tab stop, your own ⋯) holds ViewKit's parts as `Toolbar` does: `ToolbarRadioProvider` around the frame, and each part in a `ToolbarSlotProvider` of its own. Your frame measures each of its lines and decides how far it gives way; `/panels`' `foldSteps` and `foldState` give `Toolbar`'s order over the same placements (`shed`, `tabs`, `filters`, `fold`), or keep your own. Then hand each part:
95
+
96
+ - where it stands: `form` (`"row"` or `"phone"`), `size` (`"sm"` on a filter bar) and `line` (`"main"`, or `"bar"` for the filter bar);
97
+ - in a line that folds, `fold: true`: a part with something open marks its place `data-open`, so hold the line still while one is (as `Toolbar` does), and on a phone New stands at the list's foot;
98
+ - for a part whose words turned to its icon, `iconAlone`;
99
+ - for `ToolbarViews`, `tabsFolded`: how many of its tabs fold into "+N" (up to its one axis's views less one; the open one never folds);
100
+ - for `ToolbarFilters`, `filtersFolded`: how many of its last filters fold into "+N filters" (up to `foldableFilters(tree, held)`; hold the held rule with `held` and `onHeldChange` so you count it);
101
+ - for a part folded behind your ⋯, `folded` with `more`, your ⋯ button's ref: the part hides its own button and opens what it opens under `more`;
102
+ - for the search, `search` (`{ open, onOpenChange }`), if your frame holds its open state.
103
+
104
+ ```tsx
105
+ import type { ReactNode } from "react";
106
+ import type { CollectionViewsInput } from "viewkitjs/views/panels";
107
+ import { ToolbarNew, ToolbarRadioProvider, ToolbarSlotProvider, ToolbarViews } from "viewkitjs/views/panels/react";
108
+
109
+ /** Your own frame: its one Tab stop, its arrows, its ⋯. */
110
+ function MyToolbar({ children }: { children: ReactNode }) {
111
+ return <div role="toolbar">{children}</div>;
112
+ }
113
+
114
+ /** What your frame measured: how many view tabs fold, and whether New stands as its icon alone. */
115
+ export function ListToolbar({
116
+ views,
117
+ onAdd,
118
+ tabsFolded,
119
+ newAlone,
120
+ }: {
121
+ views: CollectionViewsInput<string>;
122
+ onAdd: () => void;
123
+ tabsFolded: number;
124
+ newAlone: boolean;
125
+ }) {
126
+ return (
127
+ <ToolbarRadioProvider>
128
+ <MyToolbar>
129
+ <ToolbarSlotProvider slot={{ fold: true, tabsFolded }}>
130
+ <ToolbarViews views={views} />
131
+ </ToolbarSlotProvider>
132
+ <ToolbarSlotProvider slot={{ fold: true, iconAlone: newAlone }}>
133
+ <ToolbarNew onAdd={onAdd} />
134
+ </ToolbarSlotProvider>
135
+ </MyToolbar>
136
+ </ToolbarRadioProvider>
137
+ );
138
+ }
139
+ ```
140
+
141
+ ### The panel parts and the ready toolbar
142
+
143
+ Options, Sort and Filter each open their panel from their own button, and each takes the builder's panels ([`settingsPanels`](panels.md#built-from-a-lists-settings)): an app that arranges its own parts calls the builder and hands them in. A panel hangs in your `Popover` at its button (`chrome="menu"`, aligned to its end), or in a host you hand in, your side drawer or your sheet, where it draws full height. On a phone (in a `Toolbar`, its phone form; elsewhere your provider's `desktopQuery`) it opens in your `Sheet` instead (`snap: "full"`, named `label` with the part's name, its own header titling it), full height, with every page the popover has; a host you hand still takes it. With your provider's `sheetActions: "head"`, the sheet's head draws the panel's ✕ (`actions.close`, no `done`, unless the panel hands its own ✕ and ✓, as the sort pill's editor does) and the panel draws none. Each is one of the toolbar's panels, so opening one closes the others. Hand `open` and `onOpenChange` (and `page` and `onPageChange` where it drills in) to hold its state yourself; without, it holds its own, forgetting its page when it closes.
144
+
145
+ - `ToolbarOptions` — Customize behind its own button, named and worded `views.panels.toolbar-options`: the builder's `filters`, `sort`, `group` and `layout` (and its `filterTree`, with and/or groups: its count and default Clear then read the advanced filters), your `toggles`, `timeScopeConfig` and `dateRangeConfigs` (a `ViewOptionInputs`), and optionally `view` (a shared view: the drift dot on the button instead of a count, and the panel's footer), `fieldEditor`, `foldFilters` (true by default), `onClear` (the ✕ and the panel's Clear all; by default each active option cleared through its own `onChange`, the builder's filter rows adding up so every filter clears, or Reset on a shared view; for one change, `settingsCleared(…, "options")`), `widthClassName` and `host`. Its button counts the active options (`countActiveViewOptions`) with a ✕ that clears them. Draws nothing when there is nothing to customize. A `CustomizeBody` in your components map opens in place of the panel, in the same popover, `host` or phone `Sheet`.
146
+ - `ToolbarSort` — the sort panel behind its own button, named `views.panels.sort`: the builder's `sort`, lit (`changed`) while the list sorts other than its default. Draws nothing when nothing sorts. Handed the builder's `sorts` too (with `severalSorts`), it is Sort on the row's right as the kit draws it there: "Sort", counted once there are two rules, opening the fields (`SortFieldList`), a pick adding a rule at the end, ascending; at three it can't be used, saying why (`views.panels.sort-max`).
147
+ - `ToolbarSortPill` — the sort as up to 3 rules, the kit's sort on its filter bar, in `data-slot="vk-toolbar-sort-pill"`: takes the builder's `sorts`, and optionally `open` and `onOpenChange` (to hold its state yourself), `host` and `addAfter` (default true). On a computer, "Sorted by" its first rule's field, in weight, with the rest counted (+1), opening the sort editor in your `Popover`; after it a + (`data-slot="vk-toolbar-sort-add"`, named `views.panels.sort-add-one`) while there are fewer than three, opening the fields, a pick adding a rule; with no rule, an empty place, "Sort", opening the fields. Handed `addAfter={false}` (the kit's bar), it draws no +, and its editor, or your `SortBody` (handed `addSort`), has Add sort at its foot. The fields are your `FieldsBody` where you hand one. × on the editor's last rule closes it. On a phone, "Sort" with its rules counted, opening the sort editor in your `Sheet`, its ✕ taking back what changed since it opened and its ✓ keeping it; a swipe, the dim or Escape close it and keep the changes. Its popovers, or its sheet, are one of the toolbar's panels.
148
+ - `SortEditor` — the sort editor's body alone, for a holder of your own (a popover): `sorts`, `form` (`"computer"` or `"phone"`), and optionally `open`, `onDone` and `addSort`. On a computer each rule (`data-slot="vk-sort-rule"`) is its grip, its field, its direction (Ascending, Descending, your `Menu`) and ×, inside `data-slot="vk-sort-editor"`, with no Add sort unless handed `addSort`: then Add sort (`data-slot="vk-sort-add"`) stands at its foot, after the set-aside sorts, opening the fields in your `Popover`, a pick adding a rule at the end, ascending, and at three, a set-aside sort holding one of the places, it can't be used and says why (`views.panels.sort-max`); on a phone each rule is a row, its direction under its field, a press opening its directions and ⋯ holding Delete, then Add sort (which turns the body to the fields, never a sheet on top; three at most) and Clear all, and "No sorting set up yet" with none. Every change goes out through `sorts.onChange` as it is made. A rule moves by its grip: dragged by the mouse after 8 px or a long press of 250 ms (a phone's row moves by itself), or ↑ and ↓ on its grip, the focus staying on that grip; the grip carries `data-base-ui-swipe-ignore`.
149
+ - `useSortEditor` — the sort editor's state for a sheet's holder (`SortEditorOptions`: `sorts`, `form`, `open`, `onDone`, `addSort`): `{ body, head }`. `body(closeButton)` draws it, on a phone with its own ✕ and ✓ when `closeButton` is true (no head of your sheet draws them: your provider's `sheetActions` is `bar`, or a host of yours holds it); `head` is the ✕ (named `views.panels.close`) and ✓ (`views.panels.sort-done`) for your sheet's head, as its `actions`. ✕ takes the rules back, in one change, to what they were when `open` last turned true. Handed a `SortBody` in your components map, `SortEditor` and `useSortEditor`'s `body` open it in place of their own rows, in every holder: it is handed the rules as data, its whole list is written once it fits the rules, its `onDone` calls the `onDone` you hand, and on a phone it gets `head` as its `actions` only when `closeButton` is true ([the components map](../contract.md#the-components-map)).
150
+ - `SortEditorOptions` — what `useSortEditor` takes.
151
+ - `ToolbarQuickFilters` — the quick filters' button (`data-slot="vk-toolbar-quick"`), named `views.panels.quick-filters` (or the config's `label`), lit (`changed`) while a value is held: takes `quickFilters` (a `QuickFiltersConfig`, [`/panels`](./panels.md#quick-filters)), and optionally `open` and `onOpenChange` (to hold its state yourself), `host` and `icon` (its glyph; the `filterCategory` icon when absent). It opens `QuickFiltersPanel` in your `Popover` (`data-slot="vk-toolbar-quick-panel"`), in `host`, or on a phone in your `Sheet`, and is one of the toolbar's panels. With no field to offer it draws nothing.
152
+ - `QuickFiltersPanel` — the quick filters' panel alone, for a holder of your own: `quickFilters`, `form` (`"computer"` or `"phone"`), and optionally `onDone`, `closeButton` (its own ✕; false where your sheet's head draws one) and `fill` (it fills a host, its values scrolling). Handed a `QuickFiltersBody` in your components map, it opens that, handed the fields as the strip shows them (`quickFieldsShown`) with their values as they show (`quickValuesShown`, worded by the config's `heldLabels`) and writing its hold once `quickHoldFits` takes it ([the components map](../contract.md#the-components-map)). Without, it draws its own (`data-slot="vk-quick-filters"`): a header with the panel's name; a strip of the fields (`data-slot="vk-quick-filters-field"`, `aria-pressed` on the open one), then each other field holding a value, named by the config's `heldLabels` (it leaves the strip once its last value is let go, the focus moving to the field open in its place), the first holding a value open first; the open field's values as a list box (`data-slot="vk-quick-filters-value"`, `aria-selected` and `data-chosen` while held), with Show counts the most first and each count drawn and read with its value (`views.panels.quick-value`), a held value no value lists drawn from the hold, worded by the config's `heldLabels` else its key; a press holds a value, and a press on a held one lets it go (with `several`, each press adds or lets go one value); one Tab stop, ↑ ↓ Home End between the values, Enter or Space holding; past eight values a search (`views.panels.quick-search`, or the field's `searchPlaceholder`), ↓ from it reaching the first value and ↑ from the first going back, a search of its own for each field, and "Nothing matches." (`views.panels.quick-none`, `data-slot="vk-quick-filters-none"`) when it finds none; a field with nothing to hold says "Nothing to pick.". At `form: "phone"` (in a phone's Sheet) it carries `data-form="phone"`, its values take the phone sheet's taller rows, and with one value held at a time a press, by touch or by key, holds it and closes the Sheet through `onDone` (`quickPressCloses`); with `several` the Sheet stays open.
153
+ - `QuickFiltersReminder` — on a phone, the reminder that a hold stands while the quick filters are closed: takes `quickFilters` (the same `QuickFiltersConfig`), `onOpen` (a press on its names: open the quick filters, whose open state you hold through `ToolbarQuickFilters`' `open`, or `ReadyToolbar`'s `quickFiltersOpen`) and optionally `hidden` (it steps aside: hand whether rows are selected or the quick filters are open, so it never stands with your selection bar or over the open quick filters), and `holder` (a ref to your list's box: leaving with the focus in it, by its ✕ or by stepping aside as the quick filters open, it hands the focus there, giving a box that takes no focus `tabindex="-1"`, so the focus never falls to the page and a sheet opened from its names hands it back into the box; with none, the focus goes where the browser drops it; it never searches the page for one). Place it once at your list's foot. It is portalled to the body where the selection bar's phone pill stands (the provider's `selectionBar.phone`: its `bottom`, `zIndex` and `className`), a pill (`data-slot="vk-quick-filters-reminder"`) holding the held values' names, each by its words and never its key (`quickHeldNames`), the first two and "+N" for the rest (`quickReminderWords`, `views.panels.quick-more`), a press on them (`data-slot="vk-quick-filters-reminder-open"`, named `views.panels.quick-reminder` with every name once) calling `onOpen`; then ✕ (`data-slot="vk-quick-filters-reminder-clear"`, `views.panels.quick-clear`), letting every hold go. It draws nothing on a computer, while nothing is held, or while `hidden`. An app that wears its own reminder places that one instead, fed by `quickHeldNames`.
154
+ - `SortFieldList` — the fields a rule is picked from (`data-slot="vk-sort-fields"`): `sorts`, `onPick`, and optionally `own` (a rule whose field it changes, ticked), `onDone` (done with no pick) and `form`. A field already sorted, but `own`, is greyed and says "Sorted"; a search past eight. Handed a `FieldsBody` in your components map, it opens that in place of its rows, in every holder, handed the options as data, each marked as the grid's header marks its column, a sorted one `disabled` with why; a pick of a key it didn't offer, or offered disabled, writes nothing ([the components map](../contract.md#the-components-map)).
155
+ - `ToolbarAdvancedFilters` — the advanced filters' pills, with and/or groups (`data-slot="vk-toolbar-advanced-filter"`): takes the builder's `filterTree`, and optionally `host`. One pill for each advanced filter (each group at the filter's top, or the whole of a top joined by Or), "Advanced filter" with its rules counted (one whose rules are all set aside drawn set aside instead, the button's `aside` with no count, naming why in your `Tooltip`: `views.panels.advanced-filter-set-aside`), its words kept however tight the row, opening the filter editor on its own rules in your `Popover` (`data-slot="vk-toolbar-advanced-filter-panel"`) or in `host`. A pill whose filter empties leaves the row; the others keep their own state. Each is one of the toolbar's panels; in a folding line its place carries `data-open` while it is open, so the line holds still. On a phone it draws nothing.
156
+ - `ToolbarFilters` — each filter on a filter bar, as the kit's draws them (`data-slot="vk-toolbar-filters"`): takes the builder's `filterTree` (with `filterGroups`), and optionally `open` and `onOpenChange` (whether Filter and + list the fields: hold it to open them from ⋯), `held` and `onHeldChange` (the rule held until whole: hold it to count it as the bar folds) and `host`. Every filter at the view's own level, in its order: a filter as four joined parts (`data-slot="vk-toolbar-filter-rule"`, named by its sentence), its field, how it compares in lower case, its value (capped at 240 and cut with "…", saying what it waits for until it is picked) and ⋯ (Convert to advanced filter, Delete filter), each opening its own list; a related record's field drawn as one ("Company › Industry"); an advanced filter as its pill (`ToolbarAdvancedFilters`'); then + (`data-slot="vk-toolbar-filter-add"`, `views.panels.filter-add-one`). Filter, + and a filter's field open your `FieldsBody` where you hand one, its way and value your `FilterPartBody` ([the components map](../contract.md#the-components-map)). While nothing filters and nothing is held, Filter, an empty place (`data-slot="vk-toolbar-filter"`). Filter and + open the fields; a pick adds a filter at the end (`addOnBar`, wrapping a top joined by Or into one advanced filter first), a related record's field among them, waiting for its value, or, for a yes/no, the list's own or a related record's, holds it on the bar saying what it waits for, writing nothing until its value is picked; where nothing more can be added they are disabled with why (`barAddRefusal`). In a folding line its last filters fold into "+N filters" (`data-slot="vk-toolbar-more-filters"`, as its slot's `filtersFolded` says), which names each and opens what a pick opens under itself; a held rule, the filter it stands in place of and a filter with a part open never fold. Each filter and "+N filters"' menu is one of the toolbar's panels. Delete filter and Convert move the focus to what stands after the filter: the next filter, "+N filters", + or Filter. An app placing it in a `Toolbar` of its own places it with `filters: foldableFilters(…)` and never with `shed` while a filter stands: its parts read the slot's `iconAlone`, and would draw no words. A held rule is compared with the tree as written, so your `filterTree.onChange` must hand the tree back unchanged (the same keys in the same order), or the held rule counts as dropped by a write from elsewhere. On a phone it draws nothing.
157
+ - `foldableFilters` — how many of the bar's filters may fold, for its placement's `filters`: `(tree, held)`, the tree's top-level items less the one a held rule stands in place of; a held rule no longer standing (`held`'s tree changed by a write from elsewhere) counts as gone.
158
+ - `Pending` — the rule held until whole, as `ToolbarFilters` hands it to `onHeldChange`: its `container`, its `node`, the filter it `replaces`, and what it was held `over`.
159
+ - `FilterEditor` — the filter editor on a computer (`data-slot="vk-filter-editor"`): `filterTree`, `at` (the advanced filter's path: a group's, or `[]` for a top joined by Or), and optionally `onDone` (its filter emptied, Clear all filters) and `onRemoved` (a delete took a node away: the outermost that went). Each rule (`data-slot="vk-filter-rule"`) is Where or its level's join, its field, how it compares and its value, each a box of your `Button` opening its list, then ⋮ (Convert to group where it stays within 3 levels, Delete condition); the second rule's join is a button turning every join at its level. A group (`data-slot="vk-filter-group"`) stands on its own ground with its level, Add filter, Delete group and ⋮ (Exclude matches, on a group joined by And; an excluded group is headed "Not all of these" and its join reads And). A relation rule (`data-slot="vk-filter-relation"`) is a block, its relation and Any, None or Every where, its rules on the far fields inside. Add filter opens the fields; a pick adds a rule and opens its value; a far field makes a relation block, written the same way and waiting for its far value; a yes/no, the list's own or a far one, is held in the editor until its value is picked. Each value opens its type's own body with its operator left out (`FilterValueBody`); its box says the value alone, as the bar's value part does, or, until it is whole, what it waits for by its type ("Type a value", "Type a number", "Choose a date", "Choose"). The first edit in a top joined by Or wraps it into one advanced filter. At a top-level relation rule (`at` `[i]`) it edits the relation wrapped in a group of its own; where that would pass 3 levels, it edits the relation in place: its relation and Any, None or Every where head the editor, and its rules and Add filter name the relation's far fields. Every change goes out through `filterTree.onChange` as it is made. Handed a `FilterBody` in your components map, `FilterEditor`, `PhoneFilterEditor` and `usePhoneFilterEditor`'s `body` open it in place of their own rows, in every holder: it is handed the level they stand on as data, its whole level is written once it fits the rules, its `onDone` calls the `onDone` you hand, and on a phone it gets `head` as its `actions` only when `closeButton` is true ([the components map](../contract.md#the-components-map)). Handed a `FilterPartBody` in your components map, a rule's way and value open it in place of its ways menu and value body, never inside a `FilterBody`'s `ruleValue`; its field lists open your `FieldsBody` where you hand one.
160
+ - `usePhoneFilterEditor` — the filter editor on a phone, for a sheet's holder (`filterTree`, `open`, `onDone`): `{ body, head }`, as `useSortEditor`'s. `body(closeButton)` draws it on every rule of the view, with its own ✕ and ✓ when `closeButton` is true; `head` is the ✕ (`views.panels.close`) and ✓ (`views.panels.filter-done`) for your sheet's head. Each rule is Where or its join over its boxes, then ⋯ (Convert to group, Delete condition); a group stands on its own ground with Add filter, Delete group and ⋯ (Exclude matches). Each box's list (the field, how it compares, the value), a relation's Any, None or Every and Add filter's fields turn the body behind a back row, never a sheet on top. With no rule it reads `views.panels.filter-empty` and `views.panels.filter-empty-line`, with Add filter; Clear all (`views.panels.filter-clear-all`) empties it and keeps it open. It edits the whole tree in place (`editWhole`). ✕ takes the tree back, in one change, to what it was when `open` last turned true, and drops any write that lands after it (a box writing what was typed as the sheet closes) until `open` turns true again, so close the sheet on its `onDone`; ✓, and your sheet's swipe, dim and Escape, keep it, a value typed just before included. A held rule (a yes/no, the list's own or a relation block's) written from its value page is followed there when your `filterTree.onChange` reaches the tree in the same event, as `useListSettingsState` does; written a render later, the page turns back to the rules.
161
+ - `PhoneFilterEditor` — the body `usePhoneFilterEditor` draws: `filterTree`, `head` (the ✕ and ✓ it draws in its own head, or null where your sheet's head draws them), and optionally `onDone` (what an app's own `FilterBody` calls when its job is done). Handed a `FilterPartBody` in your components map, a rule's way and value open it in place of its ways menu and value body, never inside a `FilterBody`'s `ruleValue`; its field lists open your `FieldsBody` where you hand one.
162
+ - `FilterFieldList` — the fields a rule names (`data-slot="vk-filter-fields"`): `fields`, `onPick(field, far?)`, and optionally `own` (ticked) and `relations` (false leaves a relation's far fields out). The list's own fields, then under Related records each relation, which turns the list to its far fields behind a back row; a search past eight. It takes `onDone` (done with no pick) and `form` too: handed a `FieldsBody` in your components map, it opens that in place of its rows, in every holder, handed the list's own fields and, where `relations`, each relation with its `far` fields, each marked as the grid's header marks its column; a pick of a key it didn't offer writes nothing ([the components map](../contract.md#the-components-map)).
163
+ - `FilterValueBody` — a rule's value alone: a text, number or range filter's box without its operator rows, a date's boxes and month without its operator's menu, a choice's options.
164
+ - `ToolbarFilter` — the filter list and its drill-ins behind its own button, named `views.panels.filter`: the builder's `filters`, and optionally `timeScopeConfig`, `dateRangeConfigs` and `onClear` (by default every applied filter cleared through the builder's rows, which add up, the last change clearing them all; for one change, `settingsCleared(…, "filters")`). Its button counts what is applied (`countActiveFilters`) with a ✕. Draws nothing with nothing to filter. Handed the builder's `filterTree` (with `filterGroups`), on a phone it opens the filter editor on every rule in your `Sheet` (`usePhoneFilterEditor`), its ✕ and ✓ handed to the sheet's head, and its count and ✕ read the advanced filters too; the time range and date ranges aren't drawn there. On a computer `filterTree` changes nothing. On a toolbar's filter bar (the fold arrangement's line 2) it shows its word, an empty place until something is filtered.
165
+ - `ToolbarPanelHost` — a host for a panel part: a component taking `open`, `onOpenChange`, `title` (the part's name), `opener` (a ref to the part's button, the one the `Popover` would hang at, ⋯ while the part is folded into it) and the panel as `children`. The host gives `opener` the focus back as it closes from inside (Escape, its own close); ViewKit gives it back on the panel's own ✕, once the host has closed. Read `opener` as you open or close, never while drawing.
166
+ - `useToolbarPanelState` — a panel part's state for your app to hold (`ToolbarPanelState`): `open`, `onOpenChange`, `page` and `onPageChange`; closing forgets the page.
167
+ - `ToolbarPanelState` — what `useToolbarPanelState` returns.
168
+ - `FilterPanelContent` — the Filter panel standing alone, for a host of your own: the filter list at its root (titled `views.panels.filter`, no back arrow) and the pages it opens, with `filters`, `timeScopeConfig`, `dateRangeConfigs`, `page`, `onPageChange`, `onClose` and `fill`.
169
+ - `ToolbarSave` — Clear and Save, at the end of a filter bar while the list differs (`data-slot="vk-toolbar-save"`): takes `view` (a `CollectionViewState`: Clear is its `onReset`, Save its `onPublish`, shown only where `canPublish`, both waiting while `pending`, nothing while `changes` is 0), or with no shared view `onClear`, Clear alone taking the list back to its default; nothing when neither has anything to do. Clear has no ground and Save wears the field's look, ViewKit's own buttons or your `Button` with `panelButtons` at `button`.
170
+ - `ReadyToolbar` — the toolbar for an app that doesn't arrange its own (`ReadyToolbarProps`): the builder's input (`settings`, `layer`, `columns`, `onChange`, `onLayerChange` and the rest of `SettingsPanelsInput`), and optionally `views`, `viewsLayout`, `onAdd` or `addItems` and `addLabel`, `view`, `toggles`, `fieldEditor`, `searchPlaceholder`, `searching` (handed to its search), `hosts` (`{ options, sort, filter, quick }`), `quickFilters` (a `QuickFiltersConfig`: handed, the quick filters' button stands on the row's end before the search, in the row arrangement before Options, folding into ⋯ as the row narrows; its counts follow the toolbar's Show counts unless the config carries its own `showCounts`), `quickFiltersOpen` with `onQuickFiltersOpenChange` (the quick filters' panel open, held by you, so a `QuickFiltersReminder` at your list's foot can open it; absent, the toolbar holds it), `phone`, `narrow`, `severalSorts` (true by default: the sort holds up to 3 rules and the sort pill stands in Sort's place on the row; `false` keeps Sort's one rule), `addAfter` (true by default: the + after the sort pill; `false` draws none, and the pill's editor, or your `SortBody`, has Add sort at its foot, as `ToolbarSortPill`'s), `filterGroups` (true by default: and/or groups, each filter on the filter bar on a computer, in the row arrangement each advanced filter's pill after Filter and Convert to advanced filter on a filter's page, and on a phone Filter opening the filter editor on every rule; `false` keeps Filter, counting what is applied, in either arrangement), `arrangement` (`"kit"` by default, or `"row"`) and `className`. It calls the builder and draws its parts in the kit's arrangement (`Toolbar`'s `fold`): on a computer the row, the views with Customize beside them and the search and New at its end, and under it the filter bar, always shown, a step smaller: the sort pill first, a separator, the filters (`ToolbarFilters`: each filter as its four joined parts, each advanced filter's pill, + after the last; while there is none, Filter, an empty place; the rule held until whole is held by the toolbar, so the bar counts it as it folds; with `filterGroups` false, Filter as before, with what is applied counted), and at its end Clear and Save (`ToolbarSave`) while the list differs: on a shared view (`view`) Clear takes it back and Save, where `canPublish`, keeps it for everyone; with no shared view, Clear alone takes the list back to its default (nothing filtered, the default sort, no group: so a list that starts grouped or filtered shows Clear at once); Customize's foot then draws neither. A row with no room folds as the kit's does (words to icons, the view tabs into "+N", the bar's last filters into "+N filters", then Customize, the sort and Filter, while no filter stands, into ⋯), with no narrow form. On a phone one line (the views, the sort, Filter, Customize, the quick filters when handed, then the search, which opens across the line), Clear and Save in Customize's foot (`views.panels.view-clear`, `views.panels.view-save`; with no shared view, Clear alone), and New a round + at the list's foot, lifted by `--vk-toolbar-foot`. `arrangement: "row"` draws the order of 12 Nov instead: the views on the left; search, sort, filter, options and new on the right, the narrow form under 700px, and Reset and Set default for everyone in Customize's foot. Every change comes back as a `ListSettingsChange` or a layer patch: its search writes the settings' search, its ✕s clear in one change (`settingsCleared`), and the active view's menu gains "Edit view…" (`withEditView`), which opens Customize. It holds its panels' state above its frame, so a change of form keeps a panel open on its page, in a sheet once the form is the phone's. Show counts is the view's: read from `settings.showCounts` for the views row and the quick filters, absent meaning on, it joins Customize's toggles where the views carry counts and is written back through `onChange`. Group steps aside on a board (`groupShown`).
171
+ - `ReadyToolbarProps` — what `ReadyToolbar` takes.
172
+ - `useListSettingsState` — a list's settings and layer held in memory, for an app that keeps none yet (a proof page, a test): `{ settings, layer? }` in, `{ settings, layer, onChange, onLayerChange }` out, ready to spread into `ReadyToolbar` beside its `columns`. Each change is applied to the latest settings (`applySettingsChange`), each patch merged into the latest layer.
@@ -0,0 +1,220 @@
1
+ # `viewkitjs/views/panels`
2
+
3
+ Import from `viewkitjs/views/panels` for what a list's panels read and say: the settings they edit, which sections exist on a viewport, the Group panel's orders, and every row's value in words. The door carries no client directive; its one hook, `useFilterOpened`, carries its own. Every word is a `views.panels.*` key (see [the contract's message keys](../contract.md#message-keys)): each label takes your resolver last and defaults to the package's English. The panels' rows are atoms (`ChoiceRow`, `CheckRow`, `RadioRow`, `DirectionButton`, `MenuRow`, `ToggleRow`, `PanelSearch`; see [the atoms](../contract.md#the-atoms)). The panels themselves, which draw under your provider, are [`viewkitjs/views/panels/react`](./panels-react.md). The drawn panels' door is the only one that may reach dnd-kit, the package's optional peers, and only through `import()`: an app that renders a panel part that drags installs `@dnd-kit/core`, `@dnd-kit/sortable` and `@dnd-kit/utilities`; an app that takes only the grid never does. This door is pure, so a server file may import it.
4
+
5
+ ## The settings a panel edits
6
+
7
+ - `SortConfig` — a list's sort: its `options`, the `value` and `dir`, the `defaultValue` it resets to, `onChange`, and an optional `label`.
8
+ - `SortOption` — one field a list sorts by: `value`, `label` and the `defaultDir` it opens in.
9
+ - `GroupConfig` — a list's group: its `dimensions`, the `value` (or `"none"`), each dimension's `order` and `granularity`, `onChange`, `hideEmpty` and, while grouped, the `groups` to show, hide and drag.
10
+ - `GroupDimension` — one field a list groups by: its `orderOptions`, `defaultOrder`, and a date's `granularities` and `defaultGranularity`.
11
+ - `GroupOrderOption` — one way a dimension's groups are ordered, with the `defaultDir` it opens in.
12
+ - `GroupListEntry` — one group as the Group panel lists it: its `key`, `label`, and whether it is `empty` or `hidden`.
13
+ - `groupOrderFor` — the order a dimension opens in under a mode: that choice's own direction, else the mode's.
14
+ - `ToggleConfig` — a boolean the panel flips in place: `key`, `label`, `value`, `onChange`, an `icon`, `desktopOnly`, a `reset` back to the reader's default, and the `section` it sits under.
15
+ - `LayoutConfig` — the layouts a list can draw and the active one, with the layouts it refuses and why, its toggles, columns, per-view choices, density, the reader's own section (`personal`) and the phone's own layout.
16
+ - `LayoutColumnsConfig` — the Columns drill-in: the views package's columns, with each column's settings and the card layout's line breaks (`newLine`).
17
+ - `LayoutColumnItem` — one column, with the `settings` its drill-in shows.
18
+ - `LayoutColumnChoice` — a pick-one setting on a column (a currency, decimals).
19
+ - `LayoutViewChoice` — a pick-one setting of the active view, gated by the `views` it means something on.
20
+ - `LayoutDensityConfig` — the active view's row spacing.
21
+ - `LayoutPersonalConfig` — the reader's own settings over a shared view, under their own heading.
22
+ - `TimeScopeConfig` — a time range's choices, with an optional custom range.
23
+ - `DateRangeConfig` — a date range a list filters by: `key`, `label`, `value` (`DateRangeValue`) and `onChange`.
24
+ - `DateRangeValue` — a range's two ends, each a `Date` or `null`.
25
+ - `ActivePanel` — which drill-in is open: a filter (and a Where field inside a relation's), group, sort, time scope, a date range, a toggle, layout, the Filter list, Columns, one column, or Group's by, sort and date-by pages.
26
+ - `ViewOptionInputs` — everything a Customize panel is handed: filters, sort, group, time scope, date ranges, toggles and layout; with and/or groups, the builder's `filterTree` too.
27
+ - `CollectionViewState` — the shared view on screen: how far what this person sees drifted from it (`changes`, `stale`), whether they may publish, a write in flight, and the two verbs that settle the drift.
28
+ - `CollectionExportCsv` — a list's export, when it offers one: `count`, the rows it would take, which the Export CSV row shows, and `run`, which builds and downloads the file and says how it went.
29
+ - `isSortActive` — whether a sort differs from its default.
30
+ - `isGroupActive` — whether a list is grouped.
31
+ - `isDateRangeActive` — whether a date range has either end.
32
+ - `countActiveFilters` — how many filter dimensions are filtering: the Filter row's count.
33
+ - `countActiveViewOptions` — the trigger's count: filters, sort, group and date ranges that differ from their defaults, and, handed `filterTree`, each advanced filter holding a rule.
34
+ - `clearViewOptions` — clears every refinement, keeping each group's order and granularity.
35
+
36
+ ## Which sections exist
37
+
38
+ - `getViewOptionAvailability` — whether a Customize panel has anything to show on the desktop and on the phone.
39
+ - `resolvePersonalSection` — the "For you" section as it draws, or `null` when it has nothing: its label (`views.panels.for-you` unless the layout names one), toggles, choices and reset.
40
+
41
+ ## The Group panel's orders
42
+
43
+ - `groupSortChoices` — each of a dimension's orders in both directions, its own first, then Manual unless `manual` is false, each named by what it does ("Most first", "Newest first", "Alphabetical").
44
+ - `groupSortValue` — a choice's key: the mode and direction, or `"manual"`.
45
+ - `offersManualOrder` — whether the Group panel's sort offers Manual: where its groups can be dragged, or where Manual is already the order.
46
+
47
+ ## Every row's words
48
+
49
+ - `filterValueLabel` — a filter row's value: the conventions it reads ranges and dates with, then your resolver.
50
+ - `relationSentence` — what a relation's filter keeps, in one sentence: "Clients with at least one campaign where status is Active."
51
+ - `dateRangeValueLabel` — a date range's value: "All time", "Jan 1 — Jan 9", "From …", "Until …". Its days are written in the conventions' locale, its optional third argument.
52
+ - `timeScopeRowValueLabel` — a time range's value, a custom range's ends or its label; the ends in the conventions' locale, its optional third argument.
53
+ - `sortValueLabel` — the Sort row's value: "Name, descending".
54
+ - `groupValueLabel` — the Group row's value: the dimension's label, or "None".
55
+ - `activeGroupDimension` — the dimension a grouped list is grouped by, or `null`.
56
+ - `groupSortLabel` — the Group panel's Sort row value, a stored order the dimension doesn't offer named in the same words.
57
+ - `groupDateByLabel` — the Group panel's Date by row value.
58
+ - `layoutValueLabel` — the Layout row's value.
59
+ - `filterRowValueLabel` — the Filter row's value: "None", "1 filter", "2 filters".
60
+ - `GROUP_BY_SEARCH_AFTER` — how many dimensions or sort options a page lists before it offers a search (8).
61
+ - `matchGroupDimensions` — the dimensions a Group by page lists for a search.
62
+ - `matchSortOptions` — the options a Sort page lists for a search.
63
+ - `useFilterOpened` — tells a filter row's host it opened, once per row, so the host may ask for what the row offers.
64
+
65
+ ## The views row's axes
66
+
67
+ What a list hands the views row ([`viewkitjs/views/panels/react`](panels-react.md) draws it).
68
+
69
+ - `ViewTabOption` — one view: its `value`, `label`, `count`, a status `slot` or your own `activeClassName`, its `icon` by your own glyph's name, whether it is `private`, and its verbs as `menu` (the package's menu rows, reached from the active view only).
70
+ - `CollectionViewsConfig` — one axis of views: its `value`, `options`, `onChange`, `hideCounts`, `onCreate` and its `createLabel`, `onReorder` (one block in its new order, folded views included) and `canDrag`.
71
+ - `CollectionViewsInput` — one axis, or an array of peer axes.
72
+ - `ViewsLayout` — how peer axes lay out: `stacked` (each after the first on a row of its own) or `inline`.
73
+ - `CollectionChildAxis` — a child axis whose options depend on the primary selection, as data, for a phone's sheet.
74
+ - `toViewAxes` — the array form of either arity.
75
+ - `splitViewAxes` — the axes split into the primary row and the row a stacked layout pushes beneath.
76
+ - `PillOption` — one of a `PillGroup`'s options: its `value`, `label`, `badge`, a leading glyph, your own active and hover classes, whether it is `private`, and its `menu`.
77
+
78
+ ## The toolbar's arrangement
79
+
80
+ Which form a toolbar draws and where each part stands in it; [`viewkitjs/views/panels/react`](panels-react.md)'s `Toolbar` draws it. Three forms: `row`, one line with the start and the end cluster and a second line beneath; `narrow`, for a box under 700px on a big screen, the search filling its own line with the end controls beside it and the views flowing on the line under it; and `phone`, one row with the views at the start, or the search filling the row when nothing stands at the start. A part marked as the search is the one the forms move; every other part stands where it asks.
81
+
82
+ The fold arrangement (`arrangeToolbar`'s `{ fold: true }`) is the kit's: on a computer the row (line 1) and, under it, the filter bar (line 2), a step smaller; on a phone one line holding the views, then the bar's start, then the rest of the row's start, then the row's and the bar's ends. It has no narrow form: a line with no room folds instead, in steps from its end: the words of every part that may `shed` them turn to its icon, then the view tabs fold into "+N" one at a time, then each part's filters fold into "+N filters" one at a time, then every part that may `fold` goes into ⋯.
83
+
84
+ - `ToolbarForm` — `"row"`, `"narrow"` or `"phone"`.
85
+ - `ToolbarPlacement` — where a part stands: its `key`, its `side` (`start`, the default, or `end`), its `line` (`1`, the default, or `2`) and `role: "search"` for the search (a second part marked as the search stands as a plain part) or `role: "separator"` for a line between the parts either side of it. In the fold arrangement, `shed` (its words may turn to its icon), `tabs` (how many of its view tabs may fold into "+N"), `filters` (how many of its filters may fold into "+N filters") and `fold` (it may fold into ⋯).
86
+ - `ToolbarSlot` — one part in a line: its `key`, and `fill` when it takes the line's room (the search as a field); in the fold arrangement also `shed`, `tabs`, `filters`, `fold`, `separator` and `search`, each only where it holds.
87
+ - `ToolbarLine` — one line: its `kind` (`main`, `search`, `views`, `below`, or the fold arrangement's `bar`), its `start` and `end` slots, and the `size` its buttons take (`md` or `sm`).
88
+ - `TOOLBAR_NARROW_BELOW` — the box width under which a toolbar is narrow (700).
89
+ - `toolbarForm` — the form from `{ phone, narrow }`: a phone draws its own row whatever its box; a narrow box draws the narrow panel; not measured yet (`null`), the row.
90
+ - `arrangeToolbar` — the parts laid out into lines for a form, in the order they were handed in on each side; a line with nothing on it is dropped. With `{ fold: true }`, the fold arrangement.
91
+ - `FoldStep` — one step a folding line takes as it narrows: `{ key, to }`, `to` being `"icon"`, `"tab"`, `"filter"` or `"fold"`.
92
+ - `foldSteps` — a line's steps, in order: every `shed` part's words from the line's end, then each part's `tabs` one at a time, then each part's `filters` one at a time, then every `fold` part from the end.
93
+ - `foldState` — what a line holds once its first steps are taken: `{ iconAlone, tabsFolded, filtersFolded, folded, moreAfter }`, `moreAfter` the folded part ⋯ stands after (the last of them in the line), or `null`.
94
+
95
+ What the toolbar owns over a list's settings:
96
+
97
+ - `SHOW_COUNTS_KEY` — `"show_counts"`, the key of the toolbar's own Show counts.
98
+ - `showCountsOf` — the view's Show counts, read from a list's settings: on unless they say `showCounts: false`.
99
+ - `showCountsChange` — Show counts set on the view, as a `ListSettingsChange`: off writes `false`, on takes the key out (absent is on), empty when nothing changes.
100
+ - `withCounts` — the views with every axis that doesn't say `hideCounts` itself hiding its counts while Show counts is off.
101
+ - `countsToggle` — the toolbar's own Show counts as a `ToggleConfig` for the Options panel, worded `views.panels.show-counts`: absent when no option carries a number, or when the list's toggles already hold one keyed `show_counts`.
102
+ - `groupShown` — the list's `GroupConfig`, or nothing on a board: when the active layout (the phone's own on a phone) is one the layout's `hidesGroupFor` names.
103
+ - `withEditView` — the views with a row of yours (`ViewsMenuItem`, "Edit view…" in the ready toolbar, worded `views.panels.edit-view`) at the head of the active option's menu on every axis whose active option has a menu, the row after it carrying `separatorBefore`. One config in, one config out; an array, an array. Apply it once to the views your app hands in: applied twice, it adds the row twice.
104
+ - `settingsCleared` — what a toolbar ✕ clears over a list's settings, as one `ListSettingsChange`, or `null` when nothing would change: `"filters"` the Filter panel's rows (with `{ phone: true }` and `filterGroups`, every rule and group too, since a phone's Filter opens the filter editor on all of them), `"options"` those, the sort (back to its default) and the group (to none) where Options shows it, and with `filterGroups` every rule and group of the filter but the top's set-aside rules (And/or groups, below): on a board the group is the table's and stays untouched, as `groupShown` says (pass `{ phone: true }` to read the phone's own layout). It takes the builder's input without its callbacks. Clearing the builder's rows through their own `onChange` hands several changes, the last of which clears them all (the rows of one build add up); this folds the clear through the builder and hands back one change.
105
+
106
+ ## Quick filters
107
+
108
+ A quick filter holds values on top of the view: fields' `ListHold` (`viewkitjs/fields/query`), which puts nothing on the filter bar and is never saved. Your app hands the fields its list offers, each with its values and, when it counts them, each value's count under the view, the search and the other fields' holds (fields' `countHoldValues` over rows in memory, or a database's count by the same rule), and keeps the hold where it likes; the panel (`ToolbarQuickFilters`, [`/panels/react`](./panels-react.md)) writes it back through `onHoldChange`.
109
+
110
+ - `QuickFiltersConfig` — what the quick filters take: `fields`, `hold`, `onHoldChange` (the whole new hold), and optionally `label` (the button's and the panel's name; `views.panels.quick-filters` when absent), `several` (several held at once; false by default, one in all), `showCounts` (the toolbar's Show counts; true by default) and `heldLabels` (the words of what the hold holds that the fields don't list, by field key, each a `QuickHeldLabels`: keep them with your hold, so a deleted record shows by its name, not its id).
111
+ - `QuickHeldLabels` — a held field's words: optionally `label` (the field's, used where the strip doesn't offer it; absent, its key) and `values` (each held value's by its key; a value the field lists keeps its own words, and one this lacks shows by its key).
112
+ - `QuickFilterField` — a field offered: `key` (as the hold names it), `label`, `values` (in its own order) and optionally `counts` (each value's count by its key, as `countHoldValues` answers; a value it lacks counts 0; absent, no counts) and `searchPlaceholder`.
113
+ - `QuickFilterValue` — a value offered: `value` (its key as the hold keeps it: an option, an id, `"true"` or `"false"`, `""` for none) and `label`.
114
+ - `QuickShownValue` — a value as the panel shows it: `value`, `label`, `count` where counts show, and `held`.
115
+ - `QUICK_SEARCH_AFTER` — 8: a field's values past this many show a search.
116
+ - `holdAfterPress` — the hold after a press on a value: `(hold, fieldKey, value, several)`. One: the value alone held, or, where it was held, let go. Several: the value let go where held, else added at its field's end, a field left empty dropped and a new one added at the hold's end, the other fields kept.
117
+ - `quickFieldsShown` — the fields the strip shows: `(config)` (its `fields`, `hold` and `heldLabels`), those offered, then, in the hold's order, each other field holding a value, named by its `heldLabels` label else its key, with no values of its own.
118
+ - `quickValuesShown` — the values a field shows: `(field, hold, showCounts, emptyLabel, heldWords?)`, its own then each held value it doesn't list (worded by `heldWords`, the field's `heldLabels` values, else by its key, or `emptyLabel` for `""`), with counts the most first, ties in that order.
119
+ - `quickValuesFound` — the values a search finds by their words, case and accents folded: those that start with what is typed first, then those that hold it.
120
+ - `quickFirstOpen` — the field open first: the first holding a value, else the first; `""` with none.
121
+ - `holdStands` — whether a field holds a value.
122
+ - `quickHoldFits` — whether a hold an app's body hands back may be written: the schema (`listHoldSchema`) takes it, it holds one value in all unless `several`, and it adds no value on a field the strip doesn't offer.
123
+ - `quickPressCloses` — on a phone, whether a press on a value closes the Sheet: `(several)`, true with one value held at a time, never with several.
124
+ - `quickHeldNames` — every held value named, for the reminder: `(config, emptyLabel)`, each a `QuickHeldName` (`fieldKey`, `value`, `name`), in the strip's order and each field's in the order held. A value is named by its field's words for it, else the config's `heldLabels`, else `emptyLabel` for `""`, else its field's name (as the strip names it: its `heldLabels` label, else its key), never by its own key.
125
+ - `QuickHeldName` — a held value, named: `fieldKey`, `value` (its key as the hold keeps it) and `name` (its words).
126
+ - `quickReminderWords` — the reminder's words: `(names, shown = 2)`, the first `shown` names, each once, joined by ", ", and `more`, how many other names there are.
127
+
128
+ A value held on a field the strip doesn't offer still narrows, and the button stays lit: ViewKit's panel shows that field in its strip after the fields offered, named by its `heldLabels` label, with its held values alone, so a press lets each go; once its last value goes, the field leaves the strip. An app's own body is handed the same fields (`quickFieldsShown`).
129
+
130
+ ## Built from a list's settings
131
+
132
+ Every panel's config from one value: a list's `ListSettings` (`viewkitjs/fields/query`), a person's `ListPersonalLayer` over it and the list's columns go in, and each change comes back through `onChange` as a `ListSettingsChange` (only the parts it changes, never empty) or through `onLayerChange` as a layer patch. Your app keeps the settings and the layer where it likes (a saved view, a draft, the link, its own store) and calls the builder again when they move; what is set aside in the settings is kept through every write. Every word is a `views.panels.*` key, worded by the `resolve` you hand in. Each call builds fresh configs and callbacks: memoize it on the settings and the layer, so a panel keeps its identity between renders. The look's toggles show what the person sees (their layer's look over the view's) and write the view's. `columns` are the list's declared columns; a part column the grid derives (its `parts`) is the grid's, and the Filter panel draws its rows under its whole column (`filterData.parts`).
133
+
134
+ - `settingsPanels` — every panel at once: `filters`, `filterTree` (with `filterGroups` only), `sort`, `sorts` (with `severalSorts` only), `group`, `groupBy` (the grid header's), `layout`, and the two writes a list's body makes, `setLaneVisible` (a board lane shown or hidden) and `setFolded` (the groups the person folded, their layer's).
135
+ - `SettingsPanels` — what `settingsPanels` returns.
136
+ - `SettingsPanelsInput` — what every builder takes: `settings`, `layer`, `columns`, `onChange`, `onLayerChange`, and optionally `defaults` (the reader's), `resolve`, `conventions` (the reader's: the Filter rows' country names read its `language`; `ReadyToolbar` hands the provider's), `layouts` (the layouts the list offers, in order), `boardField` and `calendarField` (the fields a board and a calendar take when the settings name none), `parts` (the same `parts` your grid takes: on the table, the Columns list also lists each part column the view places, "Address · Country", at its place, shown, hidden and moved there as any column; a part column takes no `columnIcon` or `columnSettings`), `rowsShowColumns`, `rowIcon`, `manualOrder` (Sort offers Manual), `severalSorts` (the sort holds up to 3 rules; pass it to every builder call whose `sort` reaches your grid's header, or a header pick there replaces every rule), `filterGroups` (and/or groups, below), `defaultSort`, `sortOptions` and `groupDimensions` (a list's own, until it moves onto its fields), `groupHeads` (the answer's groups), `columnIcon`, `columnSettings` (a column's drill-in beyond Visible: its formats, a lock), `filterData` (what the filter rows offer), `relationFilters` and `goneFields` (the fields the list no longer shows, an archived one say, each `FilterGoneField`: a set-aside filter on one is named by them).
137
+ - `PanelGroupHead` — one group of the answer, as the Group panel lists it: `key`, `label`, `count`, `hidden`.
138
+ - `SettingsGroupDimension` — a Group dimension with the `fieldKey` it groups by.
139
+ - `settingsFilters` — the Filter rows: each column's root rule read from the settings' filter, an edit written back with every group, relation rule and set-aside rule kept; a column with no field is a row a saved list can't filter on.
140
+ - `settingsSort` — the Sort panel: the first live sort, a pick writing that one sort with the set-aside ones on other fields kept; with `manualOrder`, Manual first. A place column adds one option per part it sorts by ("Address · City"), keyed by the part key and written as `{ fieldKey, direction, by }`.
141
+ - With `severalSorts`, `settingsSort`'s pick (the grid header's, Customize's Sort page) sets the first rule and keeps the others, an empty value (a header's Clear sort) takes the first rule away, a column with no field writes nothing, and Manual empties every rule. Clear (`clearViewOptions`, `settingsCleared`) goes back to the view's default sort as its one rule, and Options' count lights when any rule differs from it. Without `severalSorts`, all of it is as above.
142
+ - `settingsSorts` — the sort as up to 3 rules (`SortRulesConfig`), what the sort pill, its + and the sort editor read: the live sorts in order, each a sort key (a place's part as its part key) and a direction, and the set-aside sorts; written back in order with the set-aside sorts kept after them. With `manualOrder`, the rules read empty while the rows are in their hand order, a first rule leaves it, and the last rule taken away returns to it.
143
+ - `SortRulesConfig` — `options` (the fields, as `SortOption`s), `rules`, `defaultRules` (the view's default sort as one rule, or none: what Clear goes back to), `max` (3), `setAside` (the set-aside sorts, `SetAsideSortRule`s in their stored order, present only while there is one), `onChange(rules, setAside?)` (each change as it is made: the whole rules in order and, when handed, the set-aside sorts to keep, in their order: any it leaves out deleted, one it lists that the settings no longer hold written back from the list, as a phone's ✕ brings back one deleted in its sheet; absent, every one kept) and an optional `label`.
144
+ - `SetAsideSortRule` — a set-aside sort as the sort editor shows it: `fieldKey`, `by` (the order it sorts its field by, as stored), `label` (its field's column's, else its field key), `dir`, `reason` and `value`, the sort key it sorts by once put back, null while it doesn't fit.
145
+ - `openSortPlaces` — how many more rules fit: `max` less the set-aside sorts, each of which holds one of the places until it is put back or deleted; a header's one-field pick lets the last live rule give way to it.
146
+ - `SortRule` — one rule: `value` (a sort key) and `dir`.
147
+ - `addSortRule` — the rules with one more at their end, ascending; a field already sorted (a place by any of its parts), or a fourth rule, comes back unchanged.
148
+ - `canAddSortRule` — whether another rule fits under `max`.
149
+ - `sortedValues` — the sort keys the rules sort by.
150
+ - `sortFieldOf` — the field a sort key sorts: a place's part key (`"address::city"`) sorts its place's field.
151
+ - `sortedField` — whether a rule other than `own` already sorts a key's field: a field sorts once, a place by one of its parts, so its other parts can't be added.
152
+ - `sortRulesLabel` — the sort as the pill names it: `{ first, more }`, the first rule's label and how many follow; `null` with none.
153
+ - `withFirstRule` — a rule put first, its field (a place's other parts too) taken from the rest, to at most `max`.
154
+ - `isSortRulesActive` — whether the rules differ from `defaultRules`.
155
+ - `filterWriter` — the one writer of a list's filter for one build (`FilterWriter`: `write(tree)`, `draft()`): several writes in one burst add up, the draft living for that burst only. `settingsPanels` hands one to the Filter rows and the filter tree alike; `settingsFilters(input, writer?)` takes it, and builds its own when none is handed.
156
+ - `FilterWriter` — what `filterWriter` returns.
157
+
158
+ ### And/or groups
159
+
160
+ With `filterGroups`, a list's filter is a tree of and/or groups the filter editor changes, to the 3 levels and 50 items a group the settings allow. `settingsPanels` hands `filterTree`; a Filter row whose rule stands at the top, narrows something and can be wrapped within 3 levels carries `convert`, which turns it into an advanced filter of its own, in its place. A top joined by Or that shows a rule is one advanced filter: the Filter rows show none of its rules, and a filter added from them first wraps the Or level into an advanced filter under an And top (refused, every row disabled with `views.panels.filter-or-full`, when that would pass 3 levels). An Or that shows no rule reads and writes as And. With groups, Options' count counts each advanced filter, and its Clear (`settingsCleared(…, "options")`) empties every rule and group, keeping the top's set-aside rules; Filter's ✕ (`"filters"`) clears its rows alone on a computer; on a phone, where Filter opens the filter editor on every rule, it empties the advanced filters too.
161
+
162
+ - `settingsFilterTree` — the builder's filter tree (`FilterTreeConfig`), what the filter editor reads, written through the build's shared writer.
163
+ - `FilterTreeConfig` — `tree`, `fields` (`FilterEditorField`s), `onChange(tree)` (the whole tree, as each change is made), `valueOf(rule, write, relation?)` (the rule's value as the Filter panel's own body for its field edits it, its way kept: a choice's and a place's country's Is none of stay; a yes/no is one pick of two that can't be unticked; null for a set-aside rule or a way that takes no value), `label` and `gone` (the builder's `goneFields`).
164
+ - `FilterGoneField` — a field the list no longer shows: `fieldKey`, `label` and its `options`' labels (`{ value, label }`), and, for a related list's field, `relation`, the relation's field key (the relation rule's `fieldKey`). A set-aside filter on it reads them, on the bar, in its sentence and in the filter editor's set-aside row (`asideFilterWords`): "Client status is any of Active", a value no option lists as it is stored. One with a `relation` names only a rule inside that relation's where, and one without names only the list's own, so a far field never takes the name of a list field with the same key. Nothing is stored in the rule.
165
+ - `FilterEditorField` — a field a rule names: `key` (the Filter row's), `label`, `fieldKey`, `part`, `type`, and for a relation `far`, its usable far fields one level in.
166
+ - `filterEditorFields` — the fields a rule can name: the Filter panel's own rows that open, in the person's column order, a place's kept parts among them, then each relation the list filters across with its far fields.
167
+ - `newRuleFor` — a new rule on a field, narrowing nothing until its value is picked: Contains with nothing typed for text, Is with no day for a date, else its type's first way with an empty value.
168
+ - `newRelationRuleFor` — a new relation rule, Any where the far field's new rule holds.
169
+ - `heldUntilWhole` — whether a new rule on a field is held in the editor until it is whole: a yes/no's, whose rule with no value the settings refuse.
170
+ - `emptyValueFor` — the value a rule on a type holds under a way while nothing is picked or typed.
171
+ - `withOperator` — a rule under another way, its value kept where it fits.
172
+ - `withField` — a rule on another field, its way kept where the field has it, else the way a new rule takes; its value emptied.
173
+ - `setAsideFits` — whether a set-aside rule fits the list again, judged against the editor's fields (so Put back never brings back a rule they can't draw): a relation rule where a field with far fields names it; a plain rule where its field is listed (among a relation's far fields, when you hand the relation) and offers its way.
174
+ - `filterWaysOf` — every way a field compares, as the settings hold them, in the conventions' `filter.operator` words.
175
+ - `takesValue` — whether a way takes a value (not Is empty or Is not empty).
176
+ - `FilterPath` — where a node stands in the tree: each step an index into its container's items, a relation rule's being its `where`; `[]` is the tree.
177
+ - `nodeAt` — the node at a path.
178
+ - `itemsAt` — a container's items at a path: the tree's, a group's, a relation rule's where's.
179
+ - `joinAt` — a container's join at a path.
180
+ - `addAt` — a node added at a container's end; null at 50 items or past 3 levels.
181
+ - `replaceAt` — a node replaced.
182
+ - `putBackAt` — the set-aside rule or relation rule at a path put back, its mark gone, so it filters again; the very same tree when the path names none.
183
+ - `removeAt` — a node taken away, with any group or relation rule it leaves empty, never the tree: `{ tree, removed }`, `removed` the outermost node that went.
184
+ - `setJoinAt` — a container's join, every join at its level; a group that excludes its matches keeps its own.
185
+ - `canGroupAt` — whether a rule can become a group of its own within 3 levels.
186
+ - `groupAt` — the rule wrapped in a group of its own, joined by And, in its place.
187
+ - `canExcludeAt` — whether a group can exclude its matches: a group joined by And, or one that already does.
188
+ - `setExcludedAt` — the group made `not` ("not all of") or back.
189
+ - `shownRuleCount` — the rules a node shows: a set-aside rule none, a relation rule its where's.
190
+ - `advancedFiltersOf` — the advanced filters of a tree: each group at its top, or the whole of a top joined by Or that holds a rule, carrying `aside: true` when every rule it holds is set aside.
191
+ - `AdvancedFilter` — one of them: its `path`, the rules it shows (`count`), and `aside: true` when it holds rules and every one is set aside.
192
+ - `orLevelWrapped` — a top joined by Or as one advanced filter under an And top; null past 3 levels.
193
+ - `settled` — an Or that shows no rule, as And.
194
+ - `clearedTree` — what Clear leaves: the top's set-aside rules.
195
+ - `editView` — what an editor at a path stands on: a top joined by Or that can be wrapped, wrapped, the editor at `[0]`; a top-level relation rule the bar reads as an advanced filter, wrapped in a group of its own at its place, or, where that would pass 3 levels, as it is, the editor editing the relation in place.
196
+ - `editIn` — an editor's edit landed on its `editView`: the first edit in a top joined by Or wraps it and lands inside, so the advanced filter stays one; a refused edit, or one past 3 levels, writes nothing.
197
+ - `editWhole` — an edit on the whole tree in place, as the phone's filter editor makes it: no top joined by Or is wrapped, the top's join is its own; the result settled, and a refused edit, or one past 3 levels, writes nothing.
198
+ - `followAdvancedKeys` — the keys of the advanced filters' pills after a write: a pill's own delete drops its key, an edit inside keeps every key, anything else matches equal filters and makes the rest fresh.
199
+ - `barItemsOf` — the filters a toolbar's filter bar shows, in the tree's order: each top-level plain rule, a relation rule "any" over one rule as a related record's field, every group and any other relation rule as an advanced filter, a top joined by Or that holds a rule as one advanced filter at `[]`; a set-aside rule or relation rule as `aside` in its place (`{ kind: "aside", path, node }`), though a relation rule whose one far rule is set aside stays an advanced filter; an advanced filter holding only set-aside rules carries `aside: true`.
200
+ - `BarItem` — one of them: `{ kind: "rule", path, rule }`, `{ kind: "far", path, relation, rule }` (`rule` the far rule), `{ kind: "advanced", path, count, aside? }` or `{ kind: "aside", path, node }` (a set-aside rule or relation rule).
201
+ - `addOnBar` — a node added at the top's end, a top joined by Or wrapped into one advanced filter first: `{ tree }`, or `{ refused }`, `"or-full"` where the wrap would pass 3 levels, `"too-many"` at 50 items.
202
+ - `barAddRefusal` — what `addOnBar` would refuse on this tree, or null.
203
+ - `followBarKeys` — `followAdvancedKeys` for the bar's filters (fresh keys `bf-<n>`), and `carried`: a held rule just written, whose path in the new tree takes its key, spending no fresh number.
204
+ - `barFilterWords` — what a filter on the bar says (`BarFilterWords`), for a `rule` or `far` item or `{ kind: "held", node }`, the rule held until whole, over the builder's `filterTree`, your conventions and your resolver: its field (a related record's field as `views.panels.filter-far-field`, "Company › Industry", a far field the relation no longer lists by the label of the gone field handed for that relation, else its key), how it compares through `views.panels.filter-way-words` ("is any of"), its value once the rule is whole, the Filter panel's summary of it, a number's, a date's, a range's or a text's value alone ("10", "31 Dec 2026", "20 – 100") since the way stands in its own part, as the filter editor's value box says it, else what it waits for by its field's type through `views.panels.filter-waits`, null where its way takes no value, and the sentence that names it, `views.panels.filter-rule-words`.
205
+ - `asideFilterWords` — what a set-aside filter on the bar says (`BarFilterWords` with `why`), for a set-aside rule or relation rule, or one whose field the editor's fields don't list, read as gone: its field by its label where it is still listed, else by the label of the gone field the app handed for it (`filterTree.gone`), else by its key; for a rule inside a relation's where, pass the relation's field key as its fifth argument, `relation`, and its field is that relation's far field, listed or handed as gone with that `relation`; its way through `views.panels.filter-way-words` (a relation rule's `views.panels.filter-relation-way`, "any where"); a rule's stored value in plain words (a string, a number, strings joined with ", "), each string by its option's label where its field lists one (a field still listed, its Filter panel's options; a gone one, the options the app handed with it), null where it has none it can say; never waiting; the sentence; and `why`, `views.panels.filter-set-aside-why` by its reason (`missing-field` for an unmarked rule), or `views.panels.filter-set-aside-back` for one marked for a missing field whose field is listed again. A rule inside a relation's where finds its far field by its key alone, since far fields carry no part; the list's own fields by key and part.
206
+ - `BarFilterWords` — `{ field, way, value, waits, sentence }`: `value` null where the way takes none, `waits` true while the value says what it waits for.
207
+ - `settingsGroup` — the Group panel: a new field opens with Hide empty groups on, the same field keeps its groups unless a new granularity re-keys them, and with `groupHeads` the groups to show, hide and drag.
208
+ - `settingsGroupBy` — the grid header's Group by over the settings.
209
+ - `groupDimensionFor` — what a field's Group by offers and opens with, worded through your resolver.
210
+ - `settingsLayout` — the Layout panel: the layouts the columns can draw (the others refused, with why), a switch to a board or a calendar naming its field in the same change, the phone's own layout (the layer's), the look's toggles and density, the Columns list with a card's line breaks, the board's and the calendar's fields, and the reader's own section.
211
+ - `columnStateOf` — the settings' columns as the grid's `ListColumnState`, the person's widths over the view's.
212
+ - `columnsChangeOf` — a column state handed back, as `{ change, layer }`: the settings' columns in its order and visibility, and only the widths that differ in the person's layer.
213
+ - `columnsReset` — the Columns list's reset, as a change.
214
+ - `aggregatesOf` — each placed column's figure, by grid column id.
215
+ - `figuresChangeOf` — the figures picked, as a change; a computed column is never totalled.
216
+ - `seenLook` — the look a person sees: theirs, the view's, then the defaults (the reader's own for vertical borders).
217
+ - `SeenLook` — that look, every setting resolved.
218
+ - `lookChange` — one look setting set on the view, as a change; vertical borders set to the reader's default leaves the view without an answer of its own.
219
+ - `boardFieldOf` — the column a board is laid out by: the settings' field, else the preferred one, else the type rule's.
220
+ - `calendarFieldOf` — the column a calendar is laid out by: the settings' field, else the preferred one, else the first a person can edit.