@vc-shell/framework 1.1.99-alpha.2 → 1.2.1
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/core/api/platform.ts +9883 -9883
- package/core/composables/useDynamicProperties/index.ts +21 -19
- package/core/composables/useNotifications/index.ts +1 -32
- package/core/composables/useSettings/index.ts +3 -8
- package/core/composables/useUser/index.ts +171 -74
- package/core/composables/useUserManagement/index.ts +25 -67
- package/core/interceptors/index.ts +56 -19
- package/core/plugins/signalR/index.ts +1 -27
- package/core/types/index.ts +0 -2
- package/dist/core/api/platform.d.ts +1 -1
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +9 -18
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts +7 -7
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts +1 -2
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts +0 -2
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +6799 -6812
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +1 -2
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/index.d.ts +1 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +34 -0
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +7 -0
- package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +42 -0
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/vendor-tiptap-core-8RGSOCZs.js +3442 -0
- package/dist/{vendor-tiptap-extension-blockquote-r1MBx4hD.js → vendor-tiptap-extension-blockquote-BVmAuV7o.js} +1 -1
- package/dist/{vendor-tiptap-extension-bold-BjLI4i8b.js → vendor-tiptap-extension-bold-BOh8AIRZ.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-D5-kDnMW.js → vendor-tiptap-extension-code-R4pc2wFE.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-block-RjEb0zPA.js → vendor-tiptap-extension-code-block-DibKlZFG.js} +1 -1
- package/dist/{vendor-tiptap-extension-document--PLOxIdq.js → vendor-tiptap-extension-document-BwORJR1k.js} +1 -1
- package/dist/{vendor-tiptap-extension-hard-break-9cxC2YOS.js → vendor-tiptap-extension-hard-break-DH36OfVk.js} +9 -13
- package/dist/{vendor-tiptap-extension-heading-2w0TutHn.js → vendor-tiptap-extension-heading-oMLORiPI.js} +1 -1
- package/dist/{vendor-tiptap-extension-horizontal-rule-CFowa_lc.js → vendor-tiptap-extension-horizontal-rule-BMHSoB_Y.js} +1 -1
- package/dist/vendor-tiptap-extension-image-DF1ZJ94q.js +80 -0
- package/dist/{vendor-tiptap-extension-italic-Bn-6saY0.js → vendor-tiptap-extension-italic-BzqrUuB0.js} +1 -1
- package/dist/{vendor-tiptap-extension-link-BmcG1_k-.js → vendor-tiptap-extension-link-hMFZ0hfl.js} +1 -1
- package/dist/{vendor-tiptap-extension-list-BrNBJ45n.js → vendor-tiptap-extension-list-Bj5AK6Pq.js} +1 -1
- package/dist/{vendor-tiptap-extension-paragraph-DAiYhwUB.js → vendor-tiptap-extension-paragraph-Bs1wl42E.js} +1 -1
- package/dist/vendor-tiptap-extension-placeholder-CupUGaI_.js +1 -0
- package/dist/{vendor-tiptap-extension-strike-DqbXPfos.js → vendor-tiptap-extension-strike-C4YpGyzc.js} +1 -1
- package/dist/vendor-tiptap-extension-table-D8RFr_6X.js +368 -0
- package/dist/vendor-tiptap-extension-table-cell-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-table-header-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-table-row-k9uLwyL6.js +1 -0
- package/dist/{vendor-tiptap-extension-text-BFnfj70b.js → vendor-tiptap-extension-text-C4dQW13r.js} +1 -1
- package/dist/{vendor-tiptap-extension-text-style-Darua3qr.js → vendor-tiptap-extension-text-style-a_NYjXT6.js} +1 -1
- package/dist/{vendor-tiptap-extension-underline-QyVnBqQZ.js → vendor-tiptap-extension-underline-DthCaPX3.js} +1 -1
- package/dist/{vendor-tiptap-extensions-CU-D7bfm.js → vendor-tiptap-extensions-C8rF1qdq.js} +1 -1
- package/dist/{vendor-tiptap-markdown-BwATYN5A.js → vendor-tiptap-markdown-DRc3qhBU.js} +1 -1
- package/dist/{vendor-tiptap-starter-kit-5luf7zzS.js → vendor-tiptap-starter-kit-BfUUblkP.js} +17 -17
- package/dist/{vendor-tiptap-vue-3-CFBErZGb.js → vendor-tiptap-vue-3-DYxT2sf6.js} +1 -1
- package/dist/{vendor-vueuse-components-sgKpNzof.js → vendor-vueuse-components-B0zqjNRW.js} +1 -1
- package/dist/{vendor-vueuse-core-D0cN7FqY.js → vendor-vueuse-core-CYgwn-B2.js} +10 -10
- package/dist/{vendor-vueuse-shared-Pt0UEStA.js → vendor-vueuse-shared-B_uDJJ6V.js} +19 -19
- package/package.json +5 -7
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +2 -2
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -15
- package/shared/components/sign-in/useExternalProvider.ts +1 -11
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +3 -11
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +1 -1
- package/ui/components/atoms/vc-button/vc-button.stories.ts +1 -1
- package/ui/components/atoms/vc-card/vc-card.stories.ts +1 -1
- package/ui/components/atoms/vc-col/vc-col.stories.ts +1 -1
- package/ui/components/atoms/vc-container/vc-container.stories.ts +1 -1
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +1 -1
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +1 -1
- package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -1
- package/ui/components/atoms/vc-label/vc-label.stories.ts +1 -1
- package/ui/components/atoms/vc-link/vc-link.stories.ts +1 -1
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +1 -1
- package/ui/components/atoms/vc-row/vc-row.stories.ts +1 -1
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +1 -1
- package/ui/components/atoms/vc-status/vc-status.stories.ts +1 -1
- package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +1 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +1 -1
- package/ui/components/atoms/vc-video/vc-video.stories.ts +1 -1
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +1 -1
- package/ui/components/molecules/index.ts +1 -0
- package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +251 -0
- package/ui/components/molecules/vc-accordion/index.ts +11 -0
- package/ui/components/molecules/vc-accordion/vc-accordion.stories.ts +526 -0
- package/ui/components/molecules/vc-accordion/vc-accordion.vue +176 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +1 -1
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +1 -1
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +1 -1
- package/ui/components/molecules/vc-field/vc-field.stories.ts +1 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +1 -1
- package/ui/components/molecules/vc-form/vc-form.stories.ts +1 -1
- package/ui/components/molecules/vc-input/vc-input.stories.ts +1 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +1 -1
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +1 -1
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +1 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +1 -1
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +1 -1
- package/ui/components/molecules/vc-select/vc-select.stories.ts +1 -1
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +1 -1
- package/ui/components/molecules/vc-switch/vc-switch.stories.ts +1 -1
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +1 -1
- package/ui/components/molecules/vc-toast/vc-toast.stories.ts +1 -1
- package/ui/components/organisms/vc-app/vc-app.vue +2 -20
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +4 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +1 -1
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +1 -1
- package/core/providers/README.md +0 -176
- package/core/providers/auth-provider-manager.ts +0 -74
- package/core/providers/auth-provider-utils.ts +0 -26
- package/core/providers/example-custom-auth-provider.ts +0 -162
- package/core/providers/index.ts +0 -3
- package/core/providers/platform-auth-provider.ts +0 -207
- package/core/types/auth-provider.ts +0 -40
- package/dist/core/providers/auth-provider-manager.d.ts +0 -34
- package/dist/core/providers/auth-provider-manager.d.ts.map +0 -1
- package/dist/core/providers/auth-provider-utils.d.ts +0 -17
- package/dist/core/providers/auth-provider-utils.d.ts.map +0 -1
- package/dist/core/providers/example-custom-auth-provider.d.ts +0 -45
- package/dist/core/providers/example-custom-auth-provider.d.ts.map +0 -1
- package/dist/core/providers/index.d.ts +0 -3
- package/dist/core/providers/index.d.ts.map +0 -1
- package/dist/core/providers/platform-auth-provider.d.ts +0 -34
- package/dist/core/providers/platform-auth-provider.d.ts.map +0 -1
- package/dist/core/types/auth-provider.d.ts +0 -27
- package/dist/core/types/auth-provider.d.ts.map +0 -1
- package/dist/vendor-tiptap-core-ClsTgaMv.js +0 -3699
- package/dist/vendor-tiptap-extension-image-aWn-na6j.js +0 -127
- package/dist/vendor-tiptap-extension-placeholder-9tURDKy-.js +0 -1
- package/dist/vendor-tiptap-extension-table-DQwPaR7v.js +0 -374
- package/dist/vendor-tiptap-extension-table-cell-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-table-header-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-table-row-C0tEP_0i.js +0 -1
package/dist/{vendor-tiptap-extension-bold-BjLI4i8b.js → vendor-tiptap-extension-bold-BOh8AIRZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as a, a as r, b as s, h as n, m as o } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as a, a as r, b as s, h as n, m as o } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, u = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, i = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, m = a.create({
|
|
3
3
|
name: "bold",
|
|
4
4
|
addOptions() {
|
package/dist/{vendor-tiptap-extension-code-D5-kDnMW.js → vendor-tiptap-extension-code-R4pc2wFE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as r, a, b as n, m as d } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as r, a, b as n, m as d } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
var s = /(^|[^`])`([^`]+)`(?!`)$/, o = /(^|[^`])`([^`]+)`(?!`)/g, i = r.create({
|
|
3
3
|
name: "code",
|
|
4
4
|
addOptions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as C, t as S, m as k } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as C, t as S, m as k } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
import { P as w, a as B, T, S as L } from "./vendor-prosemirror-state-DHaVEu5h.js";
|
|
3
3
|
var y = 4, M = /^```([a-z]+)?[\s\n]$/, N = /^~~~([a-z]+)?[\s\n]$/, $ = C.create({
|
|
4
4
|
name: "codeBlock",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { N as l, m as c } from "./vendor-tiptap-core-
|
|
2
|
-
var
|
|
1
|
+
import { N as l, m as c } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
|
+
var M = l.create({
|
|
3
3
|
name: "hardBreak",
|
|
4
|
-
markdownTokenName: "br",
|
|
5
4
|
addOptions() {
|
|
6
5
|
return {
|
|
7
6
|
keepMarks: !0,
|
|
@@ -24,22 +23,19 @@ var f = l.create({
|
|
|
24
23
|
},
|
|
25
24
|
renderMarkdown: (e, r) => r.indent(`
|
|
26
25
|
`),
|
|
27
|
-
parseMarkdown: () => ({
|
|
28
|
-
type: "hardBreak"
|
|
29
|
-
}),
|
|
30
26
|
addCommands() {
|
|
31
27
|
return {
|
|
32
28
|
setHardBreak: () => ({ commands: e, chain: r, state: a, editor: s }) => e.first([
|
|
33
29
|
() => e.exitCode(),
|
|
34
30
|
() => e.command(() => {
|
|
35
|
-
const { selection: t, storedMarks:
|
|
31
|
+
const { selection: t, storedMarks: i } = a;
|
|
36
32
|
if (t.$from.parent.type.spec.isolating)
|
|
37
33
|
return !1;
|
|
38
|
-
const { keepMarks:
|
|
39
|
-
return r().insertContent({ type: this.name }).command(({ tr: u, dispatch:
|
|
40
|
-
if (
|
|
41
|
-
const
|
|
42
|
-
u.ensureMarks(
|
|
34
|
+
const { keepMarks: o } = this.options, { splittableMarks: d } = s.extensionManager, n = i || t.$to.parentOffset && t.$from.marks();
|
|
35
|
+
return r().insertContent({ type: this.name }).command(({ tr: u, dispatch: m }) => {
|
|
36
|
+
if (m && n && o) {
|
|
37
|
+
const k = n.filter((p) => d.includes(p.type.name));
|
|
38
|
+
u.ensureMarks(k);
|
|
43
39
|
}
|
|
44
40
|
return !0;
|
|
45
41
|
}).run();
|
|
@@ -55,5 +51,5 @@ var f = l.create({
|
|
|
55
51
|
}
|
|
56
52
|
});
|
|
57
53
|
export {
|
|
58
|
-
|
|
54
|
+
M as H
|
|
59
55
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as m, n as f, c as h, i as T, m as N } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as m, n as f, c as h, i as T, m as N } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
import { T as s, N as y } from "./vendor-prosemirror-state-DHaVEu5h.js";
|
|
3
3
|
var H = m.create({
|
|
4
4
|
name: "horizontalRule",
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { N as o, n as c, m as p } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
|
+
var g = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, f = o.create({
|
|
3
|
+
name: "image",
|
|
4
|
+
addOptions() {
|
|
5
|
+
return {
|
|
6
|
+
inline: !1,
|
|
7
|
+
allowBase64: !1,
|
|
8
|
+
HTMLAttributes: {}
|
|
9
|
+
};
|
|
10
|
+
},
|
|
11
|
+
inline() {
|
|
12
|
+
return this.options.inline;
|
|
13
|
+
},
|
|
14
|
+
group() {
|
|
15
|
+
return this.options.inline ? "inline" : "block";
|
|
16
|
+
},
|
|
17
|
+
draggable: !0,
|
|
18
|
+
addAttributes() {
|
|
19
|
+
return {
|
|
20
|
+
src: {
|
|
21
|
+
default: null
|
|
22
|
+
},
|
|
23
|
+
alt: {
|
|
24
|
+
default: null
|
|
25
|
+
},
|
|
26
|
+
title: {
|
|
27
|
+
default: null
|
|
28
|
+
},
|
|
29
|
+
width: {
|
|
30
|
+
default: null
|
|
31
|
+
},
|
|
32
|
+
height: {
|
|
33
|
+
default: null
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
parseHTML() {
|
|
38
|
+
return [
|
|
39
|
+
{
|
|
40
|
+
tag: this.options.allowBase64 ? "img[src]" : 'img[src]:not([src^="data:"])'
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
},
|
|
44
|
+
renderHTML({ HTMLAttributes: t }) {
|
|
45
|
+
return ["img", p(this.options.HTMLAttributes, t)];
|
|
46
|
+
},
|
|
47
|
+
parseMarkdown: (t, e) => e.createNode("image", {
|
|
48
|
+
src: t.href,
|
|
49
|
+
title: t.title,
|
|
50
|
+
alt: t.text
|
|
51
|
+
}),
|
|
52
|
+
renderMarkdown: (t) => {
|
|
53
|
+
var e, r, n, l, a, s;
|
|
54
|
+
const i = (r = (e = t.attrs) == null ? void 0 : e.src) != null ? r : "", u = (l = (n = t.attrs) == null ? void 0 : n.alt) != null ? l : "", d = (s = (a = t.attrs) == null ? void 0 : a.title) != null ? s : "";
|
|
55
|
+
return d ? `` : ``;
|
|
56
|
+
},
|
|
57
|
+
addCommands() {
|
|
58
|
+
return {
|
|
59
|
+
setImage: (t) => ({ commands: e }) => e.insertContent({
|
|
60
|
+
type: this.name,
|
|
61
|
+
attrs: t
|
|
62
|
+
})
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
addInputRules() {
|
|
66
|
+
return [
|
|
67
|
+
c({
|
|
68
|
+
find: g,
|
|
69
|
+
type: this.type,
|
|
70
|
+
getAttributes: (t) => {
|
|
71
|
+
const [, , e, r, n] = t;
|
|
72
|
+
return { src: r, alt: e, title: n };
|
|
73
|
+
}
|
|
74
|
+
})
|
|
75
|
+
];
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
export {
|
|
79
|
+
f as I
|
|
80
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as s, a as r, b as a, m as n } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as s, a as r, b as a, m as n } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, o = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, l = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, m = s.create({
|
|
3
3
|
name: "italic",
|
|
4
4
|
addOptions() {
|
package/dist/{vendor-tiptap-extension-link-BmcG1_k-.js → vendor-tiptap-extension-link-hMFZ0hfl.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as x, a as b, m as v, d as T, g as w, f as _, e as H, j as O } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as x, a as b, m as v, d as T, g as w, f as _, e as H, j as O } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
import { r as M, t as R, f as C, a as I } from "./vendor-linkifyjs-dCH9UYes.js";
|
|
3
3
|
import { P as m, a as A } from "./vendor-prosemirror-state-DHaVEu5h.js";
|
|
4
4
|
var P = "[\0- -\u2029 ]", B = new RegExp(P), U = new RegExp(`${P}$`), N = new RegExp(P, "g");
|
package/dist/{vendor-tiptap-extension-list-BrNBJ45n.js → vendor-tiptap-extension-list-Bj5AK6Pq.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as L, E, w as k, m, r as H, k as g, l as B, o as j, p as $, q as K, s as M } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as L, E, w as k, m, r as H, k as g, l as B, o as j, p as $, q as K, s as M } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
var V = Object.defineProperty, X = (t, e) => {
|
|
3
3
|
for (var s in e)
|
|
4
4
|
V(t, s, { get: e[s], enumerable: !0 });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./vendor-tiptap-extensions-C8rF1qdq.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as r, a as s, b as a, m as n } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as r, a as s, b as a, m as n } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
|
|
3
3
|
name: "strike",
|
|
4
4
|
addOptions() {
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import { N as y, u as $, v as _, m as M, x as k, E as O } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
|
+
import { T as I } from "./vendor-prosemirror-state-DHaVEu5h.js";
|
|
3
|
+
import { c as P, t as j, C as S, f as z, g as H, s as D, m as R, a as v, b as V, d as W, e as B, h as K, i as F, j as q, k as G, l as U, n as J } from "./vendor-prosemirror-tables-mYok4vGT.js";
|
|
4
|
+
var Q = y.create({
|
|
5
|
+
name: "tableCell",
|
|
6
|
+
addOptions() {
|
|
7
|
+
return {
|
|
8
|
+
HTMLAttributes: {}
|
|
9
|
+
};
|
|
10
|
+
},
|
|
11
|
+
content: "block+",
|
|
12
|
+
addAttributes() {
|
|
13
|
+
return {
|
|
14
|
+
colspan: {
|
|
15
|
+
default: 1
|
|
16
|
+
},
|
|
17
|
+
rowspan: {
|
|
18
|
+
default: 1
|
|
19
|
+
},
|
|
20
|
+
colwidth: {
|
|
21
|
+
default: null,
|
|
22
|
+
parseHTML: (e) => {
|
|
23
|
+
var t, r;
|
|
24
|
+
const l = e.getAttribute("colwidth"), d = l ? l.split(",").map((n) => parseInt(n, 10)) : null;
|
|
25
|
+
if (!d) {
|
|
26
|
+
const n = (t = e.closest("table")) == null ? void 0 : t.querySelectorAll("colgroup > col"), u = Array.from(((r = e.parentElement) == null ? void 0 : r.children) || []).indexOf(e);
|
|
27
|
+
if (u && u > -1 && n && n[u]) {
|
|
28
|
+
const s = n[u].getAttribute("width");
|
|
29
|
+
return s ? [parseInt(s, 10)] : null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return d;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
tableRole: "cell",
|
|
38
|
+
isolating: !0,
|
|
39
|
+
parseHTML() {
|
|
40
|
+
return [{ tag: "td" }];
|
|
41
|
+
},
|
|
42
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
43
|
+
return ["td", M(this.options.HTMLAttributes, e), 0];
|
|
44
|
+
}
|
|
45
|
+
}), X = y.create({
|
|
46
|
+
name: "tableHeader",
|
|
47
|
+
addOptions() {
|
|
48
|
+
return {
|
|
49
|
+
HTMLAttributes: {}
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
content: "block+",
|
|
53
|
+
addAttributes() {
|
|
54
|
+
return {
|
|
55
|
+
colspan: {
|
|
56
|
+
default: 1
|
|
57
|
+
},
|
|
58
|
+
rowspan: {
|
|
59
|
+
default: 1
|
|
60
|
+
},
|
|
61
|
+
colwidth: {
|
|
62
|
+
default: null,
|
|
63
|
+
parseHTML: (e) => {
|
|
64
|
+
const t = e.getAttribute("colwidth");
|
|
65
|
+
return t ? t.split(",").map((l) => parseInt(l, 10)) : null;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
tableRole: "header_cell",
|
|
71
|
+
isolating: !0,
|
|
72
|
+
parseHTML() {
|
|
73
|
+
return [{ tag: "th" }];
|
|
74
|
+
},
|
|
75
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
76
|
+
return ["th", M(this.options.HTMLAttributes, e), 0];
|
|
77
|
+
}
|
|
78
|
+
}), Y = y.create({
|
|
79
|
+
name: "tableRow",
|
|
80
|
+
addOptions() {
|
|
81
|
+
return {
|
|
82
|
+
HTMLAttributes: {}
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
content: "(tableCell | tableHeader)*",
|
|
86
|
+
tableRole: "row",
|
|
87
|
+
parseHTML() {
|
|
88
|
+
return [{ tag: "tr" }];
|
|
89
|
+
},
|
|
90
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
91
|
+
return ["tr", M(this.options.HTMLAttributes, e), 0];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
function x(e, t) {
|
|
95
|
+
return t ? ["width", `${Math.max(t, e)}px`] : ["min-width", `${e}px`];
|
|
96
|
+
}
|
|
97
|
+
function E(e, t, r, l, d, n) {
|
|
98
|
+
var u;
|
|
99
|
+
let s = 0, f = !0, i = t.firstChild;
|
|
100
|
+
const b = e.firstChild;
|
|
101
|
+
if (b !== null)
|
|
102
|
+
for (let p = 0, C = 0; p < b.childCount; p += 1) {
|
|
103
|
+
const { colspan: w, colwidth: a } = b.child(p).attrs;
|
|
104
|
+
for (let c = 0; c < w; c += 1, C += 1) {
|
|
105
|
+
const o = d === C ? n : a && a[c], m = o ? `${o}px` : "";
|
|
106
|
+
if (s += o || l, o || (f = !1), i) {
|
|
107
|
+
if (i.style.width !== m) {
|
|
108
|
+
const [h, g] = x(l, o);
|
|
109
|
+
i.style.setProperty(h, g);
|
|
110
|
+
}
|
|
111
|
+
i = i.nextSibling;
|
|
112
|
+
} else {
|
|
113
|
+
const h = document.createElement("col"), [g, A] = x(l, o);
|
|
114
|
+
h.style.setProperty(g, A), t.appendChild(h);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
for (; i; ) {
|
|
119
|
+
const p = i.nextSibling;
|
|
120
|
+
(u = i.parentNode) == null || u.removeChild(i), i = p;
|
|
121
|
+
}
|
|
122
|
+
f ? (r.style.width = `${s}px`, r.style.minWidth = "") : (r.style.width = "", r.style.minWidth = `${s}px`);
|
|
123
|
+
}
|
|
124
|
+
var Z = class {
|
|
125
|
+
constructor(e, t) {
|
|
126
|
+
this.node = e, this.cellMinWidth = t, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), E(e, this.colgroup, this.table, t), this.contentDOM = this.table.appendChild(document.createElement("tbody"));
|
|
127
|
+
}
|
|
128
|
+
update(e) {
|
|
129
|
+
return e.type !== this.node.type ? !1 : (this.node = e, E(e, this.colgroup, this.table, this.cellMinWidth), !0);
|
|
130
|
+
}
|
|
131
|
+
ignoreMutation(e) {
|
|
132
|
+
const t = e.target, r = this.dom.contains(t), l = this.contentDOM.contains(t);
|
|
133
|
+
return !!(r && !l && (e.type === "attributes" || e.type === "childList" || e.type === "characterData"));
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
function ee(e, t, r, l) {
|
|
137
|
+
let d = 0, n = !0;
|
|
138
|
+
const u = [], s = e.firstChild;
|
|
139
|
+
if (!s)
|
|
140
|
+
return {};
|
|
141
|
+
for (let p = 0, C = 0; p < s.childCount; p += 1) {
|
|
142
|
+
const { colspan: w, colwidth: a } = s.child(p).attrs;
|
|
143
|
+
for (let c = 0; c < w; c += 1, C += 1) {
|
|
144
|
+
const o = r === C ? l : a && a[c];
|
|
145
|
+
d += o || t, o || (n = !1);
|
|
146
|
+
const [m, h] = x(t, o);
|
|
147
|
+
u.push(["col", { style: `${m}: ${h}` }]);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
const f = n ? `${d}px` : "", i = n ? "" : `${d}px`;
|
|
151
|
+
return { colgroup: ["colgroup", {}, ...u], tableWidth: f, tableMinWidth: i };
|
|
152
|
+
}
|
|
153
|
+
function L(e, t) {
|
|
154
|
+
return e.createAndFill();
|
|
155
|
+
}
|
|
156
|
+
function te(e) {
|
|
157
|
+
if (e.cached.tableNodeTypes)
|
|
158
|
+
return e.cached.tableNodeTypes;
|
|
159
|
+
const t = {};
|
|
160
|
+
return Object.keys(e.nodes).forEach((r) => {
|
|
161
|
+
const l = e.nodes[r];
|
|
162
|
+
l.spec.tableRole && (t[l.spec.tableRole] = l);
|
|
163
|
+
}), e.cached.tableNodeTypes = t, t;
|
|
164
|
+
}
|
|
165
|
+
function le(e, t, r, l, d) {
|
|
166
|
+
const n = te(e), u = [], s = [];
|
|
167
|
+
for (let i = 0; i < r; i += 1) {
|
|
168
|
+
const b = L(n.cell);
|
|
169
|
+
if (b && s.push(b), l) {
|
|
170
|
+
const p = L(n.header_cell);
|
|
171
|
+
p && u.push(p);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
const f = [];
|
|
175
|
+
for (let i = 0; i < t; i += 1)
|
|
176
|
+
f.push(n.row.createChecked(null, l && i === 0 ? u : s));
|
|
177
|
+
return n.table.createChecked(null, f);
|
|
178
|
+
}
|
|
179
|
+
function re(e) {
|
|
180
|
+
return e instanceof S;
|
|
181
|
+
}
|
|
182
|
+
var T = ({ editor: e }) => {
|
|
183
|
+
const { selection: t } = e.state;
|
|
184
|
+
if (!re(t))
|
|
185
|
+
return !1;
|
|
186
|
+
let r = 0;
|
|
187
|
+
const l = k(t.ranges[0].$from, (n) => n.type.name === "table");
|
|
188
|
+
return l?.node.descendants((n) => {
|
|
189
|
+
if (n.type.name === "table")
|
|
190
|
+
return !1;
|
|
191
|
+
["tableCell", "tableHeader"].includes(n.type.name) && (r += 1);
|
|
192
|
+
}), r === t.ranges.length ? (e.commands.deleteTable(), !0) : !1;
|
|
193
|
+
}, ne = "";
|
|
194
|
+
function oe(e) {
|
|
195
|
+
return (e || "").replace(/\s+/g, " ").trim();
|
|
196
|
+
}
|
|
197
|
+
function ae(e, t, r = {}) {
|
|
198
|
+
var l;
|
|
199
|
+
const d = (l = r.cellLineSeparator) != null ? l : ne;
|
|
200
|
+
if (!e || !e.content || e.content.length === 0)
|
|
201
|
+
return "";
|
|
202
|
+
const n = [];
|
|
203
|
+
e.content.forEach((a) => {
|
|
204
|
+
const c = [];
|
|
205
|
+
a.content && a.content.forEach((o) => {
|
|
206
|
+
let m = "";
|
|
207
|
+
o.content && Array.isArray(o.content) && o.content.length > 1 ? m = o.content.map((N) => t.renderChildren(N)).join(d) : m = o.content ? t.renderChildren(o.content) : "";
|
|
208
|
+
const h = oe(m), g = o.type === "tableHeader";
|
|
209
|
+
c.push({ text: h, isHeader: g });
|
|
210
|
+
}), n.push(c);
|
|
211
|
+
});
|
|
212
|
+
const u = n.reduce((a, c) => Math.max(a, c.length), 0);
|
|
213
|
+
if (u === 0)
|
|
214
|
+
return "";
|
|
215
|
+
const s = new Array(u).fill(0);
|
|
216
|
+
n.forEach((a) => {
|
|
217
|
+
var c;
|
|
218
|
+
for (let o = 0; o < u; o += 1) {
|
|
219
|
+
const h = (((c = a[o]) == null ? void 0 : c.text) || "").length;
|
|
220
|
+
h > s[o] && (s[o] = h), s[o] < 3 && (s[o] = 3);
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
const f = (a, c) => a + " ".repeat(Math.max(0, c - a.length)), i = n[0], b = i.some((a) => a.isHeader);
|
|
224
|
+
let p = `
|
|
225
|
+
`;
|
|
226
|
+
const C = new Array(u).fill(0).map((a, c) => b && i[c] && i[c].text || "");
|
|
227
|
+
return p += `| ${C.map((a, c) => f(a, s[c])).join(" | ")} |
|
|
228
|
+
`, p += `| ${s.map((a) => "-".repeat(Math.max(3, a))).join(" | ")} |
|
|
229
|
+
`, (b ? n.slice(1) : n).forEach((a) => {
|
|
230
|
+
p += `| ${new Array(u).fill(0).map((c, o) => f(a[o] && a[o].text || "", s[o])).join(" | ")} |
|
|
231
|
+
`;
|
|
232
|
+
}), p;
|
|
233
|
+
}
|
|
234
|
+
var se = ae, ie = y.create({
|
|
235
|
+
name: "table",
|
|
236
|
+
// @ts-ignore
|
|
237
|
+
addOptions() {
|
|
238
|
+
return {
|
|
239
|
+
HTMLAttributes: {},
|
|
240
|
+
resizable: !1,
|
|
241
|
+
handleWidth: 5,
|
|
242
|
+
cellMinWidth: 25,
|
|
243
|
+
// TODO: fix
|
|
244
|
+
View: Z,
|
|
245
|
+
lastColumnResizable: !0,
|
|
246
|
+
allowTableNodeSelection: !1
|
|
247
|
+
};
|
|
248
|
+
},
|
|
249
|
+
content: "tableRow+",
|
|
250
|
+
tableRole: "table",
|
|
251
|
+
isolating: !0,
|
|
252
|
+
group: "block",
|
|
253
|
+
parseHTML() {
|
|
254
|
+
return [{ tag: "table" }];
|
|
255
|
+
},
|
|
256
|
+
renderHTML({ node: e, HTMLAttributes: t }) {
|
|
257
|
+
const { colgroup: r, tableWidth: l, tableMinWidth: d } = ee(e, this.options.cellMinWidth);
|
|
258
|
+
return [
|
|
259
|
+
"table",
|
|
260
|
+
M(this.options.HTMLAttributes, t, {
|
|
261
|
+
style: l ? `width: ${l}` : `min-width: ${d}`
|
|
262
|
+
}),
|
|
263
|
+
r,
|
|
264
|
+
["tbody", 0]
|
|
265
|
+
];
|
|
266
|
+
},
|
|
267
|
+
parseMarkdown: (e, t) => {
|
|
268
|
+
const r = [];
|
|
269
|
+
if (e.header) {
|
|
270
|
+
const l = [];
|
|
271
|
+
e.header.forEach((d) => {
|
|
272
|
+
l.push(t.createNode("tableHeader", {}, [{ type: "paragraph", content: t.parseInline(d.tokens) }]));
|
|
273
|
+
}), r.push(t.createNode("tableRow", {}, l));
|
|
274
|
+
}
|
|
275
|
+
return e.rows && e.rows.forEach((l) => {
|
|
276
|
+
const d = [];
|
|
277
|
+
l.forEach((n) => {
|
|
278
|
+
d.push(t.createNode("tableCell", {}, [{ type: "paragraph", content: t.parseInline(n.tokens) }]));
|
|
279
|
+
}), r.push(t.createNode("tableRow", {}, d));
|
|
280
|
+
}), t.createNode("table", void 0, r);
|
|
281
|
+
},
|
|
282
|
+
renderMarkdown: (e, t) => se(e, t),
|
|
283
|
+
addCommands() {
|
|
284
|
+
return {
|
|
285
|
+
insertTable: ({ rows: e = 3, cols: t = 3, withHeaderRow: r = !0 } = {}) => ({ tr: l, dispatch: d, editor: n }) => {
|
|
286
|
+
const u = le(n.schema, e, t, r);
|
|
287
|
+
if (d) {
|
|
288
|
+
const s = l.selection.from + 1;
|
|
289
|
+
l.replaceSelectionWith(u).scrollIntoView().setSelection(I.near(l.doc.resolve(s)));
|
|
290
|
+
}
|
|
291
|
+
return !0;
|
|
292
|
+
},
|
|
293
|
+
addColumnBefore: () => ({ state: e, dispatch: t }) => J(e, t),
|
|
294
|
+
addColumnAfter: () => ({ state: e, dispatch: t }) => U(e, t),
|
|
295
|
+
deleteColumn: () => ({ state: e, dispatch: t }) => G(e, t),
|
|
296
|
+
addRowBefore: () => ({ state: e, dispatch: t }) => q(e, t),
|
|
297
|
+
addRowAfter: () => ({ state: e, dispatch: t }) => F(e, t),
|
|
298
|
+
deleteRow: () => ({ state: e, dispatch: t }) => K(e, t),
|
|
299
|
+
deleteTable: () => ({ state: e, dispatch: t }) => B(e, t),
|
|
300
|
+
mergeCells: () => ({ state: e, dispatch: t }) => R(e, t),
|
|
301
|
+
splitCell: () => ({ state: e, dispatch: t }) => v(e, t),
|
|
302
|
+
toggleHeaderColumn: () => ({ state: e, dispatch: t }) => W("column")(e, t),
|
|
303
|
+
toggleHeaderRow: () => ({ state: e, dispatch: t }) => W("row")(e, t),
|
|
304
|
+
toggleHeaderCell: () => ({ state: e, dispatch: t }) => V(e, t),
|
|
305
|
+
mergeOrSplit: () => ({ state: e, dispatch: t }) => R(e, t) ? !0 : v(e, t),
|
|
306
|
+
setCellAttribute: (e, t) => ({ state: r, dispatch: l }) => D(e, t)(r, l),
|
|
307
|
+
goToNextCell: () => ({ state: e, dispatch: t }) => H(1)(e, t),
|
|
308
|
+
goToPreviousCell: () => ({ state: e, dispatch: t }) => H(-1)(e, t),
|
|
309
|
+
fixTables: () => ({ state: e, dispatch: t }) => (t && z(e), !0),
|
|
310
|
+
setCellSelection: (e) => ({ tr: t, dispatch: r }) => {
|
|
311
|
+
if (r) {
|
|
312
|
+
const l = S.create(t.doc, e.anchorCell, e.headCell);
|
|
313
|
+
t.setSelection(l);
|
|
314
|
+
}
|
|
315
|
+
return !0;
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
},
|
|
319
|
+
addKeyboardShortcuts() {
|
|
320
|
+
return {
|
|
321
|
+
Tab: () => this.editor.commands.goToNextCell() ? !0 : this.editor.can().addRowAfter() ? this.editor.chain().addRowAfter().goToNextCell().run() : !1,
|
|
322
|
+
"Shift-Tab": () => this.editor.commands.goToPreviousCell(),
|
|
323
|
+
Backspace: T,
|
|
324
|
+
"Mod-Backspace": T,
|
|
325
|
+
Delete: T,
|
|
326
|
+
"Mod-Delete": T
|
|
327
|
+
};
|
|
328
|
+
},
|
|
329
|
+
addProseMirrorPlugins() {
|
|
330
|
+
return [
|
|
331
|
+
...this.options.resizable && this.editor.isEditable ? [
|
|
332
|
+
P({
|
|
333
|
+
handleWidth: this.options.handleWidth,
|
|
334
|
+
cellMinWidth: this.options.cellMinWidth,
|
|
335
|
+
defaultCellMinWidth: this.options.cellMinWidth,
|
|
336
|
+
View: this.options.View,
|
|
337
|
+
lastColumnResizable: this.options.lastColumnResizable
|
|
338
|
+
})
|
|
339
|
+
] : [],
|
|
340
|
+
j({
|
|
341
|
+
allowTableNodeSelection: this.options.allowTableNodeSelection
|
|
342
|
+
})
|
|
343
|
+
];
|
|
344
|
+
},
|
|
345
|
+
extendNodeSchema(e) {
|
|
346
|
+
const t = {
|
|
347
|
+
name: e.name,
|
|
348
|
+
options: e.options,
|
|
349
|
+
storage: e.storage
|
|
350
|
+
};
|
|
351
|
+
return {
|
|
352
|
+
tableRole: $(_(e, "tableRole", t))
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
O.create({
|
|
357
|
+
name: "tableKit",
|
|
358
|
+
addExtensions() {
|
|
359
|
+
const e = [];
|
|
360
|
+
return this.options.table !== !1 && e.push(ie.configure(this.options.table)), this.options.tableCell !== !1 && e.push(Q.configure(this.options.tableCell)), this.options.tableHeader !== !1 && e.push(X.configure(this.options.tableHeader)), this.options.tableRow !== !1 && e.push(Y.configure(this.options.tableRow)), e;
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
export {
|
|
364
|
+
ie as T,
|
|
365
|
+
Y as a,
|
|
366
|
+
X as b,
|
|
367
|
+
Q as c
|
|
368
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./vendor-tiptap-extension-table-D8RFr_6X.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./vendor-tiptap-extension-table-D8RFr_6X.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./vendor-tiptap-extension-table-D8RFr_6X.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as y, m as p, E as l } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as y, m as p, E as l } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
var d = 20, u = (t, e = 0) => {
|
|
3
3
|
const r = [];
|
|
4
4
|
return !t.children.length || e > d || Array.from(t.children).forEach((o) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as u, y as w, u as v, v as P, i as S } from "./vendor-tiptap-core-
|
|
1
|
+
import { E as u, y as w, u as v, v as P, i as S } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
import { P as p, a as m } from "./vendor-prosemirror-state-DHaVEu5h.js";
|
|
3
3
|
import { d as z } from "./vendor-prosemirror-dropcursor-BuGmFgFS.js";
|
|
4
4
|
import { a as g, D as f } from "./vendor-prosemirror-view-CspJa44O.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as b, z as B, N as a, M as m, A as z } from "./vendor-tiptap-core-
|
|
1
|
+
import { E as b, z as B, N as a, M as m, A as z } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
2
|
import { M as O, d } from "./vendor-prosemirror-markdown-OyxRuawK.js";
|
|
3
3
|
import { M as C } from "./vendor-markdown-it-Czg9qJTh.js";
|
|
4
4
|
import { d as P, F as w } from "./vendor-prosemirror-model-DFp4ML7B.js";
|
package/dist/{vendor-tiptap-starter-kit-5luf7zzS.js → vendor-tiptap-starter-kit-BfUUblkP.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { E as e } from "./vendor-tiptap-core-
|
|
2
|
-
import { B as n } from "./vendor-tiptap-extension-blockquote-
|
|
3
|
-
import { B as p } from "./vendor-tiptap-extension-bold-
|
|
4
|
-
import { C as a } from "./vendor-tiptap-extension-code-
|
|
5
|
-
import { C as f } from "./vendor-tiptap-extension-code-block-
|
|
6
|
-
import { D as h } from "./vendor-tiptap-extension-document
|
|
7
|
-
import { H as u } from "./vendor-tiptap-extension-hard-break-
|
|
8
|
-
import { H as l } from "./vendor-tiptap-extension-heading-
|
|
9
|
-
import { H as c } from "./vendor-tiptap-extension-horizontal-rule-
|
|
10
|
-
import { I as d } from "./vendor-tiptap-extension-italic-
|
|
11
|
-
import { L as m } from "./vendor-tiptap-extension-link-
|
|
12
|
-
import { B as g, L as k, a as B, O as L } from "./vendor-tiptap-extension-list-
|
|
13
|
-
import { P as b } from "./vendor-tiptap-extension-paragraph-
|
|
14
|
-
import { S as x } from "./vendor-tiptap-extension-strike-
|
|
15
|
-
import { T as v } from "./vendor-tiptap-extension-text-
|
|
16
|
-
import { U as H } from "./vendor-tiptap-extension-underline-
|
|
17
|
-
import { D as R, G as I, U as K, T as C } from "./vendor-tiptap-extensions-
|
|
1
|
+
import { E as e } from "./vendor-tiptap-core-8RGSOCZs.js";
|
|
2
|
+
import { B as n } from "./vendor-tiptap-extension-blockquote-BVmAuV7o.js";
|
|
3
|
+
import { B as p } from "./vendor-tiptap-extension-bold-BOh8AIRZ.js";
|
|
4
|
+
import { C as a } from "./vendor-tiptap-extension-code-R4pc2wFE.js";
|
|
5
|
+
import { C as f } from "./vendor-tiptap-extension-code-block-DibKlZFG.js";
|
|
6
|
+
import { D as h } from "./vendor-tiptap-extension-document-BwORJR1k.js";
|
|
7
|
+
import { H as u } from "./vendor-tiptap-extension-hard-break-DH36OfVk.js";
|
|
8
|
+
import { H as l } from "./vendor-tiptap-extension-heading-oMLORiPI.js";
|
|
9
|
+
import { H as c } from "./vendor-tiptap-extension-horizontal-rule-BMHSoB_Y.js";
|
|
10
|
+
import { I as d } from "./vendor-tiptap-extension-italic-BzqrUuB0.js";
|
|
11
|
+
import { L as m } from "./vendor-tiptap-extension-link-hMFZ0hfl.js";
|
|
12
|
+
import { B as g, L as k, a as B, O as L } from "./vendor-tiptap-extension-list-Bj5AK6Pq.js";
|
|
13
|
+
import { P as b } from "./vendor-tiptap-extension-paragraph-Bs1wl42E.js";
|
|
14
|
+
import { S as x } from "./vendor-tiptap-extension-strike-C4YpGyzc.js";
|
|
15
|
+
import { T as v } from "./vendor-tiptap-extension-text-C4dQW13r.js";
|
|
16
|
+
import { U as H } from "./vendor-tiptap-extension-underline-DthCaPX3.js";
|
|
17
|
+
import { D as R, G as I, U as K, T as C } from "./vendor-tiptap-extensions-C8rF1qdq.js";
|
|
18
18
|
var J = e.create({
|
|
19
19
|
name: "starterKit",
|
|
20
20
|
addExtensions() {
|