0.1.3 • Published 1 year ago

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

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.10

1 year ago

0.0.8

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago