@fastkit/vui 0.7.6 → 0.7.10

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/dist/vui.cjs.js CHANGED
@@ -2374,11 +2374,10 @@ const VWysiwygEditor = vue.defineComponent({
2374
2374
  };
2375
2375
 
2376
2376
  const wysiwygContext = vue.computed(() => {
2377
- const _editor = editor.value;
2378
-
2379
- if (!_editor) {
2380
- throw new Error('missing editor value');
2381
- }
2377
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
2378
+ const _editor = editor.value; // if (!_editor) {
2379
+ // throw new Error('missing editor value');
2380
+ // }
2382
2381
 
2383
2382
  return {
2384
2383
  vui,
@@ -2374,11 +2374,10 @@ const VWysiwygEditor = vue.defineComponent({
2374
2374
  };
2375
2375
 
2376
2376
  const wysiwygContext = vue.computed(() => {
2377
- const _editor = editor.value;
2378
-
2379
- if (!_editor) {
2380
- throw new Error('missing editor value');
2381
- }
2377
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
2378
+ const _editor = editor.value; // if (!_editor) {
2379
+ // throw new Error('missing editor value');
2380
+ // }
2382
2381
 
2383
2382
  return {
2384
2383
  vui,
package/dist/vui.mjs CHANGED
@@ -2369,11 +2369,10 @@ const VWysiwygEditor = defineComponent({
2369
2369
  };
2370
2370
 
2371
2371
  const wysiwygContext = computed(() => {
2372
- const _editor = editor.value;
2373
-
2374
- if (!_editor) {
2375
- throw new Error('missing editor value');
2376
- }
2372
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
2373
+ const _editor = editor.value; // if (!_editor) {
2374
+ // throw new Error('missing editor value');
2375
+ // }
2377
2376
 
2378
2377
  return {
2379
2378
  vui,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastkit/vui",
3
- "version": "0.7.6",
3
+ "version": "0.7.10",
4
4
  "description": "@fastkit/vui",
5
5
  "buildOptions": {
6
6
  "name": "Vui",
@@ -32,11 +32,11 @@
32
32
  "vue": "^3.2.26"
33
33
  },
34
34
  "dependencies": {
35
- "@fastkit/color-scheme": "0.7.6",
36
- "@fastkit/icon-font": "0.7.6",
37
- "@fastkit/tiny-logger": "0.7.6",
38
- "@fastkit/vite-kit": "0.7.6",
39
- "@fastkit/vue-kit": "0.7.6",
35
+ "@fastkit/color-scheme": "0.7.10",
36
+ "@fastkit/icon-font": "0.7.10",
37
+ "@fastkit/tiny-logger": "0.7.10",
38
+ "@fastkit/vite-kit": "0.7.10",
39
+ "@fastkit/vue-kit": "0.7.10",
40
40
  "@tiptap/extension-link": "^2.0.0-beta.35",
41
41
  "@tiptap/extension-underline": "^2.0.0-beta.22",
42
42
  "@tiptap/starter-kit": "^2.0.0-beta.168",
@@ -149,10 +149,11 @@ export const VWysiwygEditor = defineComponent({
149
149
  };
150
150
 
151
151
  const wysiwygContext = computed<WysiwygEditorContext>(() => {
152
- const _editor = editor.value;
153
- if (!_editor) {
154
- throw new Error('missing editor value');
155
- }
152
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
153
+ const _editor = editor.value!;
154
+ // if (!_editor) {
155
+ // throw new Error('missing editor value');
156
+ // }
156
157
  return {
157
158
  vui,
158
159
  editor: _editor,