sprintify-ui 0.10.52 → 0.10.53

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,14 +1,14 @@
1
1
  import { defineComponent as f, computed as i, createBlock as c, openBlock as I, unref as r } from "vue";
2
- import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as z, Paragraph as v, Bold as C, Italic as T, Underline as V, Code as h, CodeBlock as w, List as E, Link as F, Autoformat as L, Heading as R, Image as A, AutoImage as S, ImageStyle as D, ImageResize as P, ImageToolbar as U, ImageInsert as G, Base64UploadAdapter as O, Table as q, TableToolbar as x, MediaEmbed as H, PasteFromOffice as K, BlockToolbar as M, Font as N, FindAndReplace as W, RemoveFormat as j } from "ckeditor5";
3
- import { Ckeditor as J } from "@ckeditor/ckeditor5-vue";
4
- const Z = /* @__PURE__ */ f({
2
+ import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as z, SourceEditing as E, Paragraph as v, Bold as C, Italic as T, Underline as V, Code as h, CodeBlock as w, List as F, Link as L, Autoformat as R, Heading as S, Image as A, AutoImage as D, ImageStyle as P, ImageResize as U, ImageToolbar as G, ImageInsert as O, Base64UploadAdapter as q, Table as x, TableToolbar as H, MediaEmbed as K, PasteFromOffice as M, BlockToolbar as N, Font as W, FindAndReplace as j, RemoveFormat as J } from "ckeditor5";
3
+ import { Ckeditor as Q } from "@ckeditor/ckeditor5-vue";
4
+ const $ = /* @__PURE__ */ f({
5
5
  __name: "BaseCkeditor",
6
6
  props: {
7
7
  modelValue: {},
8
8
  editor: { default: "classic" },
9
9
  size: { default: "md" },
10
10
  toolbar: { default() {
11
- return ["undo", "redo", "|", "heading", "bold", "italic", "underline", "|", "link", "insertImage", "|", "numberedList", "bulletedList", "|", "code", "codeblock", "|", "insertTable"];
11
+ return ["undo", "redo", "|", "sourceEditing", "heading", "bold", "italic", "underline", "|", "link", "insertImage", "|", "numberedList", "bulletedList", "|", "code", "codeblock", "|", "insertTable"];
12
12
  } },
13
13
  placeholder: { default: "" },
14
14
  disabled: { type: Boolean, default: !1 },
@@ -22,7 +22,7 @@ const Z = /* @__PURE__ */ f({
22
22
  function s(t) {
23
23
  n = t, o("ready", t);
24
24
  }
25
- const p = i(() => {
25
+ const g = i(() => {
26
26
  switch (a.editor) {
27
27
  case "inline":
28
28
  return y;
@@ -31,22 +31,22 @@ const Z = /* @__PURE__ */ f({
31
31
  default:
32
32
  return B;
33
33
  }
34
- }), g = i(() => a.modelValue === null ? "" : a.modelValue), b = i(() => ({
34
+ }), p = i(() => a.modelValue === null ? "" : a.modelValue), b = i(() => ({
35
35
  licenseKey: "GPL",
36
36
  plugins: [
37
37
  z,
38
+ E,
38
39
  v,
39
40
  C,
40
41
  T,
41
42
  V,
42
43
  h,
43
44
  w,
44
- E,
45
45
  F,
46
46
  L,
47
47
  R,
48
- A,
49
48
  S,
49
+ A,
50
50
  D,
51
51
  P,
52
52
  U,
@@ -59,7 +59,8 @@ const Z = /* @__PURE__ */ f({
59
59
  M,
60
60
  N,
61
61
  W,
62
- j
62
+ j,
63
+ J
63
64
  ],
64
65
  toolbar: {
65
66
  items: a.toolbar,
@@ -104,9 +105,9 @@ const Z = /* @__PURE__ */ f({
104
105
  getEditorData() {
105
106
  return (n == null ? void 0 : n.getData()) || "";
106
107
  }
107
- }), (t, e) => (I(), c(r(J), {
108
- "model-value": r(g),
109
- editor: r(p),
108
+ }), (t, e) => (I(), c(r(Q), {
109
+ "model-value": r(p),
110
+ editor: r(g),
110
111
  config: r(b),
111
112
  disabled: t.disabled,
112
113
  name: t.name,
@@ -119,5 +120,5 @@ const Z = /* @__PURE__ */ f({
119
120
  }
120
121
  });
121
122
  export {
122
- Z as default
123
+ $ as default
123
124
  };
@@ -26191,7 +26191,7 @@ const dk = /* @__PURE__ */ Yo(ak, [["render", ck]]), fk = { class: "space-y-3" }
26191
26191
  },
26192
26192
  emits: ["update:modelValue", "focus", "blur", "input"],
26193
26193
  setup(t, { emit: n }) {
26194
- const e = Wd(() => import("./BaseCkeditor-Dz9KdCFr.js")), o = t, r = n, { nameInternal: a, requiredInternal: l, hasErrorInternal: s, emitUpdate: u, sizeInternal: d, addBeforeSubmitListener: p } = Qt({
26194
+ const e = Wd(() => import("./BaseCkeditor-B4PbYw6a.js")), o = t, r = n, { nameInternal: a, requiredInternal: l, hasErrorInternal: s, emitUpdate: u, sizeInternal: d, addBeforeSubmitListener: p } = Qt({
26195
26195
  name: w(() => o.name),
26196
26196
  required: w(() => o.required),
26197
26197
  size: w(() => o.size),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.10.52",
3
+ "version": "0.10.53",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -14,7 +14,7 @@
14
14
  </template>
15
15
 
16
16
  <script lang="ts" setup>
17
- import { ClassicEditor, InlineEditor, BalloonEditor, Essentials, MediaEmbed, Paragraph, Bold, Italic, List, Link, Autoformat, Heading, Underline, Code, CodeBlock, Table, TableToolbar, Image, ImageResize, ImageStyle, ImageToolbar, ImageInsert, AutoImage, Base64UploadAdapter, PasteFromOffice, BlockToolbar, Font, FindAndReplace, RemoveFormat } from 'ckeditor5';
17
+ import { ClassicEditor, InlineEditor, BalloonEditor, Essentials, SourceEditing, MediaEmbed, Paragraph, Bold, Italic, List, Link, Autoformat, Heading, Underline, Code, CodeBlock, Table, TableToolbar, Image, ImageResize, ImageStyle, ImageToolbar, ImageInsert, AutoImage, Base64UploadAdapter, PasteFromOffice, BlockToolbar, Font, FindAndReplace, RemoveFormat } from 'ckeditor5';
18
18
  import { Ckeditor } from '@ckeditor/ckeditor5-vue';
19
19
 
20
20
  import { Size } from '@/utils/sizes';
@@ -33,7 +33,7 @@ const props = withDefaults(defineProps<{
33
33
  editor: 'classic',
34
34
  size: 'md',
35
35
  toolbar() {
36
- return ['undo', 'redo', '|', 'heading', 'bold', 'italic', 'underline', '|', 'link', 'insertImage', '|', 'numberedList', 'bulletedList', '|', 'code', 'codeblock', '|', 'insertTable'] as ToolbarOption[];
36
+ return ['undo', 'redo', '|', 'sourceEditing', 'heading', 'bold', 'italic', 'underline', '|', 'link', 'insertImage', '|', 'numberedList', 'bulletedList', '|', 'code', 'codeblock', '|', 'insertTable'] as ToolbarOption[];
37
37
  },
38
38
  placeholder: '',
39
39
  disabled: false,
@@ -77,6 +77,7 @@ const config = computed(() => {
77
77
  licenseKey: 'GPL',
78
78
  plugins: [
79
79
  Essentials,
80
+ SourceEditing,
80
81
  Paragraph,
81
82
  Bold,
82
83
  Italic,