@fastkit/vui 0.7.8 → 0.7.12
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
|
@@ -1384,12 +1384,13 @@ const VNavigationItem = vue.defineComponent({
|
|
|
1384
1384
|
const onClick = ev => {
|
|
1385
1385
|
if (!to.value) {
|
|
1386
1386
|
return toggle();
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
|
|
1387
|
+
} // console.log('★');
|
|
1388
|
+
// open();
|
|
1389
|
+
// if (!to.value) {
|
|
1390
1390
|
// toggle();
|
|
1391
1391
|
// }
|
|
1392
1392
|
// ctx.emit('click', ev);
|
|
1393
|
+
|
|
1393
1394
|
};
|
|
1394
1395
|
|
|
1395
1396
|
const onChangeActive = isActive => {
|
|
@@ -2374,11 +2375,10 @@ const VWysiwygEditor = vue.defineComponent({
|
|
|
2374
2375
|
};
|
|
2375
2376
|
|
|
2376
2377
|
const wysiwygContext = vue.computed(() => {
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
}
|
|
2378
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
2379
|
+
const _editor = editor.value; // if (!_editor) {
|
|
2380
|
+
// throw new Error('missing editor value');
|
|
2381
|
+
// }
|
|
2382
2382
|
|
|
2383
2383
|
return {
|
|
2384
2384
|
vui,
|
package/dist/vui.cjs.prod.js
CHANGED
|
@@ -1384,12 +1384,13 @@ const VNavigationItem = vue.defineComponent({
|
|
|
1384
1384
|
const onClick = ev => {
|
|
1385
1385
|
if (!to.value) {
|
|
1386
1386
|
return toggle();
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
|
|
1387
|
+
} // console.log('★');
|
|
1388
|
+
// open();
|
|
1389
|
+
// if (!to.value) {
|
|
1390
1390
|
// toggle();
|
|
1391
1391
|
// }
|
|
1392
1392
|
// ctx.emit('click', ev);
|
|
1393
|
+
|
|
1393
1394
|
};
|
|
1394
1395
|
|
|
1395
1396
|
const onChangeActive = isActive => {
|
|
@@ -2374,11 +2375,10 @@ const VWysiwygEditor = vue.defineComponent({
|
|
|
2374
2375
|
};
|
|
2375
2376
|
|
|
2376
2377
|
const wysiwygContext = vue.computed(() => {
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
}
|
|
2378
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
2379
|
+
const _editor = editor.value; // if (!_editor) {
|
|
2380
|
+
// throw new Error('missing editor value');
|
|
2381
|
+
// }
|
|
2382
2382
|
|
|
2383
2383
|
return {
|
|
2384
2384
|
vui,
|
package/dist/vui.mjs
CHANGED
|
@@ -1379,12 +1379,13 @@ const VNavigationItem = defineComponent({
|
|
|
1379
1379
|
const onClick = ev => {
|
|
1380
1380
|
if (!to.value) {
|
|
1381
1381
|
return toggle();
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
|
|
1382
|
+
} // console.log('★');
|
|
1383
|
+
// open();
|
|
1384
|
+
// if (!to.value) {
|
|
1385
1385
|
// toggle();
|
|
1386
1386
|
// }
|
|
1387
1387
|
// ctx.emit('click', ev);
|
|
1388
|
+
|
|
1388
1389
|
};
|
|
1389
1390
|
|
|
1390
1391
|
const onChangeActive = isActive => {
|
|
@@ -2369,11 +2370,10 @@ const VWysiwygEditor = defineComponent({
|
|
|
2369
2370
|
};
|
|
2370
2371
|
|
|
2371
2372
|
const wysiwygContext = computed(() => {
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
}
|
|
2373
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
2374
|
+
const _editor = editor.value; // if (!_editor) {
|
|
2375
|
+
// throw new Error('missing editor value');
|
|
2376
|
+
// }
|
|
2377
2377
|
|
|
2378
2378
|
return {
|
|
2379
2379
|
vui,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastkit/vui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12",
|
|
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.
|
|
36
|
-
"@fastkit/icon-font": "0.7.
|
|
37
|
-
"@fastkit/tiny-logger": "0.7.
|
|
38
|
-
"@fastkit/vite-kit": "0.7.
|
|
39
|
-
"@fastkit/vue-kit": "0.7.
|
|
35
|
+
"@fastkit/color-scheme": "0.7.12",
|
|
36
|
+
"@fastkit/icon-font": "0.7.12",
|
|
37
|
+
"@fastkit/tiny-logger": "0.7.12",
|
|
38
|
+
"@fastkit/vite-kit": "0.7.12",
|
|
39
|
+
"@fastkit/vue-kit": "0.7.12",
|
|
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
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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,
|