@scalar/blocks 0.4.3 → 0.5.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 (341) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +45 -0
  3. package/dist/code-example/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
  4. package/dist/code-example/helpers/operation-to-har/operation-to-har.js +1 -0
  5. package/dist/code-example/helpers/operation-to-har/operation-to-har.js.map +1 -1
  6. package/dist/code-example/helpers/operation-to-har/process-body.d.ts.map +1 -1
  7. package/dist/code-example/helpers/operation-to-har/process-body.js +51 -45
  8. package/dist/code-example/helpers/operation-to-har/process-body.js.map +1 -1
  9. package/dist/constants.js +1 -1
  10. package/dist/schema/LinkButton.vue.d.ts +14 -0
  11. package/dist/schema/LinkButton.vue.d.ts.map +1 -0
  12. package/dist/schema/LinkButton.vue.js +15 -0
  13. package/dist/schema/LinkButton.vue.js.map +1 -0
  14. package/dist/schema/RenderString.vue.d.ts +7 -0
  15. package/dist/schema/RenderString.vue.d.ts.map +1 -0
  16. package/dist/schema/RenderString.vue.js +7 -0
  17. package/dist/schema/RenderString.vue.js.map +1 -0
  18. package/dist/schema/RenderString.vue.script.js +14 -0
  19. package/dist/schema/RenderString.vue.script.js.map +1 -0
  20. package/dist/schema/Schema.vue.d.ts +50 -0
  21. package/dist/schema/Schema.vue.d.ts.map +1 -0
  22. package/dist/schema/Schema.vue.js +9 -0
  23. package/dist/schema/Schema.vue.js.map +1 -0
  24. package/dist/schema/Schema.vue.script.js +234 -0
  25. package/dist/schema/Schema.vue.script.js.map +1 -0
  26. package/dist/schema/SchemaCollapsedPreview.vue.d.ts +17 -0
  27. package/dist/schema/SchemaCollapsedPreview.vue.d.ts.map +1 -0
  28. package/dist/schema/SchemaCollapsedPreview.vue.js +7 -0
  29. package/dist/schema/SchemaCollapsedPreview.vue.js.map +1 -0
  30. package/dist/schema/SchemaCollapsedPreview.vue.script.js +28 -0
  31. package/dist/schema/SchemaCollapsedPreview.vue.script.js.map +1 -0
  32. package/dist/schema/SchemaComposition.vue.d.ts +42 -0
  33. package/dist/schema/SchemaComposition.vue.d.ts.map +1 -0
  34. package/dist/schema/SchemaComposition.vue.js +9 -0
  35. package/dist/schema/SchemaComposition.vue.js.map +1 -0
  36. package/dist/schema/SchemaComposition.vue.script.js +231 -0
  37. package/dist/schema/SchemaComposition.vue.script.js.map +1 -0
  38. package/dist/schema/SchemaEnumPropertyItem.vue.d.ts +8 -0
  39. package/dist/schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -0
  40. package/dist/schema/SchemaEnumPropertyItem.vue.js +7 -0
  41. package/dist/schema/SchemaEnumPropertyItem.vue.js.map +1 -0
  42. package/dist/schema/SchemaEnumPropertyItem.vue.script.js +24 -0
  43. package/dist/schema/SchemaEnumPropertyItem.vue.script.js.map +1 -0
  44. package/dist/schema/SchemaEnums.vue.d.ts +11 -0
  45. package/dist/schema/SchemaEnums.vue.d.ts.map +1 -0
  46. package/dist/schema/SchemaEnums.vue.js +9 -0
  47. package/dist/schema/SchemaEnums.vue.js.map +1 -0
  48. package/dist/schema/SchemaEnums.vue.script.js +78 -0
  49. package/dist/schema/SchemaEnums.vue.script.js.map +1 -0
  50. package/dist/schema/SchemaGlyphPuck.vue.d.ts +33 -0
  51. package/dist/schema/SchemaGlyphPuck.vue.d.ts.map +1 -0
  52. package/dist/schema/SchemaGlyphPuck.vue.js +7 -0
  53. package/dist/schema/SchemaGlyphPuck.vue.js.map +1 -0
  54. package/dist/schema/SchemaGlyphPuck.vue.script.js +30 -0
  55. package/dist/schema/SchemaGlyphPuck.vue.script.js.map +1 -0
  56. package/dist/schema/SchemaGutterToggle.vue.d.ts +32 -0
  57. package/dist/schema/SchemaGutterToggle.vue.d.ts.map +1 -0
  58. package/dist/schema/SchemaGutterToggle.vue.js +7 -0
  59. package/dist/schema/SchemaGutterToggle.vue.js.map +1 -0
  60. package/dist/schema/SchemaGutterToggle.vue.script.js +43 -0
  61. package/dist/schema/SchemaGutterToggle.vue.script.js.map +1 -0
  62. package/dist/schema/SchemaHeading.vue.d.ts +9 -0
  63. package/dist/schema/SchemaHeading.vue.d.ts.map +1 -0
  64. package/dist/schema/SchemaHeading.vue.js +9 -0
  65. package/dist/schema/SchemaHeading.vue.js.map +1 -0
  66. package/dist/schema/SchemaHeading.vue.script.js +35 -0
  67. package/dist/schema/SchemaHeading.vue.script.js.map +1 -0
  68. package/dist/schema/SchemaObjectExampleCodeBlock.vue.d.ts +8 -0
  69. package/dist/schema/SchemaObjectExampleCodeBlock.vue.d.ts.map +1 -0
  70. package/dist/schema/SchemaObjectExampleCodeBlock.vue.js +7 -0
  71. package/dist/schema/SchemaObjectExampleCodeBlock.vue.js.map +1 -0
  72. package/dist/schema/SchemaObjectExampleCodeBlock.vue.script.js +48 -0
  73. package/dist/schema/SchemaObjectExampleCodeBlock.vue.script.js.map +1 -0
  74. package/dist/schema/SchemaObjectProperties.vue.d.ts +22 -0
  75. package/dist/schema/SchemaObjectProperties.vue.d.ts.map +1 -0
  76. package/dist/schema/SchemaObjectProperties.vue.js +7 -0
  77. package/dist/schema/SchemaObjectProperties.vue.js.map +1 -0
  78. package/dist/schema/SchemaObjectProperties.vue.script.js +207 -0
  79. package/dist/schema/SchemaObjectProperties.vue.script.js.map +1 -0
  80. package/dist/schema/SchemaProperty.vue.d.ts +88 -0
  81. package/dist/schema/SchemaProperty.vue.d.ts.map +1 -0
  82. package/dist/schema/SchemaProperty.vue.js +9 -0
  83. package/dist/schema/SchemaProperty.vue.js.map +1 -0
  84. package/dist/schema/SchemaProperty.vue.script.js +456 -0
  85. package/dist/schema/SchemaProperty.vue.script.js.map +1 -0
  86. package/dist/schema/SchemaPropertyDefault.vue.d.ts +7 -0
  87. package/dist/schema/SchemaPropertyDefault.vue.d.ts.map +1 -0
  88. package/dist/schema/SchemaPropertyDefault.vue.js +9 -0
  89. package/dist/schema/SchemaPropertyDefault.vue.js.map +1 -0
  90. package/dist/schema/SchemaPropertyDefault.vue.script.js +64 -0
  91. package/dist/schema/SchemaPropertyDefault.vue.script.js.map +1 -0
  92. package/dist/schema/SchemaPropertyDetail.vue.d.ts +22 -0
  93. package/dist/schema/SchemaPropertyDetail.vue.d.ts.map +1 -0
  94. package/dist/schema/SchemaPropertyDetail.vue.js +9 -0
  95. package/dist/schema/SchemaPropertyDetail.vue.js.map +1 -0
  96. package/dist/schema/SchemaPropertyDetail.vue.script.js +25 -0
  97. package/dist/schema/SchemaPropertyDetail.vue.script.js.map +1 -0
  98. package/dist/schema/SchemaPropertyExamples.vue.d.ts +8 -0
  99. package/dist/schema/SchemaPropertyExamples.vue.d.ts.map +1 -0
  100. package/dist/schema/SchemaPropertyExamples.vue.js +9 -0
  101. package/dist/schema/SchemaPropertyExamples.vue.js.map +1 -0
  102. package/dist/schema/SchemaPropertyExamples.vue.script.js +125 -0
  103. package/dist/schema/SchemaPropertyExamples.vue.script.js.map +1 -0
  104. package/dist/schema/SchemaPropertyHeading.vue.d.ts +59 -0
  105. package/dist/schema/SchemaPropertyHeading.vue.d.ts.map +1 -0
  106. package/dist/schema/SchemaPropertyHeading.vue.js +9 -0
  107. package/dist/schema/SchemaPropertyHeading.vue.js.map +1 -0
  108. package/dist/schema/SchemaPropertyHeading.vue.script.js +270 -0
  109. package/dist/schema/SchemaPropertyHeading.vue.script.js.map +1 -0
  110. package/dist/schema/SchemaPropertyPattern.vue.d.ts +7 -0
  111. package/dist/schema/SchemaPropertyPattern.vue.d.ts.map +1 -0
  112. package/dist/schema/SchemaPropertyPattern.vue.js +9 -0
  113. package/dist/schema/SchemaPropertyPattern.vue.js.map +1 -0
  114. package/dist/schema/SchemaPropertyPattern.vue.script.js +45 -0
  115. package/dist/schema/SchemaPropertyPattern.vue.script.js.map +1 -0
  116. package/dist/schema/SchemaRailPanel.vue.d.ts +35 -0
  117. package/dist/schema/SchemaRailPanel.vue.d.ts.map +1 -0
  118. package/dist/schema/SchemaRailPanel.vue.js +7 -0
  119. package/dist/schema/SchemaRailPanel.vue.js.map +1 -0
  120. package/dist/schema/SchemaRailPanel.vue.script.js +49 -0
  121. package/dist/schema/SchemaRailPanel.vue.script.js.map +1 -0
  122. package/dist/schema/components/CopyLinkButton.vue.d.ts +27 -0
  123. package/dist/schema/components/CopyLinkButton.vue.d.ts.map +1 -0
  124. package/dist/schema/components/CopyLinkButton.vue.js +7 -0
  125. package/dist/schema/components/CopyLinkButton.vue.js.map +1 -0
  126. package/dist/schema/components/CopyLinkButton.vue.script.js +26 -0
  127. package/dist/schema/components/CopyLinkButton.vue.script.js.map +1 -0
  128. package/dist/schema/components/WithBreadcrumb.vue.d.ts +19 -0
  129. package/dist/schema/components/WithBreadcrumb.vue.d.ts.map +1 -0
  130. package/dist/schema/components/WithBreadcrumb.vue.js +7 -0
  131. package/dist/schema/components/WithBreadcrumb.vue.js.map +1 -0
  132. package/dist/schema/components/WithBreadcrumb.vue.script.js +18 -0
  133. package/dist/schema/components/WithBreadcrumb.vue.script.js.map +1 -0
  134. package/dist/schema/expansion/index.d.ts +2 -0
  135. package/dist/schema/expansion/index.d.ts.map +1 -0
  136. package/dist/schema/expansion/index.js +2 -0
  137. package/dist/schema/helpers/dynamic-scope.d.ts +27 -0
  138. package/dist/schema/helpers/dynamic-scope.d.ts.map +1 -0
  139. package/dist/schema/helpers/dynamic-scope.js +8 -0
  140. package/dist/schema/helpers/dynamic-scope.js.map +1 -0
  141. package/dist/schema/helpers/format-example.d.ts +5 -0
  142. package/dist/schema/helpers/format-example.d.ts.map +1 -0
  143. package/dist/schema/helpers/format-example.js +12 -0
  144. package/dist/schema/helpers/format-example.js.map +1 -0
  145. package/dist/schema/helpers/format-value.d.ts +5 -0
  146. package/dist/schema/helpers/format-value.d.ts.map +1 -0
  147. package/dist/schema/helpers/format-value.js +8 -0
  148. package/dist/schema/helpers/format-value.js.map +1 -0
  149. package/dist/schema/helpers/get-compositions-to-render.d.ts +33 -0
  150. package/dist/schema/helpers/get-compositions-to-render.d.ts.map +1 -0
  151. package/dist/schema/helpers/get-compositions-to-render.js +39 -0
  152. package/dist/schema/helpers/get-compositions-to-render.js.map +1 -0
  153. package/dist/schema/helpers/get-discriminator-values.d.ts +4 -0
  154. package/dist/schema/helpers/get-discriminator-values.d.ts.map +1 -0
  155. package/dist/schema/helpers/get-discriminator-values.js +6 -0
  156. package/dist/schema/helpers/get-discriminator-values.js.map +1 -0
  157. package/dist/schema/helpers/get-enum-values.d.ts +9 -0
  158. package/dist/schema/helpers/get-enum-values.d.ts.map +1 -0
  159. package/dist/schema/helpers/get-enum-values.js +16 -0
  160. package/dist/schema/helpers/get-enum-values.js.map +1 -0
  161. package/dist/schema/helpers/get-property-description.d.ts +9 -0
  162. package/dist/schema/helpers/get-property-description.d.ts.map +1 -0
  163. package/dist/schema/helpers/get-property-description.js +27 -0
  164. package/dist/schema/helpers/get-property-description.js.map +1 -0
  165. package/dist/schema/helpers/get-ref-name.d.ts +24 -0
  166. package/dist/schema/helpers/get-ref-name.d.ts.map +1 -0
  167. package/dist/schema/helpers/get-ref-name.js +15 -0
  168. package/dist/schema/helpers/get-ref-name.js.map +1 -0
  169. package/dist/schema/helpers/get-schema-type.d.ts +13 -0
  170. package/dist/schema/helpers/get-schema-type.d.ts.map +1 -0
  171. package/dist/schema/helpers/get-schema-type.js +24 -0
  172. package/dist/schema/helpers/get-schema-type.js.map +1 -0
  173. package/dist/schema/helpers/get-type-signature-tokens.d.ts +48 -0
  174. package/dist/schema/helpers/get-type-signature-tokens.d.ts.map +1 -0
  175. package/dist/schema/helpers/get-type-signature-tokens.js +62 -0
  176. package/dist/schema/helpers/get-type-signature-tokens.js.map +1 -0
  177. package/dist/schema/helpers/has-complex-array-items.d.ts +10 -0
  178. package/dist/schema/helpers/has-complex-array-items.d.ts.map +1 -0
  179. package/dist/schema/helpers/has-complex-array-items.js +22 -0
  180. package/dist/schema/helpers/has-complex-array-items.js.map +1 -0
  181. package/dist/schema/helpers/index.d.ts +12 -0
  182. package/dist/schema/helpers/index.d.ts.map +1 -0
  183. package/dist/schema/helpers/index.js +12 -0
  184. package/dist/schema/helpers/is-empty-schema-object.d.ts +8 -0
  185. package/dist/schema/helpers/is-empty-schema-object.d.ts.map +1 -0
  186. package/dist/schema/helpers/is-empty-schema-object.js +11 -0
  187. package/dist/schema/helpers/is-empty-schema-object.js.map +1 -0
  188. package/dist/schema/helpers/is-model-linkable.d.ts +15 -0
  189. package/dist/schema/helpers/is-model-linkable.d.ts.map +1 -0
  190. package/dist/schema/helpers/is-model-linkable.js +13 -0
  191. package/dist/schema/helpers/is-model-linkable.js.map +1 -0
  192. package/dist/schema/helpers/is-on-schema-target-path.d.ts +3 -0
  193. package/dist/schema/helpers/is-on-schema-target-path.d.ts.map +1 -0
  194. package/dist/schema/helpers/is-on-schema-target-path.js +6 -0
  195. package/dist/schema/helpers/is-on-schema-target-path.js.map +1 -0
  196. package/dist/schema/helpers/is-type-object.d.ts +5 -0
  197. package/dist/schema/helpers/is-type-object.d.ts.map +1 -0
  198. package/dist/schema/helpers/is-type-object.js +15 -0
  199. package/dist/schema/helpers/is-type-object.js.map +1 -0
  200. package/dist/schema/helpers/merge-all-of-schemas.d.ts +12 -0
  201. package/dist/schema/helpers/merge-all-of-schemas.d.ts.map +1 -0
  202. package/dist/schema/helpers/merge-all-of-schemas.js +151 -0
  203. package/dist/schema/helpers/merge-all-of-schemas.js.map +1 -0
  204. package/dist/schema/helpers/normalize-object-composition.d.ts +9 -0
  205. package/dist/schema/helpers/normalize-object-composition.d.ts.map +1 -0
  206. package/dist/schema/helpers/normalize-object-composition.js +29 -0
  207. package/dist/schema/helpers/normalize-object-composition.js.map +1 -0
  208. package/dist/schema/helpers/optimize-value-for-display.d.ts +13 -0
  209. package/dist/schema/helpers/optimize-value-for-display.d.ts.map +1 -0
  210. package/dist/schema/helpers/optimize-value-for-display.js +64 -0
  211. package/dist/schema/helpers/optimize-value-for-display.js.map +1 -0
  212. package/dist/schema/helpers/partition-all-of-compositions.d.ts +32 -0
  213. package/dist/schema/helpers/partition-all-of-compositions.d.ts.map +1 -0
  214. package/dist/schema/helpers/partition-all-of-compositions.js +67 -0
  215. package/dist/schema/helpers/partition-all-of-compositions.js.map +1 -0
  216. package/dist/schema/helpers/schema-composition.d.ts +4 -0
  217. package/dist/schema/helpers/schema-composition.d.ts.map +1 -0
  218. package/dist/schema/helpers/schema-composition.js +11 -0
  219. package/dist/schema/helpers/schema-composition.js.map +1 -0
  220. package/dist/schema/helpers/schema-cycle.d.ts +31 -0
  221. package/dist/schema/helpers/schema-cycle.d.ts.map +1 -0
  222. package/dist/schema/helpers/schema-cycle.js +8 -0
  223. package/dist/schema/helpers/schema-cycle.js.map +1 -0
  224. package/dist/schema/helpers/schema-expansion.d.ts +89 -0
  225. package/dist/schema/helpers/schema-expansion.d.ts.map +1 -0
  226. package/dist/schema/helpers/schema-expansion.js +93 -0
  227. package/dist/schema/helpers/schema-expansion.js.map +1 -0
  228. package/dist/schema/helpers/schema-keyboard-nav.d.ts +23 -0
  229. package/dist/schema/helpers/schema-keyboard-nav.d.ts.map +1 -0
  230. package/dist/schema/helpers/schema-keyboard-nav.js +36 -0
  231. package/dist/schema/helpers/schema-keyboard-nav.js.map +1 -0
  232. package/dist/schema/helpers/schema-name.d.ts +27 -0
  233. package/dist/schema/helpers/schema-name.d.ts.map +1 -0
  234. package/dist/schema/helpers/schema-name.js +40 -0
  235. package/dist/schema/helpers/schema-name.js.map +1 -0
  236. package/dist/schema/helpers/should-display-description.d.ts +10 -0
  237. package/dist/schema/helpers/should-display-description.d.ts.map +1 -0
  238. package/dist/schema/helpers/should-display-description.js +6 -0
  239. package/dist/schema/helpers/should-display-description.js.map +1 -0
  240. package/dist/schema/helpers/should-display-heading.d.ts +11 -0
  241. package/dist/schema/helpers/should-display-heading.d.ts.map +1 -0
  242. package/dist/schema/helpers/should-display-heading.js +6 -0
  243. package/dist/schema/helpers/should-display-heading.js.map +1 -0
  244. package/dist/schema/helpers/should-render-array-item-composition.d.ts +10 -0
  245. package/dist/schema/helpers/should-render-array-item-composition.d.ts.map +1 -0
  246. package/dist/schema/helpers/should-render-array-item-composition.js +12 -0
  247. package/dist/schema/helpers/should-render-array-item-composition.js.map +1 -0
  248. package/dist/schema/helpers/sort-property-names.d.ts +23 -0
  249. package/dist/schema/helpers/sort-property-names.d.ts.map +1 -0
  250. package/dist/schema/helpers/sort-property-names.js +55 -0
  251. package/dist/schema/helpers/sort-property-names.js.map +1 -0
  252. package/dist/schema/helpers/unwrap-for-read.d.ts +48 -0
  253. package/dist/schema/helpers/unwrap-for-read.d.ts.map +1 -0
  254. package/dist/schema/helpers/unwrap-for-read.js +8 -0
  255. package/dist/schema/helpers/unwrap-for-read.js.map +1 -0
  256. package/dist/schema/index.d.ts +12 -0
  257. package/dist/schema/index.d.ts.map +1 -0
  258. package/dist/schema/index.js +11 -0
  259. package/dist/schema/localization/index.d.ts +59 -0
  260. package/dist/schema/localization/index.d.ts.map +1 -0
  261. package/dist/schema/localization/index.js +18 -0
  262. package/dist/schema/localization/index.js.map +1 -0
  263. package/dist/schema/localization/locales/ar.d.ts +58 -0
  264. package/dist/schema/localization/locales/ar.d.ts.map +1 -0
  265. package/dist/schema/localization/locales/ar.js +60 -0
  266. package/dist/schema/localization/locales/ar.js.map +1 -0
  267. package/dist/schema/localization/locales/de.d.ts +58 -0
  268. package/dist/schema/localization/locales/de.d.ts.map +1 -0
  269. package/dist/schema/localization/locales/de.js +60 -0
  270. package/dist/schema/localization/locales/de.js.map +1 -0
  271. package/dist/schema/localization/locales/en.d.ts +58 -0
  272. package/dist/schema/localization/locales/en.d.ts.map +1 -0
  273. package/dist/schema/localization/locales/en.js +60 -0
  274. package/dist/schema/localization/locales/en.js.map +1 -0
  275. package/dist/schema/localization/locales/es.d.ts +58 -0
  276. package/dist/schema/localization/locales/es.d.ts.map +1 -0
  277. package/dist/schema/localization/locales/es.js +60 -0
  278. package/dist/schema/localization/locales/es.js.map +1 -0
  279. package/dist/schema/localization/locales/fr.d.ts +58 -0
  280. package/dist/schema/localization/locales/fr.d.ts.map +1 -0
  281. package/dist/schema/localization/locales/fr.js +60 -0
  282. package/dist/schema/localization/locales/fr.js.map +1 -0
  283. package/dist/schema/localization/locales/pt.d.ts +58 -0
  284. package/dist/schema/localization/locales/pt.d.ts.map +1 -0
  285. package/dist/schema/localization/locales/pt.js +60 -0
  286. package/dist/schema/localization/locales/pt.js.map +1 -0
  287. package/dist/schema/localization/locales/ru.d.ts +58 -0
  288. package/dist/schema/localization/locales/ru.d.ts.map +1 -0
  289. package/dist/schema/localization/locales/ru.js +60 -0
  290. package/dist/schema/localization/locales/ru.js.map +1 -0
  291. package/dist/schema/localization/locales/zh-cn.d.ts +58 -0
  292. package/dist/schema/localization/locales/zh-cn.d.ts.map +1 -0
  293. package/dist/schema/localization/locales/zh-cn.js +60 -0
  294. package/dist/schema/localization/locales/zh-cn.js.map +1 -0
  295. package/dist/schema/localization/translations.d.ts +460 -0
  296. package/dist/schema/localization/translations.d.ts.map +1 -0
  297. package/dist/schema/localization/translations.js +23 -0
  298. package/dist/schema/localization/translations.js.map +1 -0
  299. package/dist/schema/request-body-composition-index.d.ts +8 -0
  300. package/dist/schema/request-body-composition-index.d.ts.map +1 -0
  301. package/dist/schema/request-body-composition-index.js +6 -0
  302. package/dist/schema/request-body-composition-index.js.map +1 -0
  303. package/dist/schema/schema-tree.bench.d.ts +2 -0
  304. package/dist/schema/schema-tree.bench.d.ts.map +1 -0
  305. package/dist/schema/types.d.ts +51 -0
  306. package/dist/schema/types.d.ts.map +1 -0
  307. package/dist/shared/Badge.vue.d.ts +17 -0
  308. package/dist/shared/Badge.vue.d.ts.map +1 -0
  309. package/dist/shared/Badge.vue.js +9 -0
  310. package/dist/shared/Badge.vue.js.map +1 -0
  311. package/dist/shared/Badge.vue.script.js +16 -0
  312. package/dist/shared/Badge.vue.script.js.map +1 -0
  313. package/dist/shared/ScreenReader.vue.d.ts +21 -0
  314. package/dist/shared/ScreenReader.vue.d.ts.map +1 -0
  315. package/dist/shared/ScreenReader.vue.js +7 -0
  316. package/dist/shared/ScreenReader.vue.js.map +1 -0
  317. package/dist/shared/ScreenReader.vue.script.js +19 -0
  318. package/dist/shared/ScreenReader.vue.script.js.map +1 -0
  319. package/dist/shared/index.d.ts +3 -0
  320. package/dist/shared/index.d.ts.map +1 -0
  321. package/dist/shared/index.js +3 -0
  322. package/dist/specification-extensions/ExtensionValue.vue.d.ts +13 -0
  323. package/dist/specification-extensions/ExtensionValue.vue.d.ts.map +1 -0
  324. package/dist/specification-extensions/ExtensionValue.vue.js +7 -0
  325. package/dist/specification-extensions/ExtensionValue.vue.js.map +1 -0
  326. package/dist/specification-extensions/ExtensionValue.vue.script.js +84 -0
  327. package/dist/specification-extensions/ExtensionValue.vue.script.js.map +1 -0
  328. package/dist/specification-extensions/SpecificationExtensions.vue.d.ts +9 -0
  329. package/dist/specification-extensions/SpecificationExtensions.vue.d.ts.map +1 -0
  330. package/dist/specification-extensions/SpecificationExtensions.vue.js +7 -0
  331. package/dist/specification-extensions/SpecificationExtensions.vue.js.map +1 -0
  332. package/dist/specification-extensions/SpecificationExtensions.vue.script.js +21 -0
  333. package/dist/specification-extensions/SpecificationExtensions.vue.script.js.map +1 -0
  334. package/dist/specification-extensions/index.d.ts +2 -0
  335. package/dist/specification-extensions/index.d.ts.map +1 -0
  336. package/dist/specification-extensions/index.js +2 -0
  337. package/dist/style.css +576 -15
  338. package/dist/styles/schema-tree.css +91 -0
  339. package/dist/styles/tailwind.config.css +22 -0
  340. package/dist/vue-styles.css +1 -1
  341. package/package.json +45 -7
@@ -0,0 +1,7 @@
1
+ import e from "./ScreenReader.vue.script.js";
2
+ //#region src/shared/ScreenReader.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
6
+
7
+ //# sourceMappingURL=ScreenReader.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScreenReader.vue.js","names":[],"sources":["../../src/shared/ScreenReader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nwithDefaults(\n defineProps<{\n if?: boolean\n }>(),\n {\n if: true,\n },\n)\n</script>\n<template>\n <span\n v-if=\"$props.if\"\n class=\"screenreader-only\">\n <slot />\n </span>\n <slot v-else />\n</template>\n<!--\n `.screenreader-only` is declared globally in styles/tailwind.config.css rather\n than scoped here, so other components can hide text without wrapping it in\n this component.\n-->\n"],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { createElementBlock as e, defineComponent as t, openBlock as n, renderSlot as r } from "vue";
2
+ //#region src/shared/ScreenReader.vue?vue&type=script&setup=true&lang.ts
3
+ var i = {
4
+ key: 0,
5
+ class: "screenreader-only"
6
+ }, a = /*@__PURE__*/ t({
7
+ __name: "ScreenReader",
8
+ props: { if: {
9
+ type: Boolean,
10
+ default: !0
11
+ } },
12
+ setup(t) {
13
+ return (t, a) => t.$props.if ? (n(), e("span", i, [r(t.$slots, "default")])) : r(t.$slots, "default", {}, void 0, void 0, 1);
14
+ }
15
+ });
16
+ //#endregion
17
+ export { a as default };
18
+
19
+ //# sourceMappingURL=ScreenReader.vue.script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScreenReader.vue.script.js","names":["$props"],"sources":["../../src/shared/ScreenReader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nwithDefaults(\n defineProps<{\n if?: boolean\n }>(),\n {\n if: true,\n },\n)\n</script>\n<template>\n <span\n v-if=\"$props.if\"\n class=\"screenreader-only\">\n <slot />\n </span>\n <slot v-else />\n</template>\n<!--\n `.screenreader-only` is declared globally in styles/tailwind.config.css rather\n than scoped here, so other components can hide text without wrapping it in\n this component.\n-->\n"],"mappings":";;;;;;;;;;;;mBAYUA,EAAAA,OAAO,MAAA,EAAA,GADf,EAIO,QAJP,GAIO,CADL,EAAQ,EAAA,QAAA,SAAA,CAAA,CAAA,KAEV,EAAe,EAAA,QAAA,WAAA,CAAA,GAAA,KAAA,GAAA,KAAA,GAAA,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { default as Badge } from './Badge.vue';
2
+ export { default as ScreenReader } from './ScreenReader.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import e from "./ScreenReader.vue.js";
2
+ import t from "./Badge.vue.js";
3
+ export { t as Badge, e as ScreenReader };
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ name: string;
3
+ value: unknown;
4
+ depth?: number;
5
+ /** Array entries display only their values; keep their names for assistive technology. */
6
+ arrayItem?: boolean;
7
+ /** Only ancestors count as cycles; shared sibling values remain independently expandable. */
8
+ ancestors?: readonly unknown[];
9
+ };
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ //# sourceMappingURL=ExtensionValue.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtensionValue.vue.d.ts","sourceRoot":"","sources":["../../src/specification-extensions/ExtensionValue.vue"],"names":[],"mappings":"AA0HA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0FAA0F;IAC1F,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,SAAS,OAAO,EAAE,CAAA;CAC/B,CAAC;AAyNF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,7 @@
1
+ import e from "./ExtensionValue.vue.script.js";
2
+ //#region src/specification-extensions/ExtensionValue.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
6
+
7
+ //# sourceMappingURL=ExtensionValue.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtensionValue.vue.js","names":[],"sources":["../../src/specification-extensions/ExtensionValue.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref, useId } from 'vue'\n\nimport { SchemaGutterToggle, SchemaRailPanel } from '../schema'\n\nconst {\n name,\n value,\n depth = 0,\n arrayItem = false,\n ancestors = [],\n} = defineProps<{\n name: string\n value: unknown\n depth?: number\n /** Array entries display only their values; keep their names for assistive technology. */\n arrayItem?: boolean\n /** Only ancestors count as cycles; shared sibling values remain independently expandable. */\n ancestors?: readonly unknown[]\n}>()\n\nconst nameId = useId()\nconst panelId = useId()\nconst open = ref(depth === 0)\nconst circular = computed<boolean>(() => ancestors.includes(value))\nconst children = computed<[string, unknown][]>(() => {\n if (value === null || typeof value !== 'object' || circular.value) {\n return []\n }\n return Array.isArray(value)\n ? value.map((item, index) => [`[${index}]`, item])\n : Object.entries(value)\n})\nconst expandable = computed<boolean>(() => children.value.length > 0)\nconst label = computed<string>(() => {\n if (arrayItem && expandable.value) {\n return Array.isArray(value) ? '[…]' : '{…}'\n }\n return !arrayItem && !expandable.value ? `${name}:` : name\n})\nconst text = computed<string>(() => {\n if (circular.value) {\n return '[Circular]'\n }\n if (typeof value === 'string') {\n return JSON.stringify(value)\n }\n if (value !== null && typeof value === 'object') {\n return Array.isArray(value) ? '[]' : '{}'\n }\n return String(value)\n})\n</script>\n\n<template>\n <div\n class=\"relative min-w-0 py-0.5\"\n :class=\"{\n 'ps-8': depth === 0,\n 'flex items-baseline gap-x-2': !arrayItem && !expandable,\n }\">\n <dt\n :class=\"\n arrayItem && !expandable\n ? 'sr-only'\n : 'relative flex min-h-5 min-w-0 flex-wrap items-baseline gap-x-2'\n \">\n <SchemaGutterToggle\n v-if=\"expandable\"\n class=\"absolute start-[calc(0px_-_var(--schema-gutter,16px)_-_var(--schema-toggle-half,12px))] top-[0.5lh] -translate-y-1/2\"\n :fallbackLabel=\"name\"\n :nameId=\"nameId\"\n :open=\"open\"\n :panelId=\"panelId\"\n :panelRendered=\"open\"\n @toggle=\"open = !open\" />\n <span\n v-if=\"!arrayItem || expandable\"\n :id=\"arrayItem ? undefined : nameId\"\n :aria-hidden=\"arrayItem || undefined\"\n class=\"font-code min-w-0 font-medium break-words\"\n >{{ label }}</span\n >\n <span\n v-if=\"arrayItem\"\n :id=\"nameId\"\n class=\"sr-only\"\n >Array item {{ name }}</span\n >\n </dt>\n <SchemaRailPanel\n v-if=\"expandable && open\"\n :id=\"panelId\"\n as=\"dd\"\n class=\"mt-0.5\"\n :depth=\"depth + 1\">\n <dl>\n <ExtensionValue\n v-for=\"[childName, childValue] in children\"\n :key=\"childName\"\n :ancestors=\"[...ancestors, value]\"\n :arrayItem=\"Array.isArray(value)\"\n :depth=\"depth + 1\"\n :name=\"childName\"\n :value=\"childValue\" />\n </dl>\n </SchemaRailPanel>\n <dd\n v-else-if=\"!expandable\"\n class=\"text-c-2 min-w-0\"\n :class=\"{ 'flex-1': !arrayItem }\">\n <code class=\"font-code break-words whitespace-pre-wrap\">{{ text }}</code>\n </dd>\n </div>\n</template>\n"],"mappings":""}
@@ -0,0 +1,84 @@
1
+ import e from "../schema/SchemaRailPanel.vue.js";
2
+ import t from "../schema/SchemaGutterToggle.vue.js";
3
+ import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderList as f, resolveComponent as p, toDisplayString as m, unref as h, useId as g, withCtx as _ } from "vue";
4
+ //#region src/specification-extensions/ExtensionValue.vue?vue&type=script&setup=true&lang.ts
5
+ var v = ["id", "aria-hidden"], y = ["id"], b = { class: "font-code break-words whitespace-pre-wrap" }, x = /*@__PURE__*/ c({
6
+ __name: "ExtensionValue",
7
+ props: {
8
+ name: {},
9
+ value: {},
10
+ depth: { default: 0 },
11
+ arrayItem: {
12
+ type: Boolean,
13
+ default: !1
14
+ },
15
+ ancestors: { default: () => [] }
16
+ },
17
+ setup(c) {
18
+ let x = g(), S = g(), C = d(c.depth === 0), w = r(() => c.ancestors.includes(c.value)), T = r(() => c.value === null || typeof c.value != "object" || w.value ? [] : Array.isArray(c.value) ? c.value.map((e, t) => [`[${t}]`, e]) : Object.entries(c.value)), E = r(() => T.value.length > 0), D = r(() => c.arrayItem && E.value ? Array.isArray(c.value) ? "[…]" : "{…}" : !c.arrayItem && !E.value ? `${c.name}:` : c.name), O = r(() => w.value ? "[Circular]" : typeof c.value == "string" ? JSON.stringify(c.value) : c.value !== null && typeof c.value == "object" ? Array.isArray(c.value) ? "[]" : "{}" : String(c.value));
19
+ return (r, d) => {
20
+ let g = p("ExtensionValue", !0);
21
+ return u(), o("div", { class: l(["relative min-w-0 py-0.5", {
22
+ "ps-8": c.depth === 0,
23
+ "flex items-baseline gap-x-2": !c.arrayItem && !E.value
24
+ }]) }, [s("dt", { class: l(c.arrayItem && !E.value ? "sr-only" : "relative flex min-h-5 min-w-0 flex-wrap items-baseline gap-x-2") }, [
25
+ E.value ? (u(), i(h(t), {
26
+ key: 0,
27
+ class: "absolute start-[calc(0px_-_var(--schema-gutter,16px)_-_var(--schema-toggle-half,12px))] top-[0.5lh] -translate-y-1/2",
28
+ fallbackLabel: c.name,
29
+ nameId: h(x),
30
+ open: C.value,
31
+ panelId: h(S),
32
+ panelRendered: C.value,
33
+ onToggle: d[0] ||= (e) => C.value = !C.value
34
+ }, null, 8, [
35
+ "fallbackLabel",
36
+ "nameId",
37
+ "open",
38
+ "panelId",
39
+ "panelRendered"
40
+ ])) : a("", !0),
41
+ !c.arrayItem || E.value ? (u(), o("span", {
42
+ key: 1,
43
+ id: c.arrayItem ? void 0 : h(x),
44
+ "aria-hidden": c.arrayItem || void 0,
45
+ class: "font-code min-w-0 font-medium break-words"
46
+ }, m(D.value), 9, v)) : a("", !0),
47
+ c.arrayItem ? (u(), o("span", {
48
+ key: 2,
49
+ id: h(x),
50
+ class: "sr-only"
51
+ }, "Array item " + m(c.name), 9, y)) : a("", !0)
52
+ ], 2), E.value && C.value ? (u(), i(h(e), {
53
+ key: 0,
54
+ id: h(S),
55
+ as: "dd",
56
+ class: "mt-0.5",
57
+ depth: c.depth + 1
58
+ }, {
59
+ default: _(() => [s("dl", null, [(u(!0), o(n, null, f(T.value, ([e, t]) => (u(), i(g, {
60
+ key: e,
61
+ ancestors: [...c.ancestors, c.value],
62
+ arrayItem: Array.isArray(c.value),
63
+ depth: c.depth + 1,
64
+ name: e,
65
+ value: t
66
+ }, null, 8, [
67
+ "ancestors",
68
+ "arrayItem",
69
+ "depth",
70
+ "name",
71
+ "value"
72
+ ]))), 128))])]),
73
+ _: 1
74
+ }, 8, ["id", "depth"])) : E.value ? a("", !0) : (u(), o("dd", {
75
+ key: 1,
76
+ class: l(["text-c-2 min-w-0", { "flex-1": !c.arrayItem }])
77
+ }, [s("code", b, m(O.value), 1)], 2))], 2);
78
+ };
79
+ }
80
+ });
81
+ //#endregion
82
+ export { x as default };
83
+
84
+ //# sourceMappingURL=ExtensionValue.vue.script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtensionValue.vue.script.js","names":[],"sources":["../../src/specification-extensions/ExtensionValue.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref, useId } from 'vue'\n\nimport { SchemaGutterToggle, SchemaRailPanel } from '../schema'\n\nconst {\n name,\n value,\n depth = 0,\n arrayItem = false,\n ancestors = [],\n} = defineProps<{\n name: string\n value: unknown\n depth?: number\n /** Array entries display only their values; keep their names for assistive technology. */\n arrayItem?: boolean\n /** Only ancestors count as cycles; shared sibling values remain independently expandable. */\n ancestors?: readonly unknown[]\n}>()\n\nconst nameId = useId()\nconst panelId = useId()\nconst open = ref(depth === 0)\nconst circular = computed<boolean>(() => ancestors.includes(value))\nconst children = computed<[string, unknown][]>(() => {\n if (value === null || typeof value !== 'object' || circular.value) {\n return []\n }\n return Array.isArray(value)\n ? value.map((item, index) => [`[${index}]`, item])\n : Object.entries(value)\n})\nconst expandable = computed<boolean>(() => children.value.length > 0)\nconst label = computed<string>(() => {\n if (arrayItem && expandable.value) {\n return Array.isArray(value) ? '[…]' : '{…}'\n }\n return !arrayItem && !expandable.value ? `${name}:` : name\n})\nconst text = computed<string>(() => {\n if (circular.value) {\n return '[Circular]'\n }\n if (typeof value === 'string') {\n return JSON.stringify(value)\n }\n if (value !== null && typeof value === 'object') {\n return Array.isArray(value) ? '[]' : '{}'\n }\n return String(value)\n})\n</script>\n\n<template>\n <div\n class=\"relative min-w-0 py-0.5\"\n :class=\"{\n 'ps-8': depth === 0,\n 'flex items-baseline gap-x-2': !arrayItem && !expandable,\n }\">\n <dt\n :class=\"\n arrayItem && !expandable\n ? 'sr-only'\n : 'relative flex min-h-5 min-w-0 flex-wrap items-baseline gap-x-2'\n \">\n <SchemaGutterToggle\n v-if=\"expandable\"\n class=\"absolute start-[calc(0px_-_var(--schema-gutter,16px)_-_var(--schema-toggle-half,12px))] top-[0.5lh] -translate-y-1/2\"\n :fallbackLabel=\"name\"\n :nameId=\"nameId\"\n :open=\"open\"\n :panelId=\"panelId\"\n :panelRendered=\"open\"\n @toggle=\"open = !open\" />\n <span\n v-if=\"!arrayItem || expandable\"\n :id=\"arrayItem ? undefined : nameId\"\n :aria-hidden=\"arrayItem || undefined\"\n class=\"font-code min-w-0 font-medium break-words\"\n >{{ label }}</span\n >\n <span\n v-if=\"arrayItem\"\n :id=\"nameId\"\n class=\"sr-only\"\n >Array item {{ name }}</span\n >\n </dt>\n <SchemaRailPanel\n v-if=\"expandable && open\"\n :id=\"panelId\"\n as=\"dd\"\n class=\"mt-0.5\"\n :depth=\"depth + 1\">\n <dl>\n <ExtensionValue\n v-for=\"[childName, childValue] in children\"\n :key=\"childName\"\n :ancestors=\"[...ancestors, value]\"\n :arrayItem=\"Array.isArray(value)\"\n :depth=\"depth + 1\"\n :name=\"childName\"\n :value=\"childValue\" />\n </dl>\n </SchemaRailPanel>\n <dd\n v-else-if=\"!expandable\"\n class=\"text-c-2 min-w-0\"\n :class=\"{ 'flex-1': !arrayItem }\">\n <code class=\"font-code break-words whitespace-pre-wrap\">{{ text }}</code>\n </dd>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAqBA,IAAM,IAAS,EAAM,GACf,IAAU,EAAM,GAChB,IAAO,EAAI,EAAA,UAAU,CAAC,GACtB,IAAW,QAAwB,EAAA,UAAU,SAAS,EAAA,KAAK,CAAC,GAC5D,IAAW,QACX,EAAA,UAAU,QAAQ,OAAO,EAAA,SAAU,YAAY,EAAS,QACnD,CAAC,IAEH,MAAM,QAAQ,EAAA,KAAK,IACtB,EAAA,MAAM,KAAK,GAAM,MAAU,CAAC,IAAI,EAAM,IAAI,CAAI,CAAC,IAC/C,OAAO,QAAQ,EAAA,KAAK,CACzB,GACK,IAAa,QAAwB,EAAS,MAAM,SAAS,CAAC,GAC9D,IAAQ,QACR,EAAA,aAAa,EAAW,QACnB,MAAM,QAAQ,EAAA,KAAK,IAAI,QAAQ,QAEjC,CAAC,EAAA,aAAa,CAAC,EAAW,QAAQ,GAAG,EAAA,KAAK,KAAK,EAAA,IACvD,GACK,IAAO,QACP,EAAS,QACJ,eAEL,OAAO,EAAA,SAAU,WACZ,KAAK,UAAU,EAAA,KAAK,IAEzB,EAAA,UAAU,QAAQ,OAAO,EAAA,SAAU,WAC9B,MAAM,QAAQ,EAAA,KAAK,IAAI,OAAO,OAEhC,OAAO,EAAA,KAAK,CACpB;;;eAIC,EA0DM,OAAA,EAzDJ,OAAK,EAAA,CAAC,2BAAyB;YACP,EAAA,UAAK;oCAA8C,EAAA,aAAS,CAAK,EAAA;WAIzF,EA4BK,MAAA,EA3BF,OAAK,EAAW,EAAA,aAAS,CAAK,EAAA,QAAA,YAAA,gEAAA,EAAA,GAAA;IAMvB,EAAA,SAAA,EAAA,GADR,EAQ2B,EAAA,CAAA,GAAA;;KANzB,OAAM;KACL,eAAe,EAAA;KACf,QAAQ,EAAA,CAAA;KACR,MAAM,EAAA;KACN,SAAS,EAAA,CAAA;KACT,eAAe,EAAA;KACf,UAAM,AAAA,EAAA,QAAA,MAAE,EAAA,QAAI,CAAI,EAAA;;;;;;;;KAEV,EAAA,aAAa,EAAA,SAAA,EAAA,GADtB,EAMC,QAAA;;KAJE,IAAI,EAAA,YAAY,KAAA,IAAY,EAAA,CAAA;KAC5B,eAAa,EAAA,aAAa,KAAA;KAC3B,OAAM;SACF,EAAA,KAAK,GAAA,GAAA,CAAA,KAAA,EAAA,IAAA,EAAA;IAGH,EAAA,aAAA,EAAA,GADR,EAKC,QAAA;;KAHE,IAAI,EAAA,CAAA;KACL,OAAM;OACL,gBAAW,EAAG,EAAA,IAAI,GAAA,GAAA,CAAA,KAAA,EAAA,IAAA,EAAA;UAIf,EAAA,SAAc,EAAA,SAAA,EAAA,GADtB,EAgBkB,EAAA,CAAA,GAAA;;IAdf,IAAI,EAAA,CAAA;IACL,IAAG;IACH,OAAM;IACL,OAAO,EAAA,QAAK;;qBAUR,CATL,EASK,MAAA,MAAA,EAAA,EAAA,EAAA,GARH,EAOwB,GAAA,MAAA,EANY,EAAA,QAAQ,CAAlC,GAAW,aADrB,EAOwB,GAAA;KALrB,KAAK;KACL,WAAS,CAAA,GAAM,EAAA,WAAW,EAAA,KAAK;KAC/B,WAAW,MAAM,QAAQ,EAAA,KAAK;KAC9B,OAAO,EAAA,QAAK;KACZ,MAAM;KACN,OAAO;;;;;;;;;6BAIA,EAAA,QAGmD,EAAA,IAAA,EAAA,KAHnD,EAAA,GADd,EAKK,MAAA;;IAHH,OAAK,EAAA,CAAC,oBAAkB,EAAA,UAAA,CACH,EAAA,UAAS,CAAA,CAAA;OAC9B,EAAyE,QAAzE,GAAyE,EAAd,EAAA,KAAI,GAAA,CAAA,CAAA,GAAA,CAAA,EAAA,GAAA,CAAA"}
@@ -0,0 +1,9 @@
1
+ /** Display extension values using the same property rows and controls as schemas. */
2
+ type __VLS_Props = {
3
+ /** Selected extension keys and their original values, in display order. */
4
+ extensions: Record<string, unknown>;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ //# sourceMappingURL=SpecificationExtensions.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpecificationExtensions.vue.d.ts","sourceRoot":"","sources":["../../src/specification-extensions/SpecificationExtensions.vue"],"names":[],"mappings":"AA0BA,qFAAqF;AACrF,KAAK,WAAW,GAAG;IACjB,2EAA2E;IAC3E,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACpC,CAAC;AAyCF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,7 @@
1
+ import e from "./SpecificationExtensions.vue.script.js";
2
+ //#region src/specification-extensions/SpecificationExtensions.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
6
+
7
+ //# sourceMappingURL=SpecificationExtensions.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpecificationExtensions.vue.js","names":[],"sources":["../../src/specification-extensions/SpecificationExtensions.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport ExtensionValue from './ExtensionValue.vue'\n\n/** Display extension values using the same property rows and controls as schemas. */\nconst { extensions } = defineProps<{\n /** Selected extension keys and their original values, in display order. */\n extensions: Record<string, unknown>\n}>()\n</script>\n\n<template>\n <dl\n v-if=\"Object.keys(extensions).length\"\n class=\"my-2 min-w-0 text-base\">\n <ExtensionValue\n v-for=\"(value, name) in extensions\"\n :key=\"name\"\n :name=\"name\"\n :value=\"value\" />\n </dl>\n</template>\n"],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import e from "./ExtensionValue.vue.js";
2
+ import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, defineComponent as a, openBlock as o, renderList as s } from "vue";
3
+ //#region src/specification-extensions/SpecificationExtensions.vue?vue&type=script&setup=true&lang.ts
4
+ var c = {
5
+ key: 0,
6
+ class: "my-2 min-w-0 text-base"
7
+ }, l = /*@__PURE__*/ a({
8
+ __name: "SpecificationExtensions",
9
+ props: { extensions: {} },
10
+ setup(a) {
11
+ return (l, u) => Object.keys(a.extensions).length ? (o(), i("dl", c, [(o(!0), i(t, null, s(a.extensions, (t, r) => (o(), n(e, {
12
+ key: r,
13
+ name: r,
14
+ value: t
15
+ }, null, 8, ["name", "value"]))), 128))])) : r("", !0);
16
+ }
17
+ });
18
+ //#endregion
19
+ export { l as default };
20
+
21
+ //# sourceMappingURL=SpecificationExtensions.vue.script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpecificationExtensions.vue.script.js","names":[],"sources":["../../src/specification-extensions/SpecificationExtensions.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport ExtensionValue from './ExtensionValue.vue'\n\n/** Display extension values using the same property rows and controls as schemas. */\nconst { extensions } = defineProps<{\n /** Selected extension keys and their original values, in display order. */\n extensions: Record<string, unknown>\n}>()\n</script>\n\n<template>\n <dl\n v-if=\"Object.keys(extensions).length\"\n class=\"my-2 min-w-0 text-base\">\n <ExtensionValue\n v-for=\"(value, name) in extensions\"\n :key=\"name\"\n :name=\"name\"\n :value=\"value\" />\n </dl>\n</template>\n"],"mappings":";;;;;;;;;;mBAYU,OAAO,KAAK,EAAA,UAAU,CAAA,CAAE,UAAA,EAAA,GADhC,EAQK,MARL,GAQK,EAAA,EAAA,EAAA,GALH,EAImB,GAAA,MAAA,EAHO,EAAA,aAAhB,GAAO,YADjB,EAImB,GAAA;GAFhB,KAAK;GACC;GACC"}
@@ -0,0 +1,2 @@
1
+ export { default as SpecificationExtensions } from './SpecificationExtensions.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/specification-extensions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import e from "./SpecificationExtensions.vue.js";
2
+ export { e as SpecificationExtensions };