@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.
- package/CHANGELOG.md +20 -0
- package/README.md +45 -0
- package/dist/code-example/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
- package/dist/code-example/helpers/operation-to-har/operation-to-har.js +1 -0
- package/dist/code-example/helpers/operation-to-har/operation-to-har.js.map +1 -1
- package/dist/code-example/helpers/operation-to-har/process-body.d.ts.map +1 -1
- package/dist/code-example/helpers/operation-to-har/process-body.js +51 -45
- package/dist/code-example/helpers/operation-to-har/process-body.js.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/schema/LinkButton.vue.d.ts +14 -0
- package/dist/schema/LinkButton.vue.d.ts.map +1 -0
- package/dist/schema/LinkButton.vue.js +15 -0
- package/dist/schema/LinkButton.vue.js.map +1 -0
- package/dist/schema/RenderString.vue.d.ts +7 -0
- package/dist/schema/RenderString.vue.d.ts.map +1 -0
- package/dist/schema/RenderString.vue.js +7 -0
- package/dist/schema/RenderString.vue.js.map +1 -0
- package/dist/schema/RenderString.vue.script.js +14 -0
- package/dist/schema/RenderString.vue.script.js.map +1 -0
- package/dist/schema/Schema.vue.d.ts +50 -0
- package/dist/schema/Schema.vue.d.ts.map +1 -0
- package/dist/schema/Schema.vue.js +9 -0
- package/dist/schema/Schema.vue.js.map +1 -0
- package/dist/schema/Schema.vue.script.js +234 -0
- package/dist/schema/Schema.vue.script.js.map +1 -0
- package/dist/schema/SchemaCollapsedPreview.vue.d.ts +17 -0
- package/dist/schema/SchemaCollapsedPreview.vue.d.ts.map +1 -0
- package/dist/schema/SchemaCollapsedPreview.vue.js +7 -0
- package/dist/schema/SchemaCollapsedPreview.vue.js.map +1 -0
- package/dist/schema/SchemaCollapsedPreview.vue.script.js +28 -0
- package/dist/schema/SchemaCollapsedPreview.vue.script.js.map +1 -0
- package/dist/schema/SchemaComposition.vue.d.ts +42 -0
- package/dist/schema/SchemaComposition.vue.d.ts.map +1 -0
- package/dist/schema/SchemaComposition.vue.js +9 -0
- package/dist/schema/SchemaComposition.vue.js.map +1 -0
- package/dist/schema/SchemaComposition.vue.script.js +231 -0
- package/dist/schema/SchemaComposition.vue.script.js.map +1 -0
- package/dist/schema/SchemaEnumPropertyItem.vue.d.ts +8 -0
- package/dist/schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -0
- package/dist/schema/SchemaEnumPropertyItem.vue.js +7 -0
- package/dist/schema/SchemaEnumPropertyItem.vue.js.map +1 -0
- package/dist/schema/SchemaEnumPropertyItem.vue.script.js +24 -0
- package/dist/schema/SchemaEnumPropertyItem.vue.script.js.map +1 -0
- package/dist/schema/SchemaEnums.vue.d.ts +11 -0
- package/dist/schema/SchemaEnums.vue.d.ts.map +1 -0
- package/dist/schema/SchemaEnums.vue.js +9 -0
- package/dist/schema/SchemaEnums.vue.js.map +1 -0
- package/dist/schema/SchemaEnums.vue.script.js +78 -0
- package/dist/schema/SchemaEnums.vue.script.js.map +1 -0
- package/dist/schema/SchemaGlyphPuck.vue.d.ts +33 -0
- package/dist/schema/SchemaGlyphPuck.vue.d.ts.map +1 -0
- package/dist/schema/SchemaGlyphPuck.vue.js +7 -0
- package/dist/schema/SchemaGlyphPuck.vue.js.map +1 -0
- package/dist/schema/SchemaGlyphPuck.vue.script.js +30 -0
- package/dist/schema/SchemaGlyphPuck.vue.script.js.map +1 -0
- package/dist/schema/SchemaGutterToggle.vue.d.ts +32 -0
- package/dist/schema/SchemaGutterToggle.vue.d.ts.map +1 -0
- package/dist/schema/SchemaGutterToggle.vue.js +7 -0
- package/dist/schema/SchemaGutterToggle.vue.js.map +1 -0
- package/dist/schema/SchemaGutterToggle.vue.script.js +43 -0
- package/dist/schema/SchemaGutterToggle.vue.script.js.map +1 -0
- package/dist/schema/SchemaHeading.vue.d.ts +9 -0
- package/dist/schema/SchemaHeading.vue.d.ts.map +1 -0
- package/dist/schema/SchemaHeading.vue.js +9 -0
- package/dist/schema/SchemaHeading.vue.js.map +1 -0
- package/dist/schema/SchemaHeading.vue.script.js +35 -0
- package/dist/schema/SchemaHeading.vue.script.js.map +1 -0
- package/dist/schema/SchemaObjectExampleCodeBlock.vue.d.ts +8 -0
- package/dist/schema/SchemaObjectExampleCodeBlock.vue.d.ts.map +1 -0
- package/dist/schema/SchemaObjectExampleCodeBlock.vue.js +7 -0
- package/dist/schema/SchemaObjectExampleCodeBlock.vue.js.map +1 -0
- package/dist/schema/SchemaObjectExampleCodeBlock.vue.script.js +48 -0
- package/dist/schema/SchemaObjectExampleCodeBlock.vue.script.js.map +1 -0
- package/dist/schema/SchemaObjectProperties.vue.d.ts +22 -0
- package/dist/schema/SchemaObjectProperties.vue.d.ts.map +1 -0
- package/dist/schema/SchemaObjectProperties.vue.js +7 -0
- package/dist/schema/SchemaObjectProperties.vue.js.map +1 -0
- package/dist/schema/SchemaObjectProperties.vue.script.js +207 -0
- package/dist/schema/SchemaObjectProperties.vue.script.js.map +1 -0
- package/dist/schema/SchemaProperty.vue.d.ts +88 -0
- package/dist/schema/SchemaProperty.vue.d.ts.map +1 -0
- package/dist/schema/SchemaProperty.vue.js +9 -0
- package/dist/schema/SchemaProperty.vue.js.map +1 -0
- package/dist/schema/SchemaProperty.vue.script.js +456 -0
- package/dist/schema/SchemaProperty.vue.script.js.map +1 -0
- package/dist/schema/SchemaPropertyDefault.vue.d.ts +7 -0
- package/dist/schema/SchemaPropertyDefault.vue.d.ts.map +1 -0
- package/dist/schema/SchemaPropertyDefault.vue.js +9 -0
- package/dist/schema/SchemaPropertyDefault.vue.js.map +1 -0
- package/dist/schema/SchemaPropertyDefault.vue.script.js +64 -0
- package/dist/schema/SchemaPropertyDefault.vue.script.js.map +1 -0
- package/dist/schema/SchemaPropertyDetail.vue.d.ts +22 -0
- package/dist/schema/SchemaPropertyDetail.vue.d.ts.map +1 -0
- package/dist/schema/SchemaPropertyDetail.vue.js +9 -0
- package/dist/schema/SchemaPropertyDetail.vue.js.map +1 -0
- package/dist/schema/SchemaPropertyDetail.vue.script.js +25 -0
- package/dist/schema/SchemaPropertyDetail.vue.script.js.map +1 -0
- package/dist/schema/SchemaPropertyExamples.vue.d.ts +8 -0
- package/dist/schema/SchemaPropertyExamples.vue.d.ts.map +1 -0
- package/dist/schema/SchemaPropertyExamples.vue.js +9 -0
- package/dist/schema/SchemaPropertyExamples.vue.js.map +1 -0
- package/dist/schema/SchemaPropertyExamples.vue.script.js +125 -0
- package/dist/schema/SchemaPropertyExamples.vue.script.js.map +1 -0
- package/dist/schema/SchemaPropertyHeading.vue.d.ts +59 -0
- package/dist/schema/SchemaPropertyHeading.vue.d.ts.map +1 -0
- package/dist/schema/SchemaPropertyHeading.vue.js +9 -0
- package/dist/schema/SchemaPropertyHeading.vue.js.map +1 -0
- package/dist/schema/SchemaPropertyHeading.vue.script.js +270 -0
- package/dist/schema/SchemaPropertyHeading.vue.script.js.map +1 -0
- package/dist/schema/SchemaPropertyPattern.vue.d.ts +7 -0
- package/dist/schema/SchemaPropertyPattern.vue.d.ts.map +1 -0
- package/dist/schema/SchemaPropertyPattern.vue.js +9 -0
- package/dist/schema/SchemaPropertyPattern.vue.js.map +1 -0
- package/dist/schema/SchemaPropertyPattern.vue.script.js +45 -0
- package/dist/schema/SchemaPropertyPattern.vue.script.js.map +1 -0
- package/dist/schema/SchemaRailPanel.vue.d.ts +35 -0
- package/dist/schema/SchemaRailPanel.vue.d.ts.map +1 -0
- package/dist/schema/SchemaRailPanel.vue.js +7 -0
- package/dist/schema/SchemaRailPanel.vue.js.map +1 -0
- package/dist/schema/SchemaRailPanel.vue.script.js +49 -0
- package/dist/schema/SchemaRailPanel.vue.script.js.map +1 -0
- package/dist/schema/components/CopyLinkButton.vue.d.ts +27 -0
- package/dist/schema/components/CopyLinkButton.vue.d.ts.map +1 -0
- package/dist/schema/components/CopyLinkButton.vue.js +7 -0
- package/dist/schema/components/CopyLinkButton.vue.js.map +1 -0
- package/dist/schema/components/CopyLinkButton.vue.script.js +26 -0
- package/dist/schema/components/CopyLinkButton.vue.script.js.map +1 -0
- package/dist/schema/components/WithBreadcrumb.vue.d.ts +19 -0
- package/dist/schema/components/WithBreadcrumb.vue.d.ts.map +1 -0
- package/dist/schema/components/WithBreadcrumb.vue.js +7 -0
- package/dist/schema/components/WithBreadcrumb.vue.js.map +1 -0
- package/dist/schema/components/WithBreadcrumb.vue.script.js +18 -0
- package/dist/schema/components/WithBreadcrumb.vue.script.js.map +1 -0
- package/dist/schema/expansion/index.d.ts +2 -0
- package/dist/schema/expansion/index.d.ts.map +1 -0
- package/dist/schema/expansion/index.js +2 -0
- package/dist/schema/helpers/dynamic-scope.d.ts +27 -0
- package/dist/schema/helpers/dynamic-scope.d.ts.map +1 -0
- package/dist/schema/helpers/dynamic-scope.js +8 -0
- package/dist/schema/helpers/dynamic-scope.js.map +1 -0
- package/dist/schema/helpers/format-example.d.ts +5 -0
- package/dist/schema/helpers/format-example.d.ts.map +1 -0
- package/dist/schema/helpers/format-example.js +12 -0
- package/dist/schema/helpers/format-example.js.map +1 -0
- package/dist/schema/helpers/format-value.d.ts +5 -0
- package/dist/schema/helpers/format-value.d.ts.map +1 -0
- package/dist/schema/helpers/format-value.js +8 -0
- package/dist/schema/helpers/format-value.js.map +1 -0
- package/dist/schema/helpers/get-compositions-to-render.d.ts +33 -0
- package/dist/schema/helpers/get-compositions-to-render.d.ts.map +1 -0
- package/dist/schema/helpers/get-compositions-to-render.js +39 -0
- package/dist/schema/helpers/get-compositions-to-render.js.map +1 -0
- package/dist/schema/helpers/get-discriminator-values.d.ts +4 -0
- package/dist/schema/helpers/get-discriminator-values.d.ts.map +1 -0
- package/dist/schema/helpers/get-discriminator-values.js +6 -0
- package/dist/schema/helpers/get-discriminator-values.js.map +1 -0
- package/dist/schema/helpers/get-enum-values.d.ts +9 -0
- package/dist/schema/helpers/get-enum-values.d.ts.map +1 -0
- package/dist/schema/helpers/get-enum-values.js +16 -0
- package/dist/schema/helpers/get-enum-values.js.map +1 -0
- package/dist/schema/helpers/get-property-description.d.ts +9 -0
- package/dist/schema/helpers/get-property-description.d.ts.map +1 -0
- package/dist/schema/helpers/get-property-description.js +27 -0
- package/dist/schema/helpers/get-property-description.js.map +1 -0
- package/dist/schema/helpers/get-ref-name.d.ts +24 -0
- package/dist/schema/helpers/get-ref-name.d.ts.map +1 -0
- package/dist/schema/helpers/get-ref-name.js +15 -0
- package/dist/schema/helpers/get-ref-name.js.map +1 -0
- package/dist/schema/helpers/get-schema-type.d.ts +13 -0
- package/dist/schema/helpers/get-schema-type.d.ts.map +1 -0
- package/dist/schema/helpers/get-schema-type.js +24 -0
- package/dist/schema/helpers/get-schema-type.js.map +1 -0
- package/dist/schema/helpers/get-type-signature-tokens.d.ts +48 -0
- package/dist/schema/helpers/get-type-signature-tokens.d.ts.map +1 -0
- package/dist/schema/helpers/get-type-signature-tokens.js +62 -0
- package/dist/schema/helpers/get-type-signature-tokens.js.map +1 -0
- package/dist/schema/helpers/has-complex-array-items.d.ts +10 -0
- package/dist/schema/helpers/has-complex-array-items.d.ts.map +1 -0
- package/dist/schema/helpers/has-complex-array-items.js +22 -0
- package/dist/schema/helpers/has-complex-array-items.js.map +1 -0
- package/dist/schema/helpers/index.d.ts +12 -0
- package/dist/schema/helpers/index.d.ts.map +1 -0
- package/dist/schema/helpers/index.js +12 -0
- package/dist/schema/helpers/is-empty-schema-object.d.ts +8 -0
- package/dist/schema/helpers/is-empty-schema-object.d.ts.map +1 -0
- package/dist/schema/helpers/is-empty-schema-object.js +11 -0
- package/dist/schema/helpers/is-empty-schema-object.js.map +1 -0
- package/dist/schema/helpers/is-model-linkable.d.ts +15 -0
- package/dist/schema/helpers/is-model-linkable.d.ts.map +1 -0
- package/dist/schema/helpers/is-model-linkable.js +13 -0
- package/dist/schema/helpers/is-model-linkable.js.map +1 -0
- package/dist/schema/helpers/is-on-schema-target-path.d.ts +3 -0
- package/dist/schema/helpers/is-on-schema-target-path.d.ts.map +1 -0
- package/dist/schema/helpers/is-on-schema-target-path.js +6 -0
- package/dist/schema/helpers/is-on-schema-target-path.js.map +1 -0
- package/dist/schema/helpers/is-type-object.d.ts +5 -0
- package/dist/schema/helpers/is-type-object.d.ts.map +1 -0
- package/dist/schema/helpers/is-type-object.js +15 -0
- package/dist/schema/helpers/is-type-object.js.map +1 -0
- package/dist/schema/helpers/merge-all-of-schemas.d.ts +12 -0
- package/dist/schema/helpers/merge-all-of-schemas.d.ts.map +1 -0
- package/dist/schema/helpers/merge-all-of-schemas.js +151 -0
- package/dist/schema/helpers/merge-all-of-schemas.js.map +1 -0
- package/dist/schema/helpers/normalize-object-composition.d.ts +9 -0
- package/dist/schema/helpers/normalize-object-composition.d.ts.map +1 -0
- package/dist/schema/helpers/normalize-object-composition.js +29 -0
- package/dist/schema/helpers/normalize-object-composition.js.map +1 -0
- package/dist/schema/helpers/optimize-value-for-display.d.ts +13 -0
- package/dist/schema/helpers/optimize-value-for-display.d.ts.map +1 -0
- package/dist/schema/helpers/optimize-value-for-display.js +64 -0
- package/dist/schema/helpers/optimize-value-for-display.js.map +1 -0
- package/dist/schema/helpers/partition-all-of-compositions.d.ts +32 -0
- package/dist/schema/helpers/partition-all-of-compositions.d.ts.map +1 -0
- package/dist/schema/helpers/partition-all-of-compositions.js +67 -0
- package/dist/schema/helpers/partition-all-of-compositions.js.map +1 -0
- package/dist/schema/helpers/schema-composition.d.ts +4 -0
- package/dist/schema/helpers/schema-composition.d.ts.map +1 -0
- package/dist/schema/helpers/schema-composition.js +11 -0
- package/dist/schema/helpers/schema-composition.js.map +1 -0
- package/dist/schema/helpers/schema-cycle.d.ts +31 -0
- package/dist/schema/helpers/schema-cycle.d.ts.map +1 -0
- package/dist/schema/helpers/schema-cycle.js +8 -0
- package/dist/schema/helpers/schema-cycle.js.map +1 -0
- package/dist/schema/helpers/schema-expansion.d.ts +89 -0
- package/dist/schema/helpers/schema-expansion.d.ts.map +1 -0
- package/dist/schema/helpers/schema-expansion.js +93 -0
- package/dist/schema/helpers/schema-expansion.js.map +1 -0
- package/dist/schema/helpers/schema-keyboard-nav.d.ts +23 -0
- package/dist/schema/helpers/schema-keyboard-nav.d.ts.map +1 -0
- package/dist/schema/helpers/schema-keyboard-nav.js +36 -0
- package/dist/schema/helpers/schema-keyboard-nav.js.map +1 -0
- package/dist/schema/helpers/schema-name.d.ts +27 -0
- package/dist/schema/helpers/schema-name.d.ts.map +1 -0
- package/dist/schema/helpers/schema-name.js +40 -0
- package/dist/schema/helpers/schema-name.js.map +1 -0
- package/dist/schema/helpers/should-display-description.d.ts +10 -0
- package/dist/schema/helpers/should-display-description.d.ts.map +1 -0
- package/dist/schema/helpers/should-display-description.js +6 -0
- package/dist/schema/helpers/should-display-description.js.map +1 -0
- package/dist/schema/helpers/should-display-heading.d.ts +11 -0
- package/dist/schema/helpers/should-display-heading.d.ts.map +1 -0
- package/dist/schema/helpers/should-display-heading.js +6 -0
- package/dist/schema/helpers/should-display-heading.js.map +1 -0
- package/dist/schema/helpers/should-render-array-item-composition.d.ts +10 -0
- package/dist/schema/helpers/should-render-array-item-composition.d.ts.map +1 -0
- package/dist/schema/helpers/should-render-array-item-composition.js +12 -0
- package/dist/schema/helpers/should-render-array-item-composition.js.map +1 -0
- package/dist/schema/helpers/sort-property-names.d.ts +23 -0
- package/dist/schema/helpers/sort-property-names.d.ts.map +1 -0
- package/dist/schema/helpers/sort-property-names.js +55 -0
- package/dist/schema/helpers/sort-property-names.js.map +1 -0
- package/dist/schema/helpers/unwrap-for-read.d.ts +48 -0
- package/dist/schema/helpers/unwrap-for-read.d.ts.map +1 -0
- package/dist/schema/helpers/unwrap-for-read.js +8 -0
- package/dist/schema/helpers/unwrap-for-read.js.map +1 -0
- package/dist/schema/index.d.ts +12 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/index.js +11 -0
- package/dist/schema/localization/index.d.ts +59 -0
- package/dist/schema/localization/index.d.ts.map +1 -0
- package/dist/schema/localization/index.js +18 -0
- package/dist/schema/localization/index.js.map +1 -0
- package/dist/schema/localization/locales/ar.d.ts +58 -0
- package/dist/schema/localization/locales/ar.d.ts.map +1 -0
- package/dist/schema/localization/locales/ar.js +60 -0
- package/dist/schema/localization/locales/ar.js.map +1 -0
- package/dist/schema/localization/locales/de.d.ts +58 -0
- package/dist/schema/localization/locales/de.d.ts.map +1 -0
- package/dist/schema/localization/locales/de.js +60 -0
- package/dist/schema/localization/locales/de.js.map +1 -0
- package/dist/schema/localization/locales/en.d.ts +58 -0
- package/dist/schema/localization/locales/en.d.ts.map +1 -0
- package/dist/schema/localization/locales/en.js +60 -0
- package/dist/schema/localization/locales/en.js.map +1 -0
- package/dist/schema/localization/locales/es.d.ts +58 -0
- package/dist/schema/localization/locales/es.d.ts.map +1 -0
- package/dist/schema/localization/locales/es.js +60 -0
- package/dist/schema/localization/locales/es.js.map +1 -0
- package/dist/schema/localization/locales/fr.d.ts +58 -0
- package/dist/schema/localization/locales/fr.d.ts.map +1 -0
- package/dist/schema/localization/locales/fr.js +60 -0
- package/dist/schema/localization/locales/fr.js.map +1 -0
- package/dist/schema/localization/locales/pt.d.ts +58 -0
- package/dist/schema/localization/locales/pt.d.ts.map +1 -0
- package/dist/schema/localization/locales/pt.js +60 -0
- package/dist/schema/localization/locales/pt.js.map +1 -0
- package/dist/schema/localization/locales/ru.d.ts +58 -0
- package/dist/schema/localization/locales/ru.d.ts.map +1 -0
- package/dist/schema/localization/locales/ru.js +60 -0
- package/dist/schema/localization/locales/ru.js.map +1 -0
- package/dist/schema/localization/locales/zh-cn.d.ts +58 -0
- package/dist/schema/localization/locales/zh-cn.d.ts.map +1 -0
- package/dist/schema/localization/locales/zh-cn.js +60 -0
- package/dist/schema/localization/locales/zh-cn.js.map +1 -0
- package/dist/schema/localization/translations.d.ts +460 -0
- package/dist/schema/localization/translations.d.ts.map +1 -0
- package/dist/schema/localization/translations.js +23 -0
- package/dist/schema/localization/translations.js.map +1 -0
- package/dist/schema/request-body-composition-index.d.ts +8 -0
- package/dist/schema/request-body-composition-index.d.ts.map +1 -0
- package/dist/schema/request-body-composition-index.js +6 -0
- package/dist/schema/request-body-composition-index.js.map +1 -0
- package/dist/schema/schema-tree.bench.d.ts +2 -0
- package/dist/schema/schema-tree.bench.d.ts.map +1 -0
- package/dist/schema/types.d.ts +51 -0
- package/dist/schema/types.d.ts.map +1 -0
- package/dist/shared/Badge.vue.d.ts +17 -0
- package/dist/shared/Badge.vue.d.ts.map +1 -0
- package/dist/shared/Badge.vue.js +9 -0
- package/dist/shared/Badge.vue.js.map +1 -0
- package/dist/shared/Badge.vue.script.js +16 -0
- package/dist/shared/Badge.vue.script.js.map +1 -0
- package/dist/shared/ScreenReader.vue.d.ts +21 -0
- package/dist/shared/ScreenReader.vue.d.ts.map +1 -0
- package/dist/shared/ScreenReader.vue.js +7 -0
- package/dist/shared/ScreenReader.vue.js.map +1 -0
- package/dist/shared/ScreenReader.vue.script.js +19 -0
- package/dist/shared/ScreenReader.vue.script.js.map +1 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +3 -0
- package/dist/specification-extensions/ExtensionValue.vue.d.ts +13 -0
- package/dist/specification-extensions/ExtensionValue.vue.d.ts.map +1 -0
- package/dist/specification-extensions/ExtensionValue.vue.js +7 -0
- package/dist/specification-extensions/ExtensionValue.vue.js.map +1 -0
- package/dist/specification-extensions/ExtensionValue.vue.script.js +84 -0
- package/dist/specification-extensions/ExtensionValue.vue.script.js.map +1 -0
- package/dist/specification-extensions/SpecificationExtensions.vue.d.ts +9 -0
- package/dist/specification-extensions/SpecificationExtensions.vue.d.ts.map +1 -0
- package/dist/specification-extensions/SpecificationExtensions.vue.js +7 -0
- package/dist/specification-extensions/SpecificationExtensions.vue.js.map +1 -0
- package/dist/specification-extensions/SpecificationExtensions.vue.script.js +21 -0
- package/dist/specification-extensions/SpecificationExtensions.vue.script.js.map +1 -0
- package/dist/specification-extensions/index.d.ts +2 -0
- package/dist/specification-extensions/index.d.ts.map +1 -0
- package/dist/specification-extensions/index.js +2 -0
- package/dist/style.css +576 -15
- package/dist/styles/schema-tree.css +91 -0
- package/dist/styles/tailwind.config.css +22 -0
- package/dist/vue-styles.css +1 -1
- package/package.json +45 -7
|
@@ -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 @@
|
|
|
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,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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|