sprintify-ui 0.11.13 → 0.11.14

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
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({
2
+ import { ClassicEditor as B, BalloonEditor as k, InlineEditor as y, Essentials as h, SourceEditing as z, Paragraph as C, Bold as S, Italic as v, Underline as E, Strikethrough as T, Subscript as V, Superscript as w, Code as F, CodeBlock as L, List as R, Indent as A, IndentBlock as x, Link as D, Autoformat as P, Heading as U, Image as G, AutoImage as O, ImageStyle as H, ImageResize as K, ImageToolbar as M, ImageInsert as N, Base64UploadAdapter as W, Table as j, TableToolbar as q, MediaEmbed as J, PasteFromOffice as Q, BlockToolbar as X, Font as Y, FindAndReplace as Z, RemoveFormat as $ } from "ckeditor5";
3
+ import { Ckeditor as _ } from "@ckeditor/ckeditor5-vue";
4
+ const te = /* @__PURE__ */ c({
5
5
  __name: "BaseCkeditor",
6
6
  props: {
7
7
  modelValue: {},
@@ -31,11 +31,11 @@ const oe = /* @__PURE__ */ c({
31
31
  disabled: { type: Boolean, default: !1 }
32
32
  },
33
33
  emits: ["update:modelValue", "focus", "blur", "input", "ready"],
34
- setup(d, { expose: u, emit: m }) {
35
- const o = d, a = m;
36
- let t = null;
37
- function s(r) {
38
- t = r, a("ready", r);
34
+ setup(d, { expose: u, emit: s }) {
35
+ const o = d, t = s;
36
+ let a = null;
37
+ function m(r) {
38
+ a = r, t("ready", r);
39
39
  }
40
40
  const g = i(() => {
41
41
  switch (o.editor) {
@@ -52,9 +52,9 @@ const oe = /* @__PURE__ */ c({
52
52
  h,
53
53
  z,
54
54
  C,
55
+ S,
55
56
  v,
56
57
  E,
57
- S,
58
58
  T,
59
59
  V,
60
60
  w,
@@ -79,7 +79,8 @@ const oe = /* @__PURE__ */ c({
79
79
  Q,
80
80
  X,
81
81
  Y,
82
- Z
82
+ Z,
83
+ $
83
84
  ],
84
85
  toolbar: {
85
86
  items: o.toolbar,
@@ -122,21 +123,21 @@ const oe = /* @__PURE__ */ c({
122
123
  }));
123
124
  return u({
124
125
  getEditorData() {
125
- return (t == null ? void 0 : t.getData()) || "";
126
+ return (a == null ? void 0 : a.getData()) || "";
126
127
  }
127
- }), (r, e) => (f(), I(n($), {
128
+ }), (r, e) => (f(), I(n(_), {
128
129
  "model-value": n(p),
129
130
  editor: n(g),
130
131
  config: n(b),
131
132
  disabled: d.disabled,
132
- "onUpdate:modelValue": e[0] || (e[0] = (l) => a("update:modelValue", l)),
133
- onFocus: e[1] || (e[1] = (l) => a("focus", l)),
134
- onBlur: e[2] || (e[2] = (l) => a("blur", l)),
135
- onInput: e[3] || (e[3] = (l) => a("input", l)),
136
- onReady: s
133
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => t("update:modelValue", l)),
134
+ onFocus: e[1] || (e[1] = (l) => t("focus", l)),
135
+ onBlur: e[2] || (e[2] = (l) => t("blur", l)),
136
+ onInput: e[3] || (e[3] = (l) => t("input", l)),
137
+ onReady: m
137
138
  }, null, 8, ["model-value", "editor", "config", "disabled"]));
138
139
  }
139
140
  });
140
141
  export {
141
- oe as default
142
+ te as default
142
143
  };
@@ -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-D1U2KabE.js")), r = n, o = t, { nameInternal: i, requiredInternal: s, hasErrorInternal: l, emitUpdate: a, sizeInternal: u, addBeforeSubmitListener: c } = On({
43428
+ const e = Z1(() => import("./BaseCkeditor-D39KO4I5.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.13",
3
+ "version": "0.11.14",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -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, 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';
16
+ import { ClassicEditor, InlineEditor, BalloonEditor, Essentials, SourceEditing, MediaEmbed, Paragraph, Bold, Italic, Strikethrough, Subscript, Superscript, 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';
@@ -95,6 +95,7 @@ const config = computed(() => {
95
95
  Underline,
96
96
  Strikethrough,
97
97
  Subscript,
98
+ Superscript,
98
99
  Code,
99
100
  CodeBlock,
100
101
  List,