Skip to content

Commit

Permalink
release: v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cloydlau committed Apr 14, 2024
1 parent df61c45 commit 7f987fb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 32 deletions.
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ createApp()
"vue": "https://cdn.jsdelivr.net/npm/vue/dist/vue.esm-browser.prod.js",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v3/index.mjs",
"vanilla-jsoneditor": "https://cdn.jsdelivr.net/npm/vanilla-jsoneditor",
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.13/dist/json-editor-vue.mjs"
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.14/dist/json-editor-vue.mjs"
}
}
</script>
Expand Down Expand Up @@ -210,7 +210,7 @@ createApp()
<script src="https://cdn.jsdelivr.net/npm/vue-demi"></script>
<!-- TODO -->
<script src="./vanilla-jsoneditor.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.13"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.14"></script>
<script>
const { createApp, ref } = Vue
Expand Down Expand Up @@ -286,7 +286,7 @@ Vue.use(JsonEditorVue, {
"vue": "https://cdn.jsdelivr.net/npm/vue@2/dist/vue.esm.browser.min.js",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v2.7/index.mjs",
"vanilla-jsoneditor": "https://cdn.jsdelivr.net/npm/vanilla-jsoneditor",
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.13/dist/json-editor-vue.mjs"
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.14/dist/json-editor-vue.mjs"
}
}
</script>
Expand Down Expand Up @@ -331,7 +331,7 @@ Vue.use(JsonEditorVue, {
<script src="https://cdn.jsdelivr.net/npm/vue-demi"></script>
<!-- TODO -->
<script src="./vanilla-jsoneditor.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.13"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.14"></script>
<script>
new Vue({
components: { JsonEditorVue },
Expand Down Expand Up @@ -425,7 +425,7 @@ Vue.use(JsonEditorVue, {
"@vue/composition-api/dist/vue-composition-api.mjs": "https://cdn.jsdelivr.net/npm/@vue/composition-api/dist/vue-composition-api.mjs",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v2/index.mjs",
"vanilla-jsoneditor": "https://cdn.jsdelivr.net/npm/vanilla-jsoneditor",
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.13/dist/json-editor-vue.mjs"
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.14/dist/json-editor-vue.mjs"
}
}
</script>
Expand Down Expand Up @@ -471,7 +471,7 @@ Vue.use(JsonEditorVue, {
<script src="https://cdn.jsdelivr.net/npm/vue-demi"></script>
<!-- TODO -->
<script src="./vanilla-jsoneditor.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.13"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.14"></script>
<script>
const { createApp, ref } = VueCompositionAPI
Expand Down Expand Up @@ -988,15 +988,13 @@ FAQ: How to keep the value as parsed JSON in text mode:
> - Adjust the `debounce` value based on the size of your JSON.
> - Will output empty value when the input value is invalid.
```vue
<template>
<JsonEditorVue
mode="text"
:main-menu-bar="false"
:stringified="false"
:debounce="1000"
/>
</template>
```html
<JsonEditorVue
mode="text"
:main-menu-bar="false"
:stringified="false"
:debounce="1000"
/>
```

### Naming convention
Expand Down
28 changes: 13 additions & 15 deletions docs/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ createApp()
"vue": "https://cdn.jsdelivr.net/npm/vue/dist/vue.esm-browser.prod.js",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v3/index.mjs",
"vanilla-jsoneditor": "https://cdn.jsdelivr.net/npm/vanilla-jsoneditor",
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.13/dist/json-editor-vue.mjs"
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.14/dist/json-editor-vue.mjs"
}
}
</script>
Expand Down Expand Up @@ -208,7 +208,7 @@ createApp()
<script src="https://cdn.jsdelivr.net/npm/vue-demi"></script>
<!-- TODO -->
<script src="./vanilla-jsoneditor.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.13"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.14"></script>
<script>
const { createApp, ref } = Vue
Expand Down Expand Up @@ -284,7 +284,7 @@ Vue.use(JsonEditorVue, {
"vue": "https://cdn.jsdelivr.net/npm/vue@2/dist/vue.esm.browser.min.js",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v2.7/index.mjs",
"vanilla-jsoneditor": "https://cdn.jsdelivr.net/npm/vanilla-jsoneditor",
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.13/dist/json-editor-vue.mjs"
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.14/dist/json-editor-vue.mjs"
}
}
</script>
Expand Down Expand Up @@ -329,7 +329,7 @@ Vue.use(JsonEditorVue, {
<script src="https://cdn.jsdelivr.net/npm/vue-demi"></script>
<!-- TODO -->
<script src="./vanilla-jsoneditor.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.13"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.14"></script>
<script>
new Vue({
components: { JsonEditorVue },
Expand Down Expand Up @@ -423,7 +423,7 @@ Vue.use(JsonEditorVue, {
"@vue/composition-api/dist/vue-composition-api.mjs": "https://cdn.jsdelivr.net/npm/@vue/composition-api/dist/vue-composition-api.mjs",
"vue-demi": "https://cdn.jsdelivr.net/npm/vue-demi/lib/v2/index.mjs",
"vanilla-jsoneditor": "https://cdn.jsdelivr.net/npm/vanilla-jsoneditor",
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.13/dist/json-editor-vue.mjs"
"json-editor-vue": "https://cdn.jsdelivr.net/npm/json-editor-vue@0.14/dist/json-editor-vue.mjs"
}
}
</script>
Expand Down Expand Up @@ -469,7 +469,7 @@ Vue.use(JsonEditorVue, {
<script src="https://cdn.jsdelivr.net/npm/vue-demi"></script>
<!-- TODO -->
<script src="./vanilla-jsoneditor.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.13"></script>
<script src="https://cdn.jsdelivr.net/npm/json-editor-vue@0.14"></script>
<script>
const { createApp, ref } = VueCompositionAPI
Expand Down Expand Up @@ -986,15 +986,13 @@ FAQ: 如何在 text 模式下保持绑定值是 parsed JSON:
> - 请根据你的 JSON 大小来调整 `debounce` 的值
> - 输入值无效时会输出空
```vue
<template>
<JsonEditorVue
mode="text"
:main-menu-bar="false"
:stringified="false"
:debounce="1000"
/>
</template>
```html
<JsonEditorVue
mode="text"
:main-menu-bar="false"
:stringified="false"
:debounce="1000"
/>
```

### 命名惯例
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloydlau/json-editor-vue",
"version": "0.13.2",
"version": "0.14.0",
"exports": "./dist/json-editor-vue.mjs",
"publish": {
"include": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "json-editor-vue",
"PascalCasedName": "JsonEditorVue",
"version": "0.13.2",
"version": "0.14.0",
"private": false,
"description": "Vue 2.6/2.7/3 & Nuxt 2/3 isomorphic JSON editor, viewer, formatter and validator.",
"author": {
Expand Down

0 comments on commit 7f987fb

Please sign in to comment.