@fuaran-ui/conformance 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/LICENSE +215 -0
  2. package/README.md +85 -0
  3. package/corpus/elicitation/elc-ans-accept-full.json +1 -0
  4. package/corpus/elicitation/elc-ans-accept-int-for-float.json +1 -0
  5. package/corpus/elicitation/elc-ans-accept-minimal.json +1 -0
  6. package/corpus/elicitation/elc-ans-reject-enum.json +1 -0
  7. package/corpus/elicitation/elc-ans-reject-float-range.json +1 -0
  8. package/corpus/elicitation/elc-ans-reject-int-range.json +1 -0
  9. package/corpus/elicitation/elc-ans-reject-missing-required.json +1 -0
  10. package/corpus/elicitation/elc-ans-reject-string-len.json +1 -0
  11. package/corpus/elicitation/elc-ans-reject-type-mismatch.json +1 -0
  12. package/corpus/elicitation/elc-ans-reject-undeclared.json +1 -0
  13. package/corpus/elicitation/elc-full.json +1 -0
  14. package/corpus/elicitation/elc-minimal.json +1 -0
  15. package/corpus/elicitation/elc-out-answered.json +1 -0
  16. package/corpus/elicitation/elc-out-declined.json +1 -0
  17. package/corpus/elicitation/elc-out-reject-empty-id.json +1 -0
  18. package/corpus/elicitation/elc-out-reject-missing-answer.json +1 -0
  19. package/corpus/elicitation/elc-out-reject-stray-key.json +1 -0
  20. package/corpus/elicitation/elc-out-reject-unknown-type.json +1 -0
  21. package/corpus/elicitation/elc-out-superseded-anon.json +1 -0
  22. package/corpus/elicitation/elc-out-superseded-by.json +1 -0
  23. package/corpus/elicitation/elc-out-timedout.json +1 -0
  24. package/corpus/elicitation/elc-reject-bad-space.json +1 -0
  25. package/corpus/elicitation/elc-reject-bad-timeout.json +1 -0
  26. package/corpus/elicitation/elc-reject-bad-version.json +1 -0
  27. package/corpus/elicitation/elc-reject-default-nonconformant.json +1 -0
  28. package/corpus/elicitation/elc-reject-duplicate-field.json +1 -0
  29. package/corpus/elicitation/elc-reject-empty-contract.json +1 -0
  30. package/corpus/elicitation/elc-reject-empty-id.json +1 -0
  31. package/corpus/elicitation/elc-reject-missing-version.json +1 -0
  32. package/corpus/elicitation/elc-reject-stray-key.json +1 -0
  33. package/corpus/elicitation/elc-reject-tree-decode.json +1 -0
  34. package/corpus/elicitation/elc-reject-unknown-node.json +1 -0
  35. package/corpus/envelope/envelope-foreign-major.json +1 -0
  36. package/corpus/envelope/envelope-foreign-namespace.json +1 -0
  37. package/corpus/envelope/envelope-known-current.json +1 -0
  38. package/corpus/envelope/envelope-unknown-behind.json +1 -0
  39. package/corpus/envelope/envelope-unknown-malformed-required-profile.json +1 -0
  40. package/corpus/envelope/envelope-unknown-required-profile.json +1 -0
  41. package/corpus/lenient/legacy-upgrade-card.expected.json +1 -0
  42. package/corpus/lenient/legacy-upgrade-card.json +1 -0
  43. package/corpus/lenient/legacy-upgrade-dashboard.expected.json +1 -0
  44. package/corpus/lenient/legacy-upgrade-dashboard.json +1 -0
  45. package/corpus/lenient/legacy-upgrade-gridlayout.expected.json +1 -0
  46. package/corpus/lenient/legacy-upgrade-gridlayout.json +1 -0
  47. package/corpus/lenient/legacy-upgrade-stack.expected.json +1 -0
  48. package/corpus/lenient/legacy-upgrade-stack.json +1 -0
  49. package/corpus/lenient/legacy-upgrade-table.expected.json +1 -0
  50. package/corpus/lenient/legacy-upgrade-table.json +1 -0
  51. package/corpus/lenient/lenient-022-lvr-emphasis-loud.expected.json +1 -0
  52. package/corpus/lenient/lenient-022-lvr-emphasis-loud.json +1 -0
  53. package/corpus/lenient/lenient-022-lvr-emphasis-normal.expected.json +1 -0
  54. package/corpus/lenient/lenient-022-lvr-emphasis-normal.json +1 -0
  55. package/corpus/lenient/lenient-460-alias-emphasis-muted.expected.json +1 -0
  56. package/corpus/lenient/lenient-460-alias-emphasis-muted.json +1 -0
  57. package/corpus/lenient/lenient-460-alias-emphasis-strong.expected.json +1 -0
  58. package/corpus/lenient/lenient-460-alias-emphasis-strong.json +1 -0
  59. package/corpus/lenient/lenient-460-alias-tone-danger.expected.json +1 -0
  60. package/corpus/lenient/lenient-460-alias-tone-danger.json +1 -0
  61. package/corpus/lenient/lenient-460-alias-tone-positive.expected.json +1 -0
  62. package/corpus/lenient/lenient-460-alias-tone-positive.json +1 -0
  63. package/corpus/lenient/lenient-460-explicit-default-column.expected.json +1 -0
  64. package/corpus/lenient/lenient-460-explicit-default-column.json +1 -0
  65. package/corpus/lenient/lenient-460-explicit-default-metric.expected.json +1 -0
  66. package/corpus/lenient/lenient-460-explicit-default-metric.json +1 -0
  67. package/corpus/lenient/lenient-460-explicit-default-style.expected.json +1 -0
  68. package/corpus/lenient/lenient-460-explicit-default-style.json +1 -0
  69. package/corpus/lenient/lenient-596-form-explicit-auto-state.expected.json +1 -0
  70. package/corpus/lenient/lenient-596-form-explicit-auto-state.json +1 -0
  71. package/corpus/lenient/lenient-alias-call-url.expected.json +1 -0
  72. package/corpus/lenient/lenient-alias-call-url.json +1 -0
  73. package/corpus/lenient/lenient-alias-card-title-metric-value.expected.json +1 -0
  74. package/corpus/lenient/lenient-alias-card-title-metric-value.json +1 -0
  75. package/corpus/lenient/lenient-alias-datagrid-data-column-type.expected.json +1 -0
  76. package/corpus/lenient/lenient-alias-datagrid-data-column-type.json +1 -0
  77. package/corpus/lenient/lenient-alias-form-field-name.expected.json +1 -0
  78. package/corpus/lenient/lenient-alias-form-field-name.json +1 -0
  79. package/corpus/lenient/lenient-alias-grid-columns-row.expected.json +1 -0
  80. package/corpus/lenient/lenient-alias-grid-columns-row.json +1 -0
  81. package/corpus/lenient/lenient-alias-navigate-href.expected.json +1 -0
  82. package/corpus/lenient/lenient-alias-navigate-href.json +1 -0
  83. package/corpus/lenient/lenient-alias-select-options-query-deps.expected.json +1 -0
  84. package/corpus/lenient/lenient-alias-select-options-query-deps.json +1 -0
  85. package/corpus/lenient/lenient-bare-text-button-label.expected.json +1 -0
  86. package/corpus/lenient/lenient-bare-text-button-label.json +1 -0
  87. package/corpus/lenient/lenient-bare-text-callout.expected.json +1 -0
  88. package/corpus/lenient/lenient-bare-text-callout.json +1 -0
  89. package/corpus/lenient/lenient-bare-text-heading.expected.json +1 -0
  90. package/corpus/lenient/lenient-bare-text-heading.json +1 -0
  91. package/corpus/lenient/lenient-bare-text-markdown.expected.json +1 -0
  92. package/corpus/lenient/lenient-bare-text-markdown.json +1 -0
  93. package/corpus/lenient/lenient-binding-bound-wrapper.expected.json +1 -0
  94. package/corpus/lenient/lenient-binding-bound-wrapper.json +1 -0
  95. package/corpus/lenient/lenient-emphasis-cross-vocab.expected.json +1 -0
  96. package/corpus/lenient/lenient-emphasis-cross-vocab.json +1 -0
  97. package/corpus/lenient/lenient-fact-explicit-defaults.expected.json +1 -0
  98. package/corpus/lenient/lenient-fact-explicit-defaults.json +1 -0
  99. package/corpus/lenient/lenient-null-static-options.expected.json +1 -0
  100. package/corpus/lenient/lenient-null-static-options.json +1 -0
  101. package/corpus/lenient/lenient-opaque-static-markers.expected.json +1 -0
  102. package/corpus/lenient/lenient-opaque-static-markers.json +1 -0
  103. package/corpus/lenient/lenient-opaque-static-options.expected.json +1 -0
  104. package/corpus/lenient/lenient-opaque-static-options.json +1 -0
  105. package/corpus/lenient/lenient-opaque-static-series.expected.json +1 -0
  106. package/corpus/lenient/lenient-opaque-static-series.json +1 -0
  107. package/corpus/lenient/lenient-opaque-static-values.expected.json +1 -0
  108. package/corpus/lenient/lenient-opaque-static-values.json +1 -0
  109. package/corpus/lenient/lenient-shape-binding-scalar-fraction.expected.json +1 -0
  110. package/corpus/lenient/lenient-shape-binding-scalar-fraction.json +1 -0
  111. package/corpus/lenient/lenient-shape-grid-no-cols.expected.json +1 -0
  112. package/corpus/lenient/lenient-shape-grid-no-cols.json +1 -0
  113. package/corpus/lenient/lenient-shape-grid-template-no-cols.expected.json +1 -0
  114. package/corpus/lenient/lenient-shape-grid-template-no-cols.json +1 -0
  115. package/corpus/lenient/lenient-shape-options-bare-strings.expected.json +1 -0
  116. package/corpus/lenient/lenient-shape-options-bare-strings.json +1 -0
  117. package/corpus/lenient/lenient-shape-params-map.expected.json +1 -0
  118. package/corpus/lenient/lenient-shape-params-map.json +1 -0
  119. package/corpus/lenient/lenient-shape-segmented-orientation-omitted.expected.json +1 -0
  120. package/corpus/lenient/lenient-shape-segmented-orientation-omitted.json +1 -0
  121. package/corpus/lenient/lenient-shape-static-envelope-plain-scalars.expected.json +1 -0
  122. package/corpus/lenient/lenient-shape-static-envelope-plain-scalars.json +1 -0
  123. package/corpus/lenient/lenient-transform-bare-columns.expected.json +1 -0
  124. package/corpus/lenient/lenient-transform-bare-columns.json +1 -0
  125. package/corpus/lenient/lenient-transform-epoch-timestamps.expected.json +1 -0
  126. package/corpus/lenient/lenient-transform-epoch-timestamps.json +1 -0
  127. package/corpus/lenient/lenient-transform-expr-spellings.expected.json +1 -0
  128. package/corpus/lenient/lenient-transform-expr-spellings.json +1 -0
  129. package/corpus/lenient/lenient-transform-flat-contains.expected.json +1 -0
  130. package/corpus/lenient/lenient-transform-flat-contains.json +1 -0
  131. package/corpus/lenient/lenient-transform-flat-filter.expected.json +1 -0
  132. package/corpus/lenient/lenient-transform-flat-filter.json +1 -0
  133. package/corpus/lenient/lenient-transform-flat-or.expected.json +1 -0
  134. package/corpus/lenient/lenient-transform-flat-or.json +1 -0
  135. package/corpus/lenient/lenient-transform-flat-scalar-fn.expected.json +1 -0
  136. package/corpus/lenient/lenient-transform-flat-scalar-fn.json +1 -0
  137. package/corpus/lenient/lenient-transform-schemaless.expected.json +1 -0
  138. package/corpus/lenient/lenient-transform-schemaless.json +1 -0
  139. package/corpus/lenient/lenient-transform-step-aliases.expected.json +1 -0
  140. package/corpus/lenient/lenient-transform-step-aliases.json +1 -0
  141. package/corpus/lenient/lenient-transform-values-only-columns.expected.json +1 -0
  142. package/corpus/lenient/lenient-transform-values-only-columns.json +1 -0
  143. package/corpus/lenient/lenient-window-cumsum-legacy.expected.json +1 -0
  144. package/corpus/lenient/lenient-window-cumsum-legacy.json +1 -0
  145. package/corpus/manifest.json +2000 -0
  146. package/corpus/nodes/badge-1.json +1 -0
  147. package/corpus/nodes/boundary-1.json +1 -0
  148. package/corpus/nodes/btn-1.json +1 -0
  149. package/corpus/nodes/btn-copy-link.json +1 -0
  150. package/corpus/nodes/btn-invoke.json +1 -0
  151. package/corpus/nodes/btn-read-workbook.json +1 -0
  152. package/corpus/nodes/call-into.json +1 -0
  153. package/corpus/nodes/callout-1.json +1 -0
  154. package/corpus/nodes/card-1.json +1 -0
  155. package/corpus/nodes/chart-1.json +1 -0
  156. package/corpus/nodes/code-1.json +1 -0
  157. package/corpus/nodes/composite-root.json +1 -0
  158. package/corpus/nodes/controls-closure.json +1 -0
  159. package/corpus/nodes/controls-declarative.json +1 -0
  160. package/corpus/nodes/custom-1.json +1 -0
  161. package/corpus/nodes/custom-bounded-1.json +1 -0
  162. package/corpus/nodes/custom-bounded-advisory.json +1 -0
  163. package/corpus/nodes/dash-empty.json +1 -0
  164. package/corpus/nodes/discl-1.json +1 -0
  165. package/corpus/nodes/drawing-1.json +1 -0
  166. package/corpus/nodes/drawing-empty.json +1 -0
  167. package/corpus/nodes/fact-1.json +1 -0
  168. package/corpus/nodes/filterable-static-dashboard.json +1 -0
  169. package/corpus/nodes/filters-1.json +1 -0
  170. package/corpus/nodes/filters-declarative.json +1 -0
  171. package/corpus/nodes/filters-segmented.json +1 -0
  172. package/corpus/nodes/form-1.json +1 -0
  173. package/corpus/nodes/form-date.json +1 -0
  174. package/corpus/nodes/form-declarative-minimal.json +1 -0
  175. package/corpus/nodes/form-declarative.json +1 -0
  176. package/corpus/nodes/form-local-1.json +1 -0
  177. package/corpus/nodes/form-local-debounce.json +1 -0
  178. package/corpus/nodes/form-ranged.json +1 -0
  179. package/corpus/nodes/form-segmented.json +1 -0
  180. package/corpus/nodes/format-bindings.json +1 -0
  181. package/corpus/nodes/frag-decl-1.json +1 -0
  182. package/corpus/nodes/frag-decl-param.json +1 -0
  183. package/corpus/nodes/frag-ref-1.json +1 -0
  184. package/corpus/nodes/frag-ref-args.json +1 -0
  185. package/corpus/nodes/glayout-1.json +1 -0
  186. package/corpus/nodes/glayout-tpl-autofit.json +1 -0
  187. package/corpus/nodes/glayout-tpl-fixed.json +1 -0
  188. package/corpus/nodes/glayout-tpl-ratio.json +1 -0
  189. package/corpus/nodes/grid-1.json +1 -0
  190. package/corpus/nodes/grid-field-named.json +1 -0
  191. package/corpus/nodes/grid-transform-param.json +1 -0
  192. package/corpus/nodes/grid-transform.json +1 -0
  193. package/corpus/nodes/heading-1.json +1 -0
  194. package/corpus/nodes/image-1.json +1 -0
  195. package/corpus/nodes/link-1.json +1 -0
  196. package/corpus/nodes/list-1.json +1 -0
  197. package/corpus/nodes/lvr-1.json +1 -0
  198. package/corpus/nodes/map-1.json +1 -0
  199. package/corpus/nodes/markdown-1.json +1 -0
  200. package/corpus/nodes/master-detail-preselected.json +1 -0
  201. package/corpus/nodes/math-1.json +1 -0
  202. package/corpus/nodes/metric-1.json +1 -0
  203. package/corpus/nodes/metric-float-17sig.json +1 -0
  204. package/corpus/nodes/metric-float-bigint.json +1 -0
  205. package/corpus/nodes/metric-float-exp-neg.json +1 -0
  206. package/corpus/nodes/metric-float-exp-pos.json +1 -0
  207. package/corpus/nodes/metric-invoke.json +1 -0
  208. package/corpus/nodes/modal-1.json +1 -0
  209. package/corpus/nodes/mount-1.json +1 -0
  210. package/corpus/nodes/mount-2.json +1 -0
  211. package/corpus/nodes/multiselect-1.json +1 -0
  212. package/corpus/nodes/progress-1.json +1 -0
  213. package/corpus/nodes/query-dependson.json +1 -0
  214. package/corpus/nodes/scalar-transform-composition.json +1 -0
  215. package/corpus/nodes/scroll-1.json +1 -0
  216. package/corpus/nodes/select-1.json +1 -0
  217. package/corpus/nodes/skel-1.json +1 -0
  218. package/corpus/nodes/spark-1.json +1 -0
  219. package/corpus/nodes/split-1.json +1 -0
  220. package/corpus/nodes/stack-1.json +1 -0
  221. package/corpus/nodes/step-1.json +1 -0
  222. package/corpus/nodes/style-role-voice-1.json +1 -0
  223. package/corpus/nodes/summary-1.json +1 -0
  224. package/corpus/nodes/switch-1.json +1 -0
  225. package/corpus/nodes/table-1.json +1 -0
  226. package/corpus/nodes/tabs-1.json +1 -0
  227. package/corpus/nodes/tabs-explicit-1.json +1 -0
  228. package/corpus/nodes/toast-1.json +1 -0
  229. package/corpus/nodes/upload-1.json +1 -0
  230. package/corpus/ops/op-batch.json +1 -0
  231. package/corpus/ops/op-editnode.json +1 -0
  232. package/corpus/ops/op-insertchild.json +1 -0
  233. package/corpus/ops/op-movenode.json +1 -0
  234. package/corpus/ops/op-removenode.json +1 -0
  235. package/corpus/ops/op-reorderchildren.json +1 -0
  236. package/corpus/ops/op-replacebinding.json +1 -0
  237. package/corpus/ops/op-replaceroot.json +1 -0
  238. package/corpus/ops/op-updateprop-nested-badfield.json +1 -0
  239. package/corpus/ops/op-updateprop-nested-badindex.json +1 -0
  240. package/corpus/ops/op-updateprop-nested-column0-label.json +1 -0
  241. package/corpus/ops/op-updateprop-nested-column1-label.json +1 -0
  242. package/corpus/ops/op-updateprop-nested-field0-required.json +1 -0
  243. package/corpus/ops/op-updateprop-nested-field1-required.json +1 -0
  244. package/corpus/ops/op-updateprop-nested-malformed.json +1 -0
  245. package/corpus/ops/op-updateprop-nested-object-value.json +1 -0
  246. package/corpus/ops/op-updateprop-nested-yfield0.json +1 -0
  247. package/corpus/ops/op-updateprop-nested-yfield1.json +1 -0
  248. package/corpus/ops/op-updateprop.json +1 -0
  249. package/corpus/ops/op-updatestate.json +1 -0
  250. package/corpus/ops/op-updatestyle (phase 147 role=eyebrow + voice=structural).json +1 -0
  251. package/corpus/ops/op-updatestyle.json +1 -0
  252. package/corpus/reject/reject-emptynodeid.json +1 -0
  253. package/corpus/reject/reject-invalid-empty.json +0 -0
  254. package/corpus/reject/reject-invalid-garbage.json +1 -0
  255. package/corpus/reject/reject-invalid-truncated.json +1 -0
  256. package/corpus/reject/reject-missing-binding-type.json +1 -0
  257. package/corpus/reject/reject-missing-custom-moduleid.json +1 -0
  258. package/corpus/reject/reject-missing-markdown-text.json +1 -0
  259. package/corpus/reject/reject-missing-metric-value.json +1 -0
  260. package/corpus/reject/reject-missing-mount-scopeid.json +1 -0
  261. package/corpus/reject/reject-missing-node-id.json +1 -0
  262. package/corpus/reject/reject-missing-node-kind.json +1 -0
  263. package/corpus/reject/reject-missing-switch-cases.json +1 -0
  264. package/corpus/reject/reject-missing-switch-default.json +1 -0
  265. package/corpus/reject/reject-missing-switch-statekey.json +1 -0
  266. package/corpus/reject/reject-null-action-aitool-args.json +1 -0
  267. package/corpus/reject/reject-null-action-notify-payload.json +1 -0
  268. package/corpus/reject/reject-null-action-setstate-value.json +1 -0
  269. package/corpus/reject/reject-null-custom-prop.json +1 -0
  270. package/corpus/reject/reject-null-i18n-arg.json +1 -0
  271. package/corpus/reject/reject-null-updateprop-value.json +1 -0
  272. package/corpus/reject/reject-op-insertchild-empty-childid.json +1 -0
  273. package/corpus/reject/reject-op-insertchild-missing-parentid.json +1 -0
  274. package/corpus/reject/reject-op-missing-type.json +1 -0
  275. package/corpus/reject/reject-op-reorderchildren-wrongtype.json +1 -0
  276. package/corpus/reject/reject-op-unknown-yeet.json +1 -0
  277. package/corpus/reject/reject-op-updateprop-missing-path.json +1 -0
  278. package/corpus/reject/reject-unknown-binding.json +1 -0
  279. package/corpus/reject/reject-unknown-drawing-curve-command.json +1 -0
  280. package/corpus/reject/reject-unknown-drawing-shape.json +1 -0
  281. package/corpus/reject/reject-unknown-mount-direction.json +1 -0
  282. package/corpus/reject/reject-unknown-textsource.json +1 -0
  283. package/corpus/reject/reject-unknown-tone.json +1 -0
  284. package/corpus/reject/reject-wrongnodekind-sparkler.json +1 -0
  285. package/corpus/reject/reject-wrongnodekind-widget.json +1 -0
  286. package/corpus/reject/reject-wrongtype-dashboard-children.json +1 -0
  287. package/corpus/reject/reject-wrongtype-discriminator.json +1 -0
  288. package/corpus/reject/reject-wrongtype-heading-level.json +1 -0
  289. package/corpus/reject/reject-wrongtype-id.json +1 -0
  290. package/corpus/reject/reject-wrongtype-kind.json +1 -0
  291. package/corpus/reject/reject-wrongtype-style-tone.json +1 -0
  292. package/corpus/schema.json +4396 -0
  293. package/dist/cli.js +612 -0
  294. package/dist/cli.js.map +1 -0
  295. package/dist/index.cjs +579 -0
  296. package/dist/index.cjs.map +1 -0
  297. package/dist/index.d.cts +159 -0
  298. package/dist/index.d.ts +159 -0
  299. package/dist/index.js +570 -0
  300. package/dist/index.js.map +1 -0
  301. package/package.json +59 -0
@@ -0,0 +1 @@
1
+ {"id":"badge-1","kind":{"$type":"Badge","label":"Beta","variant":"Info"}}
@@ -0,0 +1 @@
1
+ {"id":"boundary-1","kind":{"$type":"ErrorBoundary","child":{"id":"boundary-child","kind":{"$type":"Markdown","text":"Child body"}},"fallback":{"id":"boundary-fallback","kind":{"$type":"Callout","body":"Fallback rendered","heading":"Couldn't render","tone":"Warning"}}}}
@@ -0,0 +1 @@
1
+ {"id":"btn-1","kind":{"$type":"Button","disabled":{"$type":"State","defaultValue":false,"key":"loading"},"icon":"refresh","label":"Refresh","onClick":{"$type":"Chain","ops":[]},"variant":"Primary"}}
@@ -0,0 +1 @@
1
+ {"id":"btn-copy-link","kind":{"$type":"Button","label":"Copy share link","onClick":{"$type":"Chain","ops":[{"$type":"WriteToClipboard","text":"https://example.com/share/abc123"},{"$type":"Dispatch"}]},"variant":"Secondary"}}
@@ -0,0 +1 @@
1
+ {"id":"btn-invoke","kind":{"$type":"Button","label":"Run model","onClick":{"$type":"Invoke","args":[{"addr":"rows","value":"all"}],"capabilityId":"model.score"},"variant":"Primary"}}
@@ -0,0 +1 @@
1
+ {"id":"btn-read-workbook","kind":{"$type":"Button","label":"Load workbook","onClick":{"$type":"ReadFileBody","encoding":"Base64","fileRef":"workbook-upload:0","onRead":"<closure>"},"variant":"Primary"}}
@@ -0,0 +1 @@
1
+ {"id":"call-into","kind":{"$type":"Box","children":[{"id":"btn-call-closure","kind":{"$type":"Button","label":"Refresh (closure)","onClick":{"$type":"Call","endpoint":"/api/refresh","onResult":"<closure>"},"variant":"Secondary"}},{"id":"btn-fetch-total","kind":{"$type":"Button","label":"Fetch total","onClick":{"$type":"Call","endpoint":"/api/total","into":{"$type":"State","key":"total"}},"variant":"Primary"}},{"id":"total-metric","kind":{"$type":"Metric","label":"Total","value":{"$type":"State","defaultValue":0,"key":"total"}}},{"id":"btn-fetch-orders","kind":{"$type":"Button","label":"Fetch orders","onClick":{"$type":"Call","endpoint":"/api/orders","into":{"$type":"Query","name":"orders"}},"variant":"Primary"}},{"id":"orders-metric","kind":{"$type":"Metric","label":"Orders","value":{"$type":"Query","name":"orders"}}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"callout-1","kind":{"$type":"Callout","body":"Live data is delayed.","dismissable":true,"heading":"Heads up","icon":"alert","tone":"Warning"}}
@@ -0,0 +1 @@
1
+ {"id":"card-1","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}],"heading":"Insights","layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Card"}}
@@ -0,0 +1 @@
1
+ {"id":"chart-1","kind":{"$type":"Chart","kind":"Line","source":{"$type":"Static","value":"<opaque>"},"stacked":true,"title":"Channel mix","xField":"month","yFields":["revenue","cost"]}}
@@ -0,0 +1 @@
1
+ {"id":"code-1","kind":{"$type":"CodeBlock","code":"let x = 1\u000alet y = 2","copyable":true,"highlightLines":[1,2],"language":"fsharp","lineNumbers":true}}
@@ -0,0 +1 @@
1
+ {"id":"composite-root","kind":{"$type":"Box","children":[{"id":"composite-card","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"lvr-1","kind":{"$type":"LabelValueRow","emphasis":true,"format":{"$type":"Number","decimals":2},"help":"Last 30 days","label":"Total","value":{"$type":"Static","value":42}}}],"heading":"Composite","layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Card"}},{"id":"stack-1","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Auto"},"role":"Dashboard"}}
@@ -0,0 +1 @@
1
+ {"id":"controls-closure","kind":{"$type":"Box","children":[{"id":"closure-tabs","kind":{"$type":"Tabs","activeIndex":{"$type":"Static","value":0},"activeTag":{"$type":"Static","value":"overview"},"children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}},{"id":"spark-1","kind":{"$type":"Sparkline","source":{"$type":"Static","value":[1,2,3,2,4]}}}],"onSelect":"<closure>","onSelectTag":"<closure>","tabTags":["overview","detail"]}},{"id":"closure-disclosure","kind":{"$type":"Disclosure","children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"defaultOpen":false,"heading":"Advanced","onToggle":"<closure>","open":{"$type":"Static","value":false}}},{"id":"closure-multiselect","kind":{"$type":"Select","label":"Tags","multiple":true,"onChange":"<closure>","onChangeMulti":"<closure>","source":{"$type":"Static","value":[{"label":"Red","value":"red"}]},"value":{"$type":"Static","value":null},"values":{"$type":"Static","value":["red"]}}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"controls-declarative","kind":{"$type":"Box","children":[{"id":"decl-tabs","kind":{"$type":"Tabs","activeIndex":{"$type":"State","defaultValue":0,"key":"activePane"},"children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}]}},{"id":"decl-modal","kind":{"$type":"Modal","children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"dismissable":true,"heading":"Confirm","open":{"$type":"State","defaultValue":false,"key":"modalOpen"}}},{"id":"decl-disclosure","kind":{"$type":"Disclosure","children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"defaultOpen":false,"heading":"Advanced","open":{"$type":"State","defaultValue":false,"key":"advancedOpen"}}},{"id":"decl-select","kind":{"$type":"Select","label":"Region","placeholder":"Choose one","source":{"$type":"Static","value":[{"label":"UK","value":"uk"}]},"value":{"$type":"State","defaultValue":null,"key":"region"}}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"custom-1","kind":{"$type":"Custom","componentId":"trend-card","moduleId":"analytics","props":{}}}
@@ -0,0 +1 @@
1
+ {"id":"custom-bounded-1","kind":{"$type":"Custom","componentId":"QualityRing","contentHash":{"algorithm":"SHA256","hash":"abc123def456","strictness":"StrictReplay"},"exposedNodeIds":["quality-ring-segment-1","quality-ring-segment-2"],"moduleId":"deal-flow","props":{}}}
@@ -0,0 +1 @@
1
+ {"id":"custom-bounded-advisory","kind":{"$type":"Custom","componentId":"TrendCard","contentHash":{"algorithm":"SHA256","hash":"fedcba654321","strictness":"AdvisoryWarning"},"moduleId":"deal-flow","props":{}}}
@@ -0,0 +1 @@
1
+ {"id":"dash-empty","kind":{"$type":"Box","children":[],"layout":{"$type":"Auto"},"role":"Dashboard"}}
@@ -0,0 +1 @@
1
+ {"id":"discl-1","kind":{"$type":"Disclosure","children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"defaultOpen":true,"heading":"Additional entitlements","open":{"$type":"Static","value":false}}}
@@ -0,0 +1 @@
1
+ {"id":"drawing-1","kind":{"$type":"Drawing","description":"A bar and line chart of revenue by quarter.","shapes":[{"$type":"Rectangle","cornerRadius":4,"height":40,"style":{"fill":{"$type":"Static","value":"#3366cc"},"opacity":{"$type":"Static","value":0.9},"stroke":{"$type":"Static","value":"#102040"},"strokeWidth":{"$type":"Static","value":1.5}},"width":80,"x":10,"y":10},{"$type":"Line","style":{},"x1":0,"x2":200,"y1":0,"y2":100},{"$type":"Polyline","points":[{"x":0,"y":0},{"x":10,"y":20},{"x":20,"y":5}],"style":{}},{"$type":"Polygon","points":[{"x":100,"y":10},{"x":120,"y":30},{"x":90,"y":40}],"style":{"fill":{"$type":"Static","value":"#cc6633"},"opacity":{"$type":"Static","value":0.9},"stroke":{"$type":"Static","value":"#402010"},"strokeWidth":{"$type":"Static","value":1.5}}},{"$type":"Curve","commands":[{"$type":"MoveTo","to":{"x":0,"y":0}},{"$type":"LineTo","to":{"x":10,"y":10}},{"$type":"CubicTo","control1":{"x":20,"y":0},"control2":{"x":30,"y":20},"to":{"x":40,"y":10}},{"$type":"QuadraticTo","control":{"x":50,"y":0},"to":{"x":60,"y":10}},{"$type":"Close"}],"style":{}},{"$type":"Circle","cx":150,"cy":50,"r":20,"style":{"fill":{"$type":"Static","value":"#33aa55"},"opacity":{"$type":"Static","value":0.9},"stroke":{"$type":"Static","value":"#0a2010"},"strokeWidth":{"$type":"Static","value":1.5}}},{"$type":"Ellipse","cx":50,"cy":80,"rx":30,"ry":15,"style":{}},{"$type":"Label","style":{"emphasis":"Loud","fill":{"$type":"Static","value":"#111111"},"fontFamily":"system-ui, sans-serif","fontSize":14,"textAnchor":"Middle"},"text":"Revenue","x":100,"y":90},{"$type":"Group","children":[{"$type":"Circle","cx":5,"cy":5,"r":2,"style":{}},{"$type":"Line","style":{},"x1":0,"x2":10,"y1":0,"y2":10}],"style":{"fill":{"$type":"Static","value":"#999999"},"opacity":{"$type":"Static","value":0.9},"stroke":{"$type":"Static","value":"#333333"},"strokeWidth":{"$type":"Static","value":1.5}}}],"style":{"fill":{"$type":"Static","value":"#ffffff"},"opacity":{"$type":"Static","value":0.9},"stroke":{"$type":"Static","value":"#000000"},"strokeWidth":{"$type":"Static","value":1.5}},"title":"Quarterly revenue chart","viewBox":{"height":100,"minX":0,"minY":0,"width":200}}}
@@ -0,0 +1 @@
1
+ {"id":"drawing-empty","kind":{"$type":"Drawing","shapes":[],"style":{},"viewBox":{"height":100,"minX":0,"minY":0,"width":100}}}
@@ -0,0 +1 @@
1
+ {"id":"fact-1","kind":{"$type":"Fact","emphasis":true,"help":"Primary insured","icon":"user","label":"Patient","tone":"Brand","value":"Alice Smith"}}
@@ -0,0 +1 @@
1
+ {"id":"filterable-static-dashboard","kind":{"$type":"Box","children":[{"id":"content-filters","kind":{"$type":"Filters","items":[{"kind":{"$type":"Choice","options":{"$type":"Static","value":[{"label":"EMEA","value":"emea"},{"label":"Americas","value":"amer"}]}},"label":"Region","name":"region"},{"kind":{"$type":"Choice","options":{"$type":"Static","value":[{"label":"Drama","value":"drama"},{"label":"Documentary","value":"docs"}]}},"label":"Genre","name":"genre"}]}},{"id":"retention-chart","kind":{"$type":"Chart","kind":"Line","source":{"$type":"Transform","params":[{"from":{"$type":"Filter","name":"region"},"name":"region"},{"from":{"$type":"Filter","name":"genre"},"name":"genre"}],"pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"region"},"op":"eq","right":{"$type":"param","name":"region"}}},{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"genre"},"op":"eq","right":{"$type":"param","name":"genre"}}}],"source":{"columns":{"genre":{"validity":[true,true],"values":["drama","docs"]},"month":{"validity":[true,true],"values":["jan","jan"]},"region":{"validity":[true,true],"values":["emea","amer"]},"retention":{"validity":[true,true],"values":[0.62,0.55]}},"schema":[{"name":"region","type":"string"},{"name":"genre","type":"string"},{"name":"month","type":"string"},{"name":"retention","type":"float"}]}},"stacked":false,"title":"Retention","xField":"month","yFields":["retention"]}},{"id":"episode-grid","kind":{"$type":"DataGrid","columns":[{"field":"month","kind":{"$type":"Text"},"label":"Month"},{"field":"retention","kind":{"$type":"Text"},"label":"Retention"}],"rowKeyField":"month","source":{"$type":"Transform","params":[{"from":{"$type":"Filter","name":"region"},"name":"region"},{"from":{"$type":"Filter","name":"genre"},"name":"genre"}],"pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"region"},"op":"eq","right":{"$type":"param","name":"region"}}},{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"genre"},"op":"eq","right":{"$type":"param","name":"genre"}}}],"source":{"columns":{"genre":{"validity":[true,true],"values":["drama","docs"]},"month":{"validity":[true,true],"values":["jan","jan"]},"region":{"validity":[true,true],"values":["emea","amer"]},"retention":{"validity":[true,true],"values":[0.62,0.55]}},"schema":[{"name":"region","type":"string"},{"name":"genre","type":"string"},{"name":"month","type":"string"},{"name":"retention","type":"float"}]}}}}],"heading":"Content performance","layout":{"$type":"Auto"},"role":"Dashboard"}}
@@ -0,0 +1 @@
1
+ {"id":"filters-1","kind":{"$type":"Filters","items":[{"kind":{"$type":"Text","onChange":"<closure>","value":{"$type":"Static","value":""}},"label":"Search","name":"q"},{"kind":{"$type":"Choice","onChange":"<closure>","options":{"$type":"Static","value":[{"label":"All","value":"all"}]},"value":{"$type":"Static","value":"all"}},"label":"Tier","name":"tier"}]}}
@@ -0,0 +1 @@
1
+ {"id":"filters-declarative","kind":{"$type":"Filters","items":[{"kind":{"$type":"Text"},"label":"Search","name":"q"},{"kind":{"$type":"Choice","options":{"$type":"Static","value":[{"label":"All","value":"all"}]}},"label":"Tier","name":"tier"},{"kind":{"$type":"Range","value":{"max":100,"min":0}},"label":"Age","name":"age"}]}}
@@ -0,0 +1 @@
1
+ {"id":"filters-segmented","kind":{"$type":"Filters","items":[{"kind":{"$type":"SegmentedChoice","onChange":"<closure>","options":{"$type":"Static","value":[{"label":"Table","value":"table"},{"label":"Chart","value":"chart"}]},"orientation":"Horizontal","value":{"$type":"Static","value":"table"}},"label":"View","name":"view"}]}}
@@ -0,0 +1 @@
1
+ {"id":"form-1","kind":{"$type":"Form","disabled":{"$type":"State","defaultValue":false,"key":"formBusy"},"fields":[{"help":"Full legal name","id":"name","kind":{"$type":"Text","onChange":"<closure>","value":{"$type":"Static","value":""}},"label":"Name","required":true},{"id":"age","kind":{"$type":"Number","onChange":"<closure>","value":{"$type":"Static","value":0}},"label":"Age","required":false},{"id":"agree","kind":{"$type":"Checkbox","onToggle":"<closure>","value":{"$type":"Static","value":false}},"label":"I agree","required":true},{"id":"tier","kind":{"$type":"Choice","onChange":"<closure>","options":{"$type":"Static","value":[{"label":"Basic","value":"basic"},{"label":"Pro","value":"pro"}]},"value":{"$type":"Static","value":"basic"}},"label":"Tier","required":false},{"id":"notes","kind":{"$type":"TextArea","onChange":"<closure>","rows":5,"value":{"$type":"Static","value":""}},"label":"Notes","required":false}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"form-date","kind":{"$type":"Form","fields":[{"id":"checkIn","kind":{"$type":"Date","max":"2026-12-31","min":"2026-01-01","onChange":"<closure>","value":{"$type":"Static","value":"2026-01-15"},"variant":"Date"},"label":"Check in","required":true},{"id":"alarm","kind":{"$type":"Date","onChange":"<closure>","step":60,"value":{"$type":"Static","value":"08:30"},"variant":"Time"},"label":"Alarm","required":false},{"id":"meeting","kind":{"$type":"Date","onChange":"<closure>","value":{"$type":"Static","value":"2026-03-01T14:00"},"variant":"DateTime"},"label":"Meeting","required":false}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Book"}}
@@ -0,0 +1 @@
1
+ {"id":"form-declarative-minimal","kind":{"$type":"Form","fields":[{"id":"guest-name","kind":{"$type":"Text"},"label":"Name","required":true},{"id":"party-size","kind":{"$type":"Number"},"label":"Party size","required":false},{"id":"seating","kind":{"$type":"Choice","options":{"$type":"Static","value":[{"label":"Indoor","value":"indoor"},{"label":"Terrace","value":"terrace"}]}},"label":"Seating","required":false},{"id":"visit-date","kind":{"$type":"Date","variant":"Date"},"label":"Date","required":true}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Book"}}
@@ -0,0 +1 @@
1
+ {"id":"form-declarative","kind":{"$type":"Form","fields":[{"id":"profile-name","kind":{"$type":"Text","value":{"$type":"State","defaultValue":"","key":"profileName"}},"label":"Name","required":true},{"id":"profile-age","kind":{"$type":"Number","value":{"$type":"State","defaultValue":0,"key":"profileAge"}},"label":"Age","required":false},{"id":"profile-agree","kind":{"$type":"Checkbox","value":{"$type":"State","defaultValue":false,"key":"profileAgree"}},"label":"I agree","required":true},{"id":"profile-tier","kind":{"$type":"Choice","options":{"$type":"Static","value":[{"label":"Basic","value":"basic"},{"label":"Pro","value":"pro"}]},"value":{"$type":"State","defaultValue":null,"key":"profileTier"}},"label":"Tier","required":false}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"form-local-1","kind":{"$type":"Form","fields":[{"id":"salary-input","kind":{"$type":"Text","onChange":"<closure>","value":{"$type":"Local","flushOn":{"$type":"OnBlur"},"format":"<closure>","initialFrom":{"$type":"State","defaultValue":"","key":"salary"},"onCommit":"<closure>","parse":"<closure>"}},"label":"Salary","required":false}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"form-local-debounce","kind":{"$type":"Form","fields":[{"id":"email-input","kind":{"$type":"Text","onChange":"<closure>","value":{"$type":"Local","flushOn":{"$type":"OnDebounce","milliseconds":250},"format":"<closure>","initialFrom":{"$type":"Static","value":"draft@example.com"},"onCommit":"<closure>","parse":"<closure>"}},"label":"Email","required":true}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"form-ranged","kind":{"$type":"Form","fields":[{"id":"year","kind":{"$type":"RangedNumber","max":2028,"min":1979,"onChange":"<closure>","step":1,"value":{"$type":"Static","value":2024}},"label":"Year","required":true},{"id":"years","kind":{"$type":"RangedNumber","min":0,"onChange":"<closure>","value":{"$type":"Static","value":10}},"label":"Years contributed","required":false},{"id":"amount","kind":{"$type":"RangedNumber","onChange":"<closure>","value":{"$type":"Static","value":100}},"label":"Amount","required":false}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"form-segmented","kind":{"$type":"Form","fields":[{"id":"metric","kind":{"$type":"SegmentedChoice","onChange":"<closure>","options":{"$type":"Static","value":[{"label":"Effective","value":"effective"},{"label":"Marginal","value":"marginal"},{"label":"Take-home","value":"takeHome"}]},"orientation":"Horizontal","value":{"$type":"Static","value":"effective"}},"label":"Metric","required":false},{"id":"tier","kind":{"$type":"SegmentedChoice","onChange":"<closure>","options":{"$type":"Static","value":[{"label":"Low","value":"low"},{"label":"High","value":"high"}]},"orientation":"Vertical","value":{"$type":"Static","value":null}},"label":"Tier","required":true}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"format-bindings","kind":{"$type":"Box","children":[{"id":"fmt-number","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"Format","format":{"$type":"Number","decimals":2},"locale":{"$type":"Explicit","tag":"en-US"},"source":{"$type":"Static","value":1234.5}}}}},{"id":"fmt-currency","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"Format","format":{"$type":"Currency","isoCode":"GBP"},"locale":{"$type":"Explicit","tag":"en-GB"},"source":{"$type":"Static","value":1234.5}}}}},{"id":"fmt-percent","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"Format","format":{"$type":"Percent"},"locale":{"$type":"Ambient"},"source":{"$type":"Static","value":0.42}}}}},{"id":"fmt-date","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"Format","format":{"$type":"Date","dateStyle":"Medium"},"locale":{"$type":"Explicit","tag":"fr-FR"},"source":{"$type":"Static","value":1700000000}}}}},{"id":"fmt-relative","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"Format","format":{"$type":"RelativeTime","unit":"Day"},"locale":{"$type":"Explicit","tag":"en-US"},"source":{"$type":"Static","value":-3}}}}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-decl-1","kind":{"$type":"FragmentDecl","body":{"id":"frag-body","kind":{"$type":"Markdown","text":"Template body"}},"name":"card-template"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-decl-param","kind":{"$type":"FragmentDecl","body":{"id":"param-body","kind":{"$type":"Markdown","text":"Parameterised body"}},"effect":{"determinism":"Clock","hostEffect":"ReadsHost"},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Untitled"},"name":"title","space":{"$type":"StringLen","maxLen":40,"minLen":1}},{"$type":"Value","name":"count","space":{"$type":"IntRange","max":100,"min":0}},{"$type":"Slot","kindConstraint":"Display","name":"content"},{"$type":"Repeat","countSpace":{"$type":"IntRange","max":12,"min":1},"name":"rows"}],"name":"stat-card"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-ref-1","kind":{"$type":"FragmentRef","name":"card-template"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-ref-args","kind":{"$type":"FragmentRef","args":{"content":{"$type":"SlotArg","tree":{"id":"slot-tree","kind":{"$type":"Markdown","text":"Bound slot"}}},"count":{"$type":"Int","value":7}},"name":"stat-card"}}
@@ -0,0 +1 @@
1
+ {"id":"glayout-1","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}],"layout":{"$type":"Grid","cols":12},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"glayout-tpl-autofit","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}],"layout":{"$type":"Grid","cols":1,"templateColumns":"repeat(auto-fit, minmax(150px, 1fr))"},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"glayout-tpl-fixed","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}],"layout":{"$type":"Grid","cols":4,"templateColumns":"100px repeat(3, minmax(30px, 1fr))"},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"glayout-tpl-ratio","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}],"layout":{"$type":"Grid","cols":2,"templateColumns":"1fr 2fr"},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"grid-1","kind":{"$type":"DataGrid","columns":[{"kind":{"$type":"Text"},"label":"Channel","value":"<closure>"}],"rowKey":"<closure>","source":{"$type":"Static","value":"<opaque>"}}}
@@ -0,0 +1 @@
1
+ {"id":"grid-field-named","kind":{"$type":"DataGrid","columns":[{"field":"dept","kind":{"$type":"Text"},"label":"Dept"},{"field":"amount","kind":{"$type":"Text"},"label":"Amount"}],"rowKeyField":"dept","source":{"$type":"Transform","pipeline":[],"source":{"columns":{"amount":{"validity":[true],"values":[100]},"dept":{"validity":[true],"values":["eng"]}},"schema":[{"name":"dept","type":"string"},{"name":"amount","type":"int"}]}}}}
@@ -0,0 +1 @@
1
+ {"id":"grid-transform-param","kind":{"$type":"DataGrid","columns":[],"rowKey":"<closure>","source":{"$type":"Transform","params":[{"from":{"$type":"Filter","name":"dept"},"name":"dept"}],"pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"dept"},"op":"eq","right":{"$type":"param","name":"dept"}}}],"source":{"columns":{"amount":{"validity":[true,true],"values":[100,90]},"dept":{"validity":[true,true],"values":["eng","sales"]}},"schema":[{"name":"dept","type":"string"},{"name":"amount","type":"int"}]}}}}
@@ -0,0 +1 @@
1
+ {"id":"grid-transform","kind":{"$type":"DataGrid","columns":[],"rowKey":"<closure>","source":{"$type":"Transform","pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"amount"},"op":"gt","right":{"$type":"lit","cell":{"$type":"Int","value":0}}}},{"$type":"groupBy","aggs":[{"fn":"sum","name":"total","of":"amount"}],"keys":["dept"]},{"$type":"sort","by":[{"col":"total","dir":"desc"}]}],"source":{"columns":{"amount":{"validity":[true,true,false],"values":[100,120,0]},"dept":{"validity":[true,true,true],"values":["eng","eng","sales"]}},"schema":[{"name":"dept","type":"string"},{"name":"amount","type":"int"}]}}}}
@@ -0,0 +1 @@
1
+ {"id":"heading-1","kind":{"$type":"Heading","level":2,"text":"Channel performance","variant":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"image-1","kind":{"$type":"Image","alt":"User avatar","src":{"$type":"Static","value":"/avatar.png"},"variant":"Avatar"}}
@@ -0,0 +1 @@
1
+ {"id":"link-1","kind":{"$type":"Link","download":false,"href":{"$type":"Static","value":"/about"},"label":"About us","rel":"noopener","target":"_blank"}}
@@ -0,0 +1 @@
1
+ {"id":"list-1","kind":{"$type":"List","items":["First","Second"],"ordered":true}}
@@ -0,0 +1 @@
1
+ {"id":"lvr-1","kind":{"$type":"LabelValueRow","emphasis":true,"format":{"$type":"Number","decimals":2},"help":"Last 30 days","label":"Total","value":{"$type":"Static","value":42}}}
@@ -0,0 +1 @@
1
+ {"id":"map-1","kind":{"$type":"Map","centreLatitude":51.5,"centreLongitude":-0.12,"source":{"$type":"Static","value":[{"label":"London","latitude":51.5,"longitude":-0.12}]},"zoom":6}}
@@ -0,0 +1 @@
1
+ {"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}
@@ -0,0 +1 @@
1
+ {"id":"master-detail-preselected","kind":{"$type":"Box","children":[{"id":"ticket-grid","kind":{"$type":"DataGrid","columns":[{"field":"id","kind":{"$type":"Text"},"label":"Ticket"},{"field":"priority","kind":{"$type":"Text"},"label":"Priority"}],"rowKeyField":"id","source":{"$type":"Transform","pipeline":[],"source":{"columns":{"id":{"validity":[true,true],"values":["TCK-2041","TCK-2042"]},"priority":{"validity":[true,true],"values":["high","low"]}},"schema":[{"name":"id","type":"string"},{"name":"priority","type":"string"}]}}}},{"id":"ticket-detail","kind":{"$type":"Box","children":[{"id":"detail-ticket","kind":{"$type":"Fact","emphasis":true,"label":"Selected ticket","value":{"$type":"Bound","binding":{"$type":"Selection","defaultValue":"TCK-2041","field":"id","nodeId":"ticket-grid"}}}}],"heading":"Ticket detail","layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Card"}},{"id":"related-grid","kind":{"$type":"DataGrid","columns":[{"field":"id","kind":{"$type":"Text"},"label":"Ticket"},{"field":"priority","kind":{"$type":"Text"},"label":"Priority"}],"rowKeyField":"id","source":{"$type":"Transform","params":[{"from":{"$type":"Selection","defaultValue":"TCK-2041","field":"id","nodeId":"ticket-grid"},"name":"ticketId"}],"pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"id"},"op":"eq","right":{"$type":"param","name":"ticketId"}}}],"source":{"columns":{"id":{"validity":[true,true],"values":["TCK-2041","TCK-2042"]},"priority":{"validity":[true,true],"values":["high","low"]}},"schema":[{"name":"id","type":"string"},{"name":"priority","type":"string"}]}}}}],"layout":{"$type":"Auto"},"role":"Dashboard"}}
@@ -0,0 +1 @@
1
+ {"id":"math-1","kind":{"$type":"Math","display":"Block","source":"x^2 + y^2 = z^2"}}
@@ -0,0 +1 @@
1
+ {"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-float-17sig","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","value":{"$type":"Static","value":0.30000000000000004}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-float-bigint","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","value":{"$type":"Static","value":1.2345678901234568E+17}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-float-exp-neg","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","value":{"$type":"Static","value":1E-07}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-float-exp-pos","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","value":{"$type":"Static","value":1E+21}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-invoke","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","value":{"$type":"Invoke","args":[{"addr":"horizon","value":"12"},{"addr":"scenario","value":"base"}],"capabilityId":"forecast.revenue"}}}
@@ -0,0 +1 @@
1
+ {"id":"modal-1","kind":{"$type":"Modal","children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"dismissable":true,"heading":"Confirm","onDismiss":{"$type":"Chain","ops":[]},"open":{"$type":"Static","value":false}}}
@@ -0,0 +1 @@
1
+ {"id":"mount-1","kind":{"$type":"Mount","capabilities":[],"channel":{"direction":"OutOnly"},"onBubble":"<closure>","scopeId":"guest-sidebar"}}
@@ -0,0 +1 @@
1
+ {"id":"mount-2","kind":{"$type":"Mount","capabilities":["notify","call:reports.*"],"channel":{"direction":"TwoWay","messageShape":"MetricsMsg"},"inputs":{"seed":{"$type":"SlotArg","tree":{"id":"seed-tree","kind":{"$type":"Markdown","text":"Initial guest state"}}},"title":{"$type":"Str","value":"Metrics"}},"onBubble":"<closure>","scopeId":"guest-metrics"}}
@@ -0,0 +1 @@
1
+ {"id":"multiselect-1","kind":{"$type":"Select","label":"Tags","multiple":true,"onChange":"<closure>","source":{"$type":"Static","value":[{"label":"Red","value":"red"},{"label":"Green","value":"green"}]},"value":{"$type":"Static","value":null},"values":{"$type":"Static","value":["red","green"]}}}
@@ -0,0 +1 @@
1
+ {"id":"progress-1","kind":{"$type":"Progress","fraction":{"$type":"Static","value":0.42},"label":"Loading...","tone":"Brand"}}
@@ -0,0 +1 @@
1
+ {"id":"query-dependson","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","value":{"$type":"Query","dependsOn":["status","region"],"name":"orders"}}}
@@ -0,0 +1 @@
1
+ {"id":"scalar-transform-composition","kind":{"$type":"Box","children":[{"id":"scalar-ticket-grid","kind":{"$type":"DataGrid","columns":[{"field":"id","kind":{"$type":"Text"},"label":"Ticket"},{"field":"severity","kind":{"$type":"Text"},"label":"Severity"}],"rowKeyField":"id","source":{"$type":"Transform","pipeline":[],"source":{"columns":{"alert":{"validity":[true,true,true],"values":["TCK-2041 breaches SLA in 2 hours","TCK-2042 breaches SLA in 5 hours","TCK-2043 breaches SLA in 9 hours"]},"id":{"validity":[true,true,true],"values":["TCK-2041","TCK-2042","TCK-2043"]},"severity":{"validity":[true,true,true],"values":["critical","high","critical"]}},"schema":[{"name":"id","type":"string"},{"name":"alert","type":"string"},{"name":"severity","type":"string"}]}}}},{"id":"critical-count-badge","kind":{"$type":"Badge","label":{"$type":"Bound","binding":{"$type":"Transform","pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"severity"},"op":"eq","right":{"$type":"lit","cell":{"$type":"Str","value":"critical"}}}},{"$type":"groupBy","aggs":[{"fn":"count","name":"n","of":"id"}],"keys":[]}],"source":{"columns":{"alert":{"validity":[true,true,true],"values":["TCK-2041 breaches SLA in 2 hours","TCK-2042 breaches SLA in 5 hours","TCK-2043 breaches SLA in 9 hours"]},"id":{"validity":[true,true,true],"values":["TCK-2041","TCK-2042","TCK-2043"]},"severity":{"validity":[true,true,true],"values":["critical","high","critical"]}},"schema":[{"name":"id","type":"string"},{"name":"alert","type":"string"},{"name":"severity","type":"string"}]}}},"variant":"Critical"}},{"id":"sla-warning","kind":{"$type":"Callout","body":{"$type":"Bound","binding":{"$type":"Transform","params":[{"from":{"$type":"Selection","defaultValue":"TCK-2041","field":"id","nodeId":"scalar-ticket-grid"},"name":"ticketId"}],"pipeline":[{"$type":"filter","pred":{"$type":"binary","left":{"$type":"col","name":"id"},"op":"eq","right":{"$type":"param","name":"ticketId"}}},{"$type":"project","cols":[{"a":"alert","b":"alert"}]},{"$type":"limit","n":1,"offset":0}],"source":{"columns":{"alert":{"validity":[true,true,true],"values":["TCK-2041 breaches SLA in 2 hours","TCK-2042 breaches SLA in 5 hours","TCK-2043 breaches SLA in 9 hours"]},"id":{"validity":[true,true,true],"values":["TCK-2041","TCK-2042","TCK-2043"]},"severity":{"validity":[true,true,true],"values":["critical","high","critical"]}},"schema":[{"name":"id","type":"string"},{"name":"alert","type":"string"},{"name":"severity","type":"string"}]}}},"heading":"SLA breach imminent","tone":"Warning"}}],"layout":{"$type":"Auto"},"role":"Dashboard"}}
@@ -0,0 +1 @@
1
+ {"id":"scroll-1","kind":{"$type":"ScrollArea","children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"maxHeight":320,"orientation":"Vertical"}}
@@ -0,0 +1 @@
1
+ {"id":"select-1","kind":{"$type":"Select","disabled":{"$type":"State","defaultValue":false,"key":"selectBusy"},"label":"Region","onChange":"<closure>","placeholder":"Choose one","source":{"$type":"Static","value":[{"label":"UK","value":"uk"}]},"value":{"$type":"Static","value":"uk"}}}
@@ -0,0 +1 @@
1
+ {"id":"skel-1","kind":{"$type":"Skeleton","rows":3}}
@@ -0,0 +1 @@
1
+ {"id":"spark-1","kind":{"$type":"Sparkline","source":{"$type":"Static","value":[1,2,3,2,4]}}}
@@ -0,0 +1 @@
1
+ {"id":"split-1","kind":{"$type":"SplitPanel","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"weight":0.6}}
@@ -0,0 +1 @@
1
+ {"id":"stack-1","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"step-1","kind":{"$type":"Stepper","activeStep":{"$type":"Static","value":1},"children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"onSelect":"<closure>"}}
@@ -0,0 +1 @@
1
+ {"id":"style-role-voice-1","kind":{"$type":"Markdown","text":"Q3 revenue"},"style":{"role":"Data","voice":"Display"}}
@@ -0,0 +1 @@
1
+ {"id":"summary-1","kind":{"$type":"SummaryList","children":[{"id":"lvr-1","kind":{"$type":"LabelValueRow","emphasis":true,"format":{"$type":"Number","decimals":2},"help":"Last 30 days","label":"Total","value":{"$type":"Static","value":42}}}],"heading":"Stats"}}
@@ -0,0 +1 @@
1
+ {"id":"switch-1","kind":{"$type":"Switch","cases":[{"child":{"id":"switch-details","kind":{"$type":"Markdown","text":"Details view"}},"match":"details"},{"child":{"id":"switch-summary","kind":{"$type":"Markdown","text":"Summary view"}},"match":"summary"}],"default":{"id":"switch-default","kind":{"$type":"Callout","body":"No view selected","heading":"Pick a view","tone":"Info"}},"stateKey":"view"}}
@@ -0,0 +1 @@
1
+ {"id":"table-1","kind":{"$type":"DataGrid","columns":[],"source":{"$type":"Static","value":"<opaque>"},"staticRows":{"headers":["Term","Definition"],"rows":[["MVU","Model-View-Update"],["DSL","Domain-specific language"]]}}}
@@ -0,0 +1 @@
1
+ {"id":"tabs-1","kind":{"$type":"Tabs","activeIndex":{"$type":"Static","value":0},"children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}}],"onSelect":"<closure>"}}
@@ -0,0 +1 @@
1
+ {"id":"tabs-explicit-1","kind":{"$type":"Tabs","activeIndex":{"$type":"Static","value":1},"activeTag":{"$type":"Static","value":"overview"},"children":[{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}},{"id":"spark-1","kind":{"$type":"Sparkline","source":{"$type":"Static","value":[1,2,3,2,4]}}}],"onSelect":"<closure>","tabHeaders":[{"icon":"overview-glyph","label":"Overview"},{"disabled":{"$type":"Static","value":false},"label":"Detail"}],"tabTags":["overview","detail"]}}
@@ -0,0 +1 @@
1
+ {"id":"toast-1","kind":{"$type":"Toast","message":"Saved","open":{"$type":"Static","value":true},"tone":"Success"}}
@@ -0,0 +1 @@
1
+ {"id":"upload-1","kind":{"$type":"FileUpload","accept":[".csv","text/csv"],"disabled":{"$type":"State","defaultValue":false,"key":"uploadBusy"},"label":"Upload CSV","multiple":false,"onSelect":"<closure>"}}
@@ -0,0 +1 @@
1
+ {"$type":"Batch","ops":[{"$type":"UpdateStyle","style":{"emphasis":"Loud","tone":"Success","weight":"Spacious"},"target":"metric-1"},{"$type":"RemoveNode","target":"metric-1"}]}
@@ -0,0 +1 @@
1
+ {"$type":"EditNode","newKind":{"$type":"Markdown","text":"Edited"},"target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"$type":"InsertChild","child":{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},"parentId":"dash-empty","position":0}
@@ -0,0 +1 @@
1
+ {"$type":"MoveNode","newParentId":"card-1","newPosition":0,"target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"$type":"RemoveNode","target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"$type":"ReorderChildren","newOrder":["markdown-1","metric-1"],"parentId":"stack-1"}
@@ -0,0 +1 @@
1
+ {"$type":"ReplaceBinding","binding":{"$type":"Static","value":99.5},"slot":"Value","target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"$type":"ReplaceRoot","node":{"id":"composite-root","kind":{"$type":"Box","children":[{"id":"composite-card","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"lvr-1","kind":{"$type":"LabelValueRow","emphasis":true,"format":{"$type":"Number","decimals":2},"help":"Last 30 days","label":"Total","value":{"$type":"Static","value":42}}}],"heading":"Composite","layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Card"}},{"id":"stack-1","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Auto"},"role":"Dashboard"}}}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Columns[0].Nope","target":"grid-1","value":"No such sub-field"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Columns[9].Label","target":"grid-1","value":"Out of range"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Columns[0].Label","target":"grid-1","value":"Channel name"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Columns[1].Label","target":"grid-1","value":"Spend (GBP)"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Fields[0].Required","target":"form-1","value":true}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Fields[1].Required","target":"form-1","value":false}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Columns[x].Label","target":"grid-1","value":"Bad index literal"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Columns[0].Format","target":"grid-1","value":{"$type":"Currency","code":"GBP"}}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"YFields[0]","target":"chart-1","value":"sales"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"YFields[1]","target":"chart-1","value":"profit"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateProp","path":"Label","target":"metric-1","value":"Updated revenue"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateState","state":{"onLoading":{"id":"skel-1","kind":{"$type":"Skeleton","rows":3}}},"target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateStyle","style":{"role":"Eyebrow","voice":"Structural"},"target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"$type":"UpdateStyle","style":{"emphasis":"Loud","tone":"Success","weight":"Spacious"},"target":"metric-1"}
@@ -0,0 +1 @@
1
+ {"id":"","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
File without changes
@@ -0,0 +1 @@
1
+ this is not json
@@ -0,0 +1 @@
1
+ {"id":
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Metric","label":{"$type":"Literal","text":"L"},"format":{"$type":"None"},"tone":"Default","weight":"Standard","emphasis":"Normal","value":{"value":1.0}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Custom","componentId":"c","props":{}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Markdown"},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Metric","label":{"$type":"Literal","text":"L"},"format":{"$type":"None"},"tone":"Default","weight":"Standard","emphasis":"Normal"},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Mount","channel":{"direction":"OutOnly"},"capabilities":[],"onBubble":"<closure>"},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Switch","stateKey":"v","default":{"id":"d","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"D"}}}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}
@@ -0,0 +1 @@
1
+ {"id":"x","kind":{"$type":"Switch","stateKey":"v","cases":[{"match":"a","child":{"id":"c","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"A"}}}}]},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}