sprintify-ui 0.11.11 → 0.11.13
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as
|
|
3
|
-
import { Ckeditor as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as c, computed as i, openBlock as f, createBlock as I, unref as n } from "vue";
|
|
2
|
+
import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as h, SourceEditing as z, Paragraph as C, Bold as v, Italic as E, Underline as S, Strikethrough as T, Subscript as V, Code as w, CodeBlock as F, List as L, Indent as R, IndentBlock as A, Link as x, Autoformat as D, Heading as P, Image as U, AutoImage as G, ImageStyle as O, ImageResize as H, ImageToolbar as K, ImageInsert as M, Base64UploadAdapter as N, Table as W, TableToolbar as j, MediaEmbed as q, PasteFromOffice as J, BlockToolbar as Q, Font as X, FindAndReplace as Y, RemoveFormat as Z } from "ckeditor5";
|
|
3
|
+
import { Ckeditor as $ } from "@ckeditor/ckeditor5-vue";
|
|
4
|
+
const oe = /* @__PURE__ */ c({
|
|
5
5
|
__name: "BaseCkeditor",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: {},
|
|
@@ -49,18 +49,18 @@ const ee = /* @__PURE__ */ f({
|
|
|
49
49
|
}), p = i(() => o.modelValue === null ? "" : o.modelValue), b = i(() => ({
|
|
50
50
|
licenseKey: "GPL",
|
|
51
51
|
plugins: [
|
|
52
|
+
h,
|
|
52
53
|
z,
|
|
53
54
|
C,
|
|
54
55
|
v,
|
|
55
56
|
E,
|
|
57
|
+
S,
|
|
56
58
|
T,
|
|
57
59
|
V,
|
|
58
|
-
h,
|
|
59
60
|
w,
|
|
60
61
|
F,
|
|
61
62
|
L,
|
|
62
63
|
R,
|
|
63
|
-
S,
|
|
64
64
|
A,
|
|
65
65
|
x,
|
|
66
66
|
D,
|
|
@@ -77,7 +77,9 @@ const ee = /* @__PURE__ */ f({
|
|
|
77
77
|
q,
|
|
78
78
|
J,
|
|
79
79
|
Q,
|
|
80
|
-
X
|
|
80
|
+
X,
|
|
81
|
+
Y,
|
|
82
|
+
Z
|
|
81
83
|
],
|
|
82
84
|
toolbar: {
|
|
83
85
|
items: o.toolbar,
|
|
@@ -122,7 +124,7 @@ const ee = /* @__PURE__ */ f({
|
|
|
122
124
|
getEditorData() {
|
|
123
125
|
return (t == null ? void 0 : t.getData()) || "";
|
|
124
126
|
}
|
|
125
|
-
}), (r, e) => (
|
|
127
|
+
}), (r, e) => (f(), I(n($), {
|
|
126
128
|
"model-value": n(p),
|
|
127
129
|
editor: n(g),
|
|
128
130
|
config: n(b),
|
|
@@ -136,5 +138,5 @@ const ee = /* @__PURE__ */ f({
|
|
|
136
138
|
}
|
|
137
139
|
});
|
|
138
140
|
export {
|
|
139
|
-
|
|
141
|
+
oe as default
|
|
140
142
|
};
|
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -43425,7 +43425,7 @@ const XL = { class: "divide-x px-1 py-1 border-b flex" }, QL = ["disabled", "onC
|
|
|
43425
43425
|
},
|
|
43426
43426
|
emits: ["update:modelValue", "focus", "blur", "input"],
|
|
43427
43427
|
setup(n, { emit: t }) {
|
|
43428
|
-
const e = Z1(() => import("./BaseCkeditor-
|
|
43428
|
+
const e = Z1(() => import("./BaseCkeditor-D1U2KabE.js")), r = n, o = t, { nameInternal: i, requiredInternal: s, hasErrorInternal: l, emitUpdate: a, sizeInternal: u, addBeforeSubmitListener: c } = On({
|
|
43429
43429
|
name: S(() => r.name),
|
|
43430
43430
|
required: S(() => r.required),
|
|
43431
43431
|
size: S(() => r.size),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sprintify-ui",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && vue-tsc && vite build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@tailwindcss/forms": "^0.5.3",
|
|
21
21
|
"@tailwindcss/typography": "^0.5.8",
|
|
22
22
|
"@vueuse/core": "^10.0.0",
|
|
23
|
-
"axios": "^0.26.1",
|
|
23
|
+
"axios": "^0.26.1 || ^1.0.0",
|
|
24
24
|
"ckeditor5": "^47.3.0",
|
|
25
25
|
"croppie": "^2.6.5",
|
|
26
26
|
"flatpickr": "^4.6.13",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script lang="ts" setup>
|
|
16
|
-
import { ClassicEditor, InlineEditor, BalloonEditor, Essentials, SourceEditing, MediaEmbed, Paragraph, Bold, Italic, List, Link, Autoformat, Heading, Underline, Code, CodeBlock, Indent, IndentBlock, Table, TableToolbar, Image, ImageResize, ImageStyle, ImageToolbar, ImageInsert, AutoImage, Base64UploadAdapter, PasteFromOffice, BlockToolbar, Font, FindAndReplace, RemoveFormat } from 'ckeditor5';
|
|
16
|
+
import { ClassicEditor, InlineEditor, BalloonEditor, Essentials, SourceEditing, MediaEmbed, Paragraph, Bold, Italic, Strikethrough, Subscript, List, Link, Autoformat, Heading, Underline, Code, CodeBlock, Indent, IndentBlock, Table, TableToolbar, Image, ImageResize, ImageStyle, ImageToolbar, ImageInsert, AutoImage, Base64UploadAdapter, PasteFromOffice, BlockToolbar, Font, FindAndReplace, RemoveFormat } from 'ckeditor5';
|
|
17
17
|
import { Ckeditor } from '@ckeditor/ckeditor5-vue';
|
|
18
18
|
import { Size } from '@/utils/sizes';
|
|
19
19
|
import { ToolbarOption } from '@/types/ToolbarOption';
|
|
@@ -93,6 +93,8 @@ const config = computed(() => {
|
|
|
93
93
|
Bold,
|
|
94
94
|
Italic,
|
|
95
95
|
Underline,
|
|
96
|
+
Strikethrough,
|
|
97
|
+
Subscript,
|
|
96
98
|
Code,
|
|
97
99
|
CodeBlock,
|
|
98
100
|
List,
|