sprintify-ui 0.11.12 → 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
- 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({
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 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 ee = /* @__PURE__ */ f({
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) {
@@ -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,
55
+ S,
54
56
  v,
55
57
  E,
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,10 @@ const ee = /* @__PURE__ */ f({
77
77
  q,
78
78
  J,
79
79
  Q,
80
- X
80
+ X,
81
+ Y,
82
+ Z,
83
+ $
81
84
  ],
82
85
  toolbar: {
83
86
  items: o.toolbar,
@@ -120,21 +123,21 @@ const ee = /* @__PURE__ */ f({
120
123
  }));
121
124
  return u({
122
125
  getEditorData() {
123
- return (t == null ? void 0 : t.getData()) || "";
126
+ return (a == null ? void 0 : a.getData()) || "";
124
127
  }
125
- }), (r, e) => (c(), I(n(Y), {
128
+ }), (r, e) => (f(), I(n(_), {
126
129
  "model-value": n(p),
127
130
  editor: n(g),
128
131
  config: n(b),
129
132
  disabled: d.disabled,
130
- "onUpdate:modelValue": e[0] || (e[0] = (l) => a("update:modelValue", l)),
131
- onFocus: e[1] || (e[1] = (l) => a("focus", l)),
132
- onBlur: e[2] || (e[2] = (l) => a("blur", l)),
133
- onInput: e[3] || (e[3] = (l) => a("input", l)),
134
- 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
135
138
  }, null, 8, ["model-value", "editor", "config", "disabled"]));
136
139
  }
137
140
  });
138
141
  export {
139
- ee as default
142
+ te as default
140
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-zHRU6hVQ.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.12",
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, 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';
@@ -93,6 +93,9 @@ const config = computed(() => {
93
93
  Bold,
94
94
  Italic,
95
95
  Underline,
96
+ Strikethrough,
97
+ Subscript,
98
+ Superscript,
96
99
  Code,
97
100
  CodeBlock,
98
101
  List,