0.1.3 • Published 3 months ago

@backoffice-plus/jsonforms-vue-vanilla v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

BO+ Vue Vanilla Renderer

This is a set of vanilla renderers for JSON Forms 3.2 for Vue 3. Most renderers are direct ports from the Vue 2 Vuetify renderer set and thus fill the gap of missing renderers from the Vue 3 Vanilla renderer set.

Here is a comparison of all renderers: Example Page

Installation

Using npm:

$ npm install @backoffice-plus/jsonforms-vue-vanilla

Usage

import {vanillaRenderers, defaultStyles} from "@jsonforms/vue-vanilla";
import {boplusVanillaRenderers, bopStyles} from "@backoffice-plus/jsonforms-vue-vanilla";

const jsonFormRenderers = Object.freeze([
    ...vanillaRenderers,
    ...boplusVanillaRenderers,
]);

provide('styles', {...defaultStyles,...bopStyles});

Renderer sets

https://jsonforms.io/docs/renderer-sets

JSON SchemaRendereroverruled RendererVue VanillaVue2 VuetifyBo+ Vue Vanilla
booleanToggleBoolean✔️✔️
integerSliderInteger✔️✔️
stringPasswordString✔️✔️
EnumAutocompleteEnum✔️✔️
EnumRadioGroupEnum✔️✔️
oneOf (const / title)AutocompleteEnumOneOf✔️✔️
oneOf (const / title)RadioGroupEnumOneOf✔️✔️
Array of objectsTableArrayList✔️✔️
Array of objectsList with DetailArrayList✔️✔️
Array of enumsMultiple ChoiceArrayList✔️✔️
allOfTabs-✔️✔️
anyOfTabs-✔️✔️
CategorizationTabs-✔️✔️
Categorization StepperTabs-✔️✔️
const type safetyConstEnum⚠️✔️
string (format: time)TimeTime⚠️️ ✔️✔️
string (format: datetime)DateTimeDateTime⚠️️ ✔️✔️

Older Version

For JSON Forms 3.0, here is an older version that still contains the Object and OneOf Renderer https://github.com/backoffice-plus/jsonforms-vue-vanilla-boplus/tree/v0.0.10

0.1.2

3 months ago

0.1.3

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago

0.0.11

3 months ago

0.0.12

3 months ago

0.0.13

3 months ago

0.0.10

4 months ago

0.0.8

4 months ago

0.0.7

10 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago