sprintify-ui 0.11.8 → 0.11.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/{BaseCkeditor-Dcqohrsz.js → BaseCkeditor-zHRU6hVQ.js} +19 -20
- package/dist/sprintify-ui.es.js +3 -3
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/src/assets/base-rich-text.css +6 -1
- package/src/assets/main.css +16 -0
- package/src/components/BaseCkeditor.vue +4 -5
- package/src/components/BaseDataIterator.vue +2 -2
- package/src/components/BaseRichText.stories.js +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as z, SourceEditing as
|
|
3
|
-
import { Ckeditor as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as f, computed as i, openBlock as c, createBlock as I, unref as n } from "vue";
|
|
2
|
+
import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as z, SourceEditing as C, Paragraph as v, Bold as E, Italic as T, Underline as V, Code as h, CodeBlock as w, List as F, Indent as L, IndentBlock as R, Link as S, Autoformat as A, Heading as x, Image as D, AutoImage as P, ImageStyle as U, ImageResize as G, ImageToolbar as O, ImageInsert as H, Base64UploadAdapter as K, Table as M, TableToolbar as N, MediaEmbed as W, PasteFromOffice as j, BlockToolbar as q, Font as J, FindAndReplace as Q, RemoveFormat as X } from "ckeditor5";
|
|
3
|
+
import { Ckeditor as Y } from "@ckeditor/ckeditor5-vue";
|
|
4
|
+
const ee = /* @__PURE__ */ f({
|
|
5
5
|
__name: "BaseCkeditor",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: {},
|
|
@@ -12,11 +12,11 @@ const $ = /* @__PURE__ */ c({
|
|
|
12
12
|
"undo",
|
|
13
13
|
"redo",
|
|
14
14
|
"|",
|
|
15
|
-
"sourceEditing",
|
|
16
15
|
"heading",
|
|
17
16
|
"bold",
|
|
18
17
|
"italic",
|
|
19
18
|
"underline",
|
|
19
|
+
"fontBackgroundColor",
|
|
20
20
|
"|",
|
|
21
21
|
"link",
|
|
22
22
|
"insertImage",
|
|
@@ -24,9 +24,6 @@ const $ = /* @__PURE__ */ c({
|
|
|
24
24
|
"numberedList",
|
|
25
25
|
"bulletedList",
|
|
26
26
|
"|",
|
|
27
|
-
"code",
|
|
28
|
-
"codeblock",
|
|
29
|
-
"|",
|
|
30
27
|
"insertTable"
|
|
31
28
|
];
|
|
32
29
|
} },
|
|
@@ -37,10 +34,10 @@ const $ = /* @__PURE__ */ c({
|
|
|
37
34
|
setup(d, { expose: u, emit: m }) {
|
|
38
35
|
const o = d, a = m;
|
|
39
36
|
let t = null;
|
|
40
|
-
function s(
|
|
41
|
-
t =
|
|
37
|
+
function s(r) {
|
|
38
|
+
t = r, a("ready", r);
|
|
42
39
|
}
|
|
43
|
-
const g =
|
|
40
|
+
const g = i(() => {
|
|
44
41
|
switch (o.editor) {
|
|
45
42
|
case "inline":
|
|
46
43
|
return y;
|
|
@@ -49,13 +46,13 @@ const $ = /* @__PURE__ */ c({
|
|
|
49
46
|
default:
|
|
50
47
|
return B;
|
|
51
48
|
}
|
|
52
|
-
}),
|
|
49
|
+
}), p = i(() => o.modelValue === null ? "" : o.modelValue), b = i(() => ({
|
|
53
50
|
licenseKey: "GPL",
|
|
54
51
|
plugins: [
|
|
55
52
|
z,
|
|
56
|
-
E,
|
|
57
|
-
v,
|
|
58
53
|
C,
|
|
54
|
+
v,
|
|
55
|
+
E,
|
|
59
56
|
T,
|
|
60
57
|
V,
|
|
61
58
|
h,
|
|
@@ -78,7 +75,9 @@ const $ = /* @__PURE__ */ c({
|
|
|
78
75
|
W,
|
|
79
76
|
j,
|
|
80
77
|
q,
|
|
81
|
-
J
|
|
78
|
+
J,
|
|
79
|
+
Q,
|
|
80
|
+
X
|
|
82
81
|
],
|
|
83
82
|
toolbar: {
|
|
84
83
|
items: o.toolbar,
|
|
@@ -123,10 +122,10 @@ const $ = /* @__PURE__ */ c({
|
|
|
123
122
|
getEditorData() {
|
|
124
123
|
return (t == null ? void 0 : t.getData()) || "";
|
|
125
124
|
}
|
|
126
|
-
}), (
|
|
127
|
-
"model-value":
|
|
128
|
-
editor:
|
|
129
|
-
config:
|
|
125
|
+
}), (r, e) => (c(), I(n(Y), {
|
|
126
|
+
"model-value": n(p),
|
|
127
|
+
editor: n(g),
|
|
128
|
+
config: n(b),
|
|
130
129
|
disabled: d.disabled,
|
|
131
130
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => a("update:modelValue", l)),
|
|
132
131
|
onFocus: e[1] || (e[1] = (l) => a("focus", l)),
|
|
@@ -137,5 +136,5 @@ const $ = /* @__PURE__ */ c({
|
|
|
137
136
|
}
|
|
138
137
|
});
|
|
139
138
|
export {
|
|
140
|
-
|
|
139
|
+
ee as default
|
|
141
140
|
};
|
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -15167,8 +15167,8 @@ const nT = {
|
|
|
15167
15167
|
class: "mt-4"
|
|
15168
15168
|
}, sT = {
|
|
15169
15169
|
page: 1,
|
|
15170
|
-
search:
|
|
15171
|
-
sort:
|
|
15170
|
+
search: void 0,
|
|
15171
|
+
sort: void 0,
|
|
15172
15172
|
filter: {}
|
|
15173
15173
|
}, k0 = /* @__PURE__ */ te({
|
|
15174
15174
|
__name: "BaseDataIterator",
|
|
@@ -43424,7 +43424,7 @@ const XL = { class: "divide-x px-1 py-1 border-b flex" }, QL = ["disabled", "onC
|
|
|
43424
43424
|
},
|
|
43425
43425
|
emits: ["update:modelValue", "focus", "blur", "input"],
|
|
43426
43426
|
setup(n, { emit: t }) {
|
|
43427
|
-
const e = Z1(() => import("./BaseCkeditor-
|
|
43427
|
+
const e = Z1(() => import("./BaseCkeditor-zHRU6hVQ.js")), r = n, o = t, { nameInternal: i, requiredInternal: s, hasErrorInternal: l, emitUpdate: a, sizeInternal: u, addBeforeSubmitListener: c } = On({
|
|
43428
43428
|
name: S(() => r.name),
|
|
43429
43429
|
required: S(() => r.required),
|
|
43430
43430
|
size: S(() => r.size),
|