@harbour-enterprises/superdoc 0.16.3 → 0.16.4
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/chunks/{PdfViewer-DZ7nYZ_7.es.js → PdfViewer-2KEqYgrV.es.js} +2 -2
- package/dist/chunks/{PdfViewer-BF9znEuU.cjs → PdfViewer-DavqY05L.cjs} +2 -2
- package/dist/chunks/{eventemitter3-DboF-RUw.cjs → eventemitter3-B_kO1Pxm.cjs} +1 -1
- package/dist/chunks/{eventemitter3-Bvb0wURT.es.js → eventemitter3-CZv6vEhA.es.js} +1 -1
- package/dist/chunks/{index-B5SFvLE3.es.js → index-BX4o4O1E.es.js} +6 -6
- package/dist/chunks/{index-ix5rRPuN.cjs → index-BXEyK17K.cjs} +6 -6
- package/dist/chunks/{jszip-DXHu60h9.es.js → jszip-B8KIZSNe.es.js} +1 -1
- package/dist/chunks/{jszip-DmmUnPkH.cjs → jszip-b7l8QkfH.cjs} +1 -1
- package/dist/chunks/{super-editor.es-CUUY0Y9b.cjs → super-editor.es-BIhNSEos.cjs} +18 -18
- package/dist/chunks/{super-editor.es-CcHzk5fr.es.js → super-editor.es-CZXlpTj2.es.js} +18 -18
- package/dist/chunks/{vue-xvq3uP6K.es.js → vue-CXxsqYcP.es.js} +79 -42
- package/dist/chunks/{vue-B6WOnFdF.cjs → vue-DWle4Cai.cjs} +79 -42
- package/dist/chunks/xml-js-CX8FH0He.cjs +3 -0
- package/dist/chunks/xml-js-D0tLGmKu.es.js +2 -0
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-daTWQDSX.js → converter-SY5-NBvc.js} +2 -4
- package/dist/super-editor/chunks/{docx-zipper-D6pIqvek.js → docx-zipper-Dn7ZrkP7.js} +1 -1
- package/dist/super-editor/chunks/{editor-DlwltKCg.js → editor-C59_pscK.js} +17 -15
- package/dist/super-editor/chunks/{toolbar-BUKbd0tf.js → toolbar-DYAjuhBg.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +4 -4
- package/dist/superdoc.es.js +4 -4
- package/dist/superdoc.umd.js +83 -50
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-A6_UhjPs.cjs +0 -3
- package/dist/chunks/xml-js-DQugfHmw.es.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as defineComponent, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-
|
|
2
|
-
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-
|
|
1
|
+
import { m as defineComponent, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-CXxsqYcP.es.js";
|
|
2
|
+
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-BX4o4O1E.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("./vue-
|
|
4
|
-
const superdoc = require("./index-
|
|
3
|
+
const vue = require("./vue-DWle4Cai.cjs");
|
|
4
|
+
const superdoc = require("./index-BXEyK17K.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { q as index$1, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-
|
|
2
|
-
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, d as computed, a2 as isRef, a3 as isReactive, C as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, J as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, H as withDirectives, B as h, U as Teleport, R as renderSlot, V as isVNode, I as watchEffect, O as Transition, a8 as TransitionGroup, E as mergeProps, P as vShow, G as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, a as createBaseVNode, A as normalizeStyle, f as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, e as renderList, b as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-
|
|
3
|
-
import { B as Buffer$2 } from "./jszip-
|
|
1
|
+
import { q as index$1, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-CZXlpTj2.es.js";
|
|
2
|
+
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, d as computed, a2 as isRef, a3 as isReactive, C as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, J as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, H as withDirectives, B as h, U as Teleport, R as renderSlot, V as isVNode, I as watchEffect, O as Transition, a8 as TransitionGroup, E as mergeProps, P as vShow, G as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, a as createBaseVNode, A as normalizeStyle, f as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, e as renderList, b as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-CXxsqYcP.es.js";
|
|
3
|
+
import { B as Buffer$2 } from "./jszip-B8KIZSNe.es.js";
|
|
4
4
|
import { B as BlankDOCX } from "./blank-docx-iwdyG9RH.es.js";
|
|
5
|
-
import { E as EventEmitter } from "./eventemitter3-
|
|
5
|
+
import { E as EventEmitter } from "./eventemitter3-CZv6vEhA.es.js";
|
|
6
6
|
import { HocuspocusProvider, HocuspocusProviderWebsocket } from "@hocuspocus/provider";
|
|
7
7
|
import * as Y from "yjs";
|
|
8
8
|
import { Doc, Map as Map$2 } from "yjs";
|
|
@@ -17249,7 +17249,7 @@ const _sfc_main = {
|
|
|
17249
17249
|
__name: "SuperDoc",
|
|
17250
17250
|
emits: ["selection-update"],
|
|
17251
17251
|
setup(__props, { emit: __emit }) {
|
|
17252
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17252
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-2KEqYgrV.es.js"));
|
|
17253
17253
|
const superdocStore = useSuperdocStore();
|
|
17254
17254
|
const commentsStore = useCommentsStore();
|
|
17255
17255
|
const {
|
|
@@ -17891,7 +17891,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17891
17891
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17892
17892
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17893
17893
|
this.colorIndex = 0;
|
|
17894
|
-
this.version = "0.16.
|
|
17894
|
+
this.version = "0.16.4";
|
|
17895
17895
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17896
17896
|
this.superdocId = config.superdocId || v4();
|
|
17897
17897
|
this.colors = this.config.colors;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
3
|
-
const vue = require("./vue-
|
|
4
|
-
const jszip = require("./jszip-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-BIhNSEos.cjs");
|
|
3
|
+
const vue = require("./vue-DWle4Cai.cjs");
|
|
4
|
+
const jszip = require("./jszip-b7l8QkfH.cjs");
|
|
5
5
|
const blankDocx = require("./blank-docx-CPqX9RF5.cjs");
|
|
6
|
-
const eventemitter3 = require("./eventemitter3-
|
|
6
|
+
const eventemitter3 = require("./eventemitter3-B_kO1Pxm.cjs");
|
|
7
7
|
const provider = require("@hocuspocus/provider");
|
|
8
8
|
const Y = require("yjs");
|
|
9
9
|
const uuid = require("./uuid-CQzaMNgL.cjs");
|
|
@@ -17266,7 +17266,7 @@ const _sfc_main = {
|
|
|
17266
17266
|
__name: "SuperDoc",
|
|
17267
17267
|
emits: ["selection-update"],
|
|
17268
17268
|
setup(__props, { emit: __emit }) {
|
|
17269
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17269
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-DavqY05L.cjs")));
|
|
17270
17270
|
const superdocStore = useSuperdocStore();
|
|
17271
17271
|
const commentsStore = useCommentsStore();
|
|
17272
17272
|
const {
|
|
@@ -17908,7 +17908,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
17908
17908
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17909
17909
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17910
17910
|
this.colorIndex = 0;
|
|
17911
|
-
this.version = "0.16.
|
|
17911
|
+
this.version = "0.16.4";
|
|
17912
17912
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17913
17913
|
this.superdocId = config.superdocId || uuid.v4();
|
|
17914
17914
|
this.colors = this.config.colors;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const vue = require("./vue-
|
|
2
|
+
const vue = require("./vue-DWle4Cai.cjs");
|
|
3
3
|
const Y = require("yjs");
|
|
4
4
|
function _interopNamespaceDefault(e) {
|
|
5
5
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -7511,7 +7511,6 @@ function require_stream_duplex() {
|
|
|
7511
7511
|
}
|
|
7512
7512
|
var string_decoder = {};
|
|
7513
7513
|
var safeBuffer = { exports: {} };
|
|
7514
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
7515
7514
|
var hasRequiredSafeBuffer;
|
|
7516
7515
|
function requireSafeBuffer() {
|
|
7517
7516
|
if (hasRequiredSafeBuffer) return safeBuffer.exports;
|
|
@@ -7533,7 +7532,6 @@ function requireSafeBuffer() {
|
|
|
7533
7532
|
function SafeBuffer(arg, encodingOrOffset, length2) {
|
|
7534
7533
|
return Buffer3(arg, encodingOrOffset, length2);
|
|
7535
7534
|
}
|
|
7536
|
-
SafeBuffer.prototype = Object.create(Buffer3.prototype);
|
|
7537
7535
|
copyProps(Buffer3, SafeBuffer);
|
|
7538
7536
|
SafeBuffer.from = function(arg, encodingOrOffset, length2) {
|
|
7539
7537
|
if (typeof arg === "number") {
|
|
@@ -30055,7 +30053,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
30055
30053
|
return;
|
|
30056
30054
|
}
|
|
30057
30055
|
}
|
|
30058
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.16.
|
|
30056
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.16.4") {
|
|
30059
30057
|
const customLocation = "docProps/custom.xml";
|
|
30060
30058
|
if (!docx[customLocation]) {
|
|
30061
30059
|
docx[customLocation] = generateCustomXml();
|
|
@@ -30537,7 +30535,7 @@ function storeSuperdocVersion(docx) {
|
|
|
30537
30535
|
function generateCustomXml() {
|
|
30538
30536
|
return DEFAULT_CUSTOM_XML;
|
|
30539
30537
|
}
|
|
30540
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.16.
|
|
30538
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.16.4") {
|
|
30541
30539
|
return {
|
|
30542
30540
|
type: "element",
|
|
30543
30541
|
name: "property",
|
|
@@ -37158,7 +37156,7 @@ class ViewDesc {
|
|
|
37158
37156
|
if (!(force || brKludge && safari) && isEquivalentPosition(anchorDOM.node, anchorDOM.offset, selRange.anchorNode, selRange.anchorOffset) && isEquivalentPosition(headDOM.node, headDOM.offset, selRange.focusNode, selRange.focusOffset))
|
|
37159
37157
|
return;
|
|
37160
37158
|
let domSelExtended = false;
|
|
37161
|
-
if ((domSel.extend || anchor == head) && !brKludge) {
|
|
37159
|
+
if ((domSel.extend || anchor == head) && !(brKludge && gecko)) {
|
|
37162
37160
|
domSel.collapse(anchorDOM.node, anchorDOM.offset);
|
|
37163
37161
|
try {
|
|
37164
37162
|
if (anchor != head)
|
|
@@ -38312,17 +38310,14 @@ function removeClassOnSelectionChange(view) {
|
|
|
38312
38310
|
});
|
|
38313
38311
|
}
|
|
38314
38312
|
function selectCursorWrapper(view) {
|
|
38315
|
-
let domSel = view.domSelection()
|
|
38313
|
+
let domSel = view.domSelection();
|
|
38316
38314
|
if (!domSel)
|
|
38317
38315
|
return;
|
|
38318
38316
|
let node2 = view.cursorWrapper.dom, img = node2.nodeName == "IMG";
|
|
38319
38317
|
if (img)
|
|
38320
|
-
|
|
38318
|
+
domSel.collapse(node2.parentNode, domIndex(node2) + 1);
|
|
38321
38319
|
else
|
|
38322
|
-
|
|
38323
|
-
range2.collapse(true);
|
|
38324
|
-
domSel.removeAllRanges();
|
|
38325
|
-
domSel.addRange(range2);
|
|
38320
|
+
domSel.collapse(node2, 0);
|
|
38326
38321
|
if (!img && !view.state.selection.visible && ie$1 && ie_version <= 11) {
|
|
38327
38322
|
node2.disabled = true;
|
|
38328
38323
|
node2.disabled = false;
|
|
@@ -38732,13 +38727,18 @@ function parseFromClipboard(view, text, html, plainText, $context) {
|
|
|
38732
38727
|
let dom, slice2;
|
|
38733
38728
|
if (!html && !text)
|
|
38734
38729
|
return null;
|
|
38735
|
-
let asText = text && (plainText || inCode || !html);
|
|
38730
|
+
let asText = !!text && (plainText || inCode || !html);
|
|
38736
38731
|
if (asText) {
|
|
38737
38732
|
view.someProp("transformPastedText", (f) => {
|
|
38738
38733
|
text = f(text, inCode || plainText, view);
|
|
38739
38734
|
});
|
|
38740
|
-
if (inCode)
|
|
38741
|
-
|
|
38735
|
+
if (inCode) {
|
|
38736
|
+
slice2 = new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0);
|
|
38737
|
+
view.someProp("transformPasted", (f) => {
|
|
38738
|
+
slice2 = f(slice2, view, true);
|
|
38739
|
+
});
|
|
38740
|
+
return slice2;
|
|
38741
|
+
}
|
|
38742
38742
|
let parsed = view.someProp("clipboardTextParser", (f) => f(text, $context, plainText, view));
|
|
38743
38743
|
if (parsed) {
|
|
38744
38744
|
slice2 = parsed;
|
|
@@ -38797,7 +38797,7 @@ function parseFromClipboard(view, text, html, plainText, $context) {
|
|
|
38797
38797
|
}
|
|
38798
38798
|
}
|
|
38799
38799
|
view.someProp("transformPasted", (f) => {
|
|
38800
|
-
slice2 = f(slice2, view);
|
|
38800
|
+
slice2 = f(slice2, view, asText);
|
|
38801
38801
|
});
|
|
38802
38802
|
return slice2;
|
|
38803
38803
|
}
|
|
@@ -39551,7 +39551,7 @@ editHandlers.drop = (view, _event) => {
|
|
|
39551
39551
|
let slice2 = dragging && dragging.slice;
|
|
39552
39552
|
if (slice2) {
|
|
39553
39553
|
view.someProp("transformPasted", (f) => {
|
|
39554
|
-
slice2 = f(slice2, view);
|
|
39554
|
+
slice2 = f(slice2, view, false);
|
|
39555
39555
|
});
|
|
39556
39556
|
} else {
|
|
39557
39557
|
slice2 = parseFromClipboard(view, getText(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData("text/html"), false, $mouse);
|
|
@@ -47308,7 +47308,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
47308
47308
|
* @returns {Object | void} Migration results
|
|
47309
47309
|
*/
|
|
47310
47310
|
processCollaborationMigrations() {
|
|
47311
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.16.
|
|
47311
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.16.4");
|
|
47312
47312
|
if (!this.options.ydoc) return;
|
|
47313
47313
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
47314
47314
|
let docVersion = metaMap.get("version");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as global$2, c as createElementBlock, o as openBlock, a as createBaseVNode, r as ref$1, b as createApp, d as computed, F as Fragment$1, e as renderList, n as normalizeClass, w as withModifiers, f as createCommentVNode, t as toDisplayString, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, p as getCurrentInstance, q as onDeactivated, s as nextTick, u as createBlock, v as createVNode, x as unref, y as withCtx, z as createTextVNode, A as normalizeStyle, B as h$1, C as toRef, D as provide, E as mergeProps, G as cloneVNode, T as Text$2, H as withDirectives, I as watchEffect, J as shallowRef, K as vModelText, L as withKeys, M as reactive, N as readonly, O as Transition, P as vShow, Q as Comment, R as renderSlot, S as onActivated, U as Teleport, V as isVNode, W as onUnmounted, X as resolveDynamicComponent, Y as normalizeProps, Z as guardReactiveProps, _ as markRaw } from "./vue-
|
|
1
|
+
import { g as global$2, c as createElementBlock, o as openBlock, a as createBaseVNode, r as ref$1, b as createApp, d as computed, F as Fragment$1, e as renderList, n as normalizeClass, w as withModifiers, f as createCommentVNode, t as toDisplayString, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, p as getCurrentInstance, q as onDeactivated, s as nextTick, u as createBlock, v as createVNode, x as unref, y as withCtx, z as createTextVNode, A as normalizeStyle, B as h$1, C as toRef, D as provide, E as mergeProps, G as cloneVNode, T as Text$2, H as withDirectives, I as watchEffect, J as shallowRef, K as vModelText, L as withKeys, M as reactive, N as readonly, O as Transition, P as vShow, Q as Comment, R as renderSlot, S as onActivated, U as Teleport, V as isVNode, W as onUnmounted, X as resolveDynamicComponent, Y as normalizeProps, Z as guardReactiveProps, _ as markRaw } from "./vue-CXxsqYcP.es.js";
|
|
2
2
|
import * as Y from "yjs";
|
|
3
3
|
import { UndoManager, Item as Item$2, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
|
|
4
4
|
var __defProp$2 = Object.defineProperty;
|
|
@@ -7494,7 +7494,6 @@ function require_stream_duplex() {
|
|
|
7494
7494
|
}
|
|
7495
7495
|
var string_decoder = {};
|
|
7496
7496
|
var safeBuffer = { exports: {} };
|
|
7497
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
7498
7497
|
var hasRequiredSafeBuffer;
|
|
7499
7498
|
function requireSafeBuffer() {
|
|
7500
7499
|
if (hasRequiredSafeBuffer) return safeBuffer.exports;
|
|
@@ -7516,7 +7515,6 @@ function requireSafeBuffer() {
|
|
|
7516
7515
|
function SafeBuffer(arg, encodingOrOffset, length2) {
|
|
7517
7516
|
return Buffer3(arg, encodingOrOffset, length2);
|
|
7518
7517
|
}
|
|
7519
|
-
SafeBuffer.prototype = Object.create(Buffer3.prototype);
|
|
7520
7518
|
copyProps(Buffer3, SafeBuffer);
|
|
7521
7519
|
SafeBuffer.from = function(arg, encodingOrOffset, length2) {
|
|
7522
7520
|
if (typeof arg === "number") {
|
|
@@ -30038,7 +30036,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
30038
30036
|
return;
|
|
30039
30037
|
}
|
|
30040
30038
|
}
|
|
30041
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.16.
|
|
30039
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.16.4") {
|
|
30042
30040
|
const customLocation = "docProps/custom.xml";
|
|
30043
30041
|
if (!docx[customLocation]) {
|
|
30044
30042
|
docx[customLocation] = generateCustomXml();
|
|
@@ -30520,7 +30518,7 @@ function storeSuperdocVersion(docx) {
|
|
|
30520
30518
|
function generateCustomXml() {
|
|
30521
30519
|
return DEFAULT_CUSTOM_XML;
|
|
30522
30520
|
}
|
|
30523
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.16.
|
|
30521
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.16.4") {
|
|
30524
30522
|
return {
|
|
30525
30523
|
type: "element",
|
|
30526
30524
|
name: "property",
|
|
@@ -37141,7 +37139,7 @@ class ViewDesc {
|
|
|
37141
37139
|
if (!(force || brKludge && safari) && isEquivalentPosition(anchorDOM.node, anchorDOM.offset, selRange.anchorNode, selRange.anchorOffset) && isEquivalentPosition(headDOM.node, headDOM.offset, selRange.focusNode, selRange.focusOffset))
|
|
37142
37140
|
return;
|
|
37143
37141
|
let domSelExtended = false;
|
|
37144
|
-
if ((domSel.extend || anchor == head) && !brKludge) {
|
|
37142
|
+
if ((domSel.extend || anchor == head) && !(brKludge && gecko)) {
|
|
37145
37143
|
domSel.collapse(anchorDOM.node, anchorDOM.offset);
|
|
37146
37144
|
try {
|
|
37147
37145
|
if (anchor != head)
|
|
@@ -38295,17 +38293,14 @@ function removeClassOnSelectionChange(view) {
|
|
|
38295
38293
|
});
|
|
38296
38294
|
}
|
|
38297
38295
|
function selectCursorWrapper(view) {
|
|
38298
|
-
let domSel = view.domSelection()
|
|
38296
|
+
let domSel = view.domSelection();
|
|
38299
38297
|
if (!domSel)
|
|
38300
38298
|
return;
|
|
38301
38299
|
let node2 = view.cursorWrapper.dom, img = node2.nodeName == "IMG";
|
|
38302
38300
|
if (img)
|
|
38303
|
-
|
|
38301
|
+
domSel.collapse(node2.parentNode, domIndex(node2) + 1);
|
|
38304
38302
|
else
|
|
38305
|
-
|
|
38306
|
-
range2.collapse(true);
|
|
38307
|
-
domSel.removeAllRanges();
|
|
38308
|
-
domSel.addRange(range2);
|
|
38303
|
+
domSel.collapse(node2, 0);
|
|
38309
38304
|
if (!img && !view.state.selection.visible && ie$1 && ie_version <= 11) {
|
|
38310
38305
|
node2.disabled = true;
|
|
38311
38306
|
node2.disabled = false;
|
|
@@ -38715,13 +38710,18 @@ function parseFromClipboard(view, text, html, plainText, $context) {
|
|
|
38715
38710
|
let dom, slice2;
|
|
38716
38711
|
if (!html && !text)
|
|
38717
38712
|
return null;
|
|
38718
|
-
let asText = text && (plainText || inCode || !html);
|
|
38713
|
+
let asText = !!text && (plainText || inCode || !html);
|
|
38719
38714
|
if (asText) {
|
|
38720
38715
|
view.someProp("transformPastedText", (f) => {
|
|
38721
38716
|
text = f(text, inCode || plainText, view);
|
|
38722
38717
|
});
|
|
38723
|
-
if (inCode)
|
|
38724
|
-
|
|
38718
|
+
if (inCode) {
|
|
38719
|
+
slice2 = new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0);
|
|
38720
|
+
view.someProp("transformPasted", (f) => {
|
|
38721
|
+
slice2 = f(slice2, view, true);
|
|
38722
|
+
});
|
|
38723
|
+
return slice2;
|
|
38724
|
+
}
|
|
38725
38725
|
let parsed = view.someProp("clipboardTextParser", (f) => f(text, $context, plainText, view));
|
|
38726
38726
|
if (parsed) {
|
|
38727
38727
|
slice2 = parsed;
|
|
@@ -38780,7 +38780,7 @@ function parseFromClipboard(view, text, html, plainText, $context) {
|
|
|
38780
38780
|
}
|
|
38781
38781
|
}
|
|
38782
38782
|
view.someProp("transformPasted", (f) => {
|
|
38783
|
-
slice2 = f(slice2, view);
|
|
38783
|
+
slice2 = f(slice2, view, asText);
|
|
38784
38784
|
});
|
|
38785
38785
|
return slice2;
|
|
38786
38786
|
}
|
|
@@ -39534,7 +39534,7 @@ editHandlers.drop = (view, _event) => {
|
|
|
39534
39534
|
let slice2 = dragging && dragging.slice;
|
|
39535
39535
|
if (slice2) {
|
|
39536
39536
|
view.someProp("transformPasted", (f) => {
|
|
39537
|
-
slice2 = f(slice2, view);
|
|
39537
|
+
slice2 = f(slice2, view, false);
|
|
39538
39538
|
});
|
|
39539
39539
|
} else {
|
|
39540
39540
|
slice2 = parseFromClipboard(view, getText(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData("text/html"), false, $mouse);
|
|
@@ -47291,7 +47291,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
47291
47291
|
* @returns {Object | void} Migration results
|
|
47292
47292
|
*/
|
|
47293
47293
|
processCollaborationMigrations() {
|
|
47294
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.16.
|
|
47294
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.16.4");
|
|
47295
47295
|
if (!this.options.ydoc) return;
|
|
47296
47296
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
47297
47297
|
let docVersion = metaMap.get("version");
|
|
@@ -162,11 +162,10 @@ process.umask = function() {
|
|
|
162
162
|
var browserExports = browser.exports;
|
|
163
163
|
const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
|
|
164
164
|
/**
|
|
165
|
-
* @vue/shared v3.5.
|
|
165
|
+
* @vue/shared v3.5.21
|
|
166
166
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
167
167
|
* @license MIT
|
|
168
168
|
**/
|
|
169
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
170
169
|
// @__NO_SIDE_EFFECTS__
|
|
171
170
|
function makeMap(str) {
|
|
172
171
|
const map2 = /* @__PURE__ */ Object.create(null);
|
|
@@ -221,10 +220,10 @@ const cacheStringFunction = (fn) => {
|
|
|
221
220
|
return hit || (cache[str] = fn(str));
|
|
222
221
|
});
|
|
223
222
|
};
|
|
224
|
-
const camelizeRE =
|
|
223
|
+
const camelizeRE = /-\w/g;
|
|
225
224
|
const camelize = cacheStringFunction(
|
|
226
225
|
(str) => {
|
|
227
|
-
return str.replace(camelizeRE, (
|
|
226
|
+
return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
|
|
228
227
|
}
|
|
229
228
|
);
|
|
230
229
|
const hyphenateRE = /\B([A-Z])/g;
|
|
@@ -2057,11 +2056,11 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
2057
2056
|
if (depth <= 0 || !isObject(value) || value["__v_skip"]) {
|
|
2058
2057
|
return value;
|
|
2059
2058
|
}
|
|
2060
|
-
seen = seen || /* @__PURE__ */ new
|
|
2061
|
-
if (seen.
|
|
2059
|
+
seen = seen || /* @__PURE__ */ new Map();
|
|
2060
|
+
if ((seen.get(value) || 0) >= depth) {
|
|
2062
2061
|
return value;
|
|
2063
2062
|
}
|
|
2064
|
-
seen.
|
|
2063
|
+
seen.set(value, depth);
|
|
2065
2064
|
depth--;
|
|
2066
2065
|
if (isRef(value)) {
|
|
2067
2066
|
traverse(value.value, depth, seen);
|
|
@@ -2494,11 +2493,14 @@ function checkRecursiveUpdates(seen, fn) {
|
|
|
2494
2493
|
let isHmrUpdating = false;
|
|
2495
2494
|
const hmrDirtyComponents = /* @__PURE__ */ new Map();
|
|
2496
2495
|
if (!!(process$1.env.NODE_ENV !== "production")) {
|
|
2497
|
-
getGlobalThis()
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2496
|
+
const g = getGlobalThis();
|
|
2497
|
+
if (!g.__VUE_HMR_RUNTIME__) {
|
|
2498
|
+
g.__VUE_HMR_RUNTIME__ = {
|
|
2499
|
+
createRecord: tryWrap(createRecord),
|
|
2500
|
+
rerender: tryWrap(rerender),
|
|
2501
|
+
reload: tryWrap(reload)
|
|
2502
|
+
};
|
|
2503
|
+
}
|
|
2502
2504
|
}
|
|
2503
2505
|
const map = /* @__PURE__ */ new Map();
|
|
2504
2506
|
function registerHMR(instance) {
|
|
@@ -2571,10 +2573,12 @@ function reload(id, newComp) {
|
|
|
2571
2573
|
dirtyInstances.delete(instance);
|
|
2572
2574
|
} else if (instance.parent) {
|
|
2573
2575
|
queueJob(() => {
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2576
|
+
if (!(instance.job.flags & 8)) {
|
|
2577
|
+
isHmrUpdating = true;
|
|
2578
|
+
instance.parent.update();
|
|
2579
|
+
isHmrUpdating = false;
|
|
2580
|
+
dirtyInstances.delete(instance);
|
|
2581
|
+
}
|
|
2578
2582
|
});
|
|
2579
2583
|
} else if (instance.appContext.reload) {
|
|
2580
2584
|
instance.appContext.reload();
|
|
@@ -2684,7 +2688,6 @@ const devtoolsComponentRemoved = (component) => {
|
|
|
2684
2688
|
_devtoolsComponentRemoved(component);
|
|
2685
2689
|
}
|
|
2686
2690
|
};
|
|
2687
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
2688
2691
|
// @__NO_SIDE_EFFECTS__
|
|
2689
2692
|
function createDevtoolsComponentHook(hook) {
|
|
2690
2693
|
return (component) => {
|
|
@@ -3078,26 +3081,34 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }
|
|
|
3078
3081
|
function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, {
|
|
3079
3082
|
o: { nextSibling, parentNode, querySelector, insert, createText }
|
|
3080
3083
|
}, hydrateChildren) {
|
|
3084
|
+
function hydrateDisabledTeleport(node2, vnode2, targetStart, targetAnchor) {
|
|
3085
|
+
vnode2.anchor = hydrateChildren(
|
|
3086
|
+
nextSibling(node2),
|
|
3087
|
+
vnode2,
|
|
3088
|
+
parentNode(node2),
|
|
3089
|
+
parentComponent,
|
|
3090
|
+
parentSuspense,
|
|
3091
|
+
slotScopeIds,
|
|
3092
|
+
optimized
|
|
3093
|
+
);
|
|
3094
|
+
vnode2.targetStart = targetStart;
|
|
3095
|
+
vnode2.targetAnchor = targetAnchor;
|
|
3096
|
+
}
|
|
3081
3097
|
const target = vnode.target = resolveTarget(
|
|
3082
3098
|
vnode.props,
|
|
3083
3099
|
querySelector
|
|
3084
3100
|
);
|
|
3101
|
+
const disabled = isTeleportDisabled(vnode.props);
|
|
3085
3102
|
if (target) {
|
|
3086
|
-
const disabled = isTeleportDisabled(vnode.props);
|
|
3087
3103
|
const targetNode = target._lpa || target.firstChild;
|
|
3088
3104
|
if (vnode.shapeFlag & 16) {
|
|
3089
3105
|
if (disabled) {
|
|
3090
|
-
|
|
3091
|
-
|
|
3106
|
+
hydrateDisabledTeleport(
|
|
3107
|
+
node,
|
|
3092
3108
|
vnode,
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
parentSuspense,
|
|
3096
|
-
slotScopeIds,
|
|
3097
|
-
optimized
|
|
3109
|
+
targetNode,
|
|
3110
|
+
targetNode && nextSibling(targetNode)
|
|
3098
3111
|
);
|
|
3099
|
-
vnode.targetStart = targetNode;
|
|
3100
|
-
vnode.targetAnchor = targetNode && nextSibling(targetNode);
|
|
3101
3112
|
} else {
|
|
3102
3113
|
vnode.anchor = nextSibling(node);
|
|
3103
3114
|
let targetAnchor = targetNode;
|
|
@@ -3128,6 +3139,10 @@ function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScope
|
|
|
3128
3139
|
}
|
|
3129
3140
|
}
|
|
3130
3141
|
updateCssVars(vnode, disabled);
|
|
3142
|
+
} else if (disabled) {
|
|
3143
|
+
if (vnode.shapeFlag & 16) {
|
|
3144
|
+
hydrateDisabledTeleport(node, vnode, node, nextSibling(node));
|
|
3145
|
+
}
|
|
3131
3146
|
}
|
|
3132
3147
|
return vnode.anchor && nextSibling(vnode.anchor);
|
|
3133
3148
|
}
|
|
@@ -3238,7 +3253,7 @@ const BaseTransitionImpl = {
|
|
|
3238
3253
|
setTransitionHooks(innerChild, enterHooks);
|
|
3239
3254
|
}
|
|
3240
3255
|
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
|
3241
|
-
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(
|
|
3256
|
+
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
3242
3257
|
let leavingHooks = resolveTransitionHooks(
|
|
3243
3258
|
oldInnerChild,
|
|
3244
3259
|
rawProps,
|
|
@@ -3518,7 +3533,6 @@ function getTransitionRawChildren(children, keepComment = false, parentKey) {
|
|
|
3518
3533
|
}
|
|
3519
3534
|
return ret;
|
|
3520
3535
|
}
|
|
3521
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
3522
3536
|
// @__NO_SIDE_EFFECTS__
|
|
3523
3537
|
function defineComponent(options, extraOptions) {
|
|
3524
3538
|
return isFunction(options) ? (
|
|
@@ -3531,6 +3545,7 @@ function markAsyncBoundary(instance) {
|
|
|
3531
3545
|
instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0];
|
|
3532
3546
|
}
|
|
3533
3547
|
const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
|
|
3548
|
+
const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
|
3534
3549
|
function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
3535
3550
|
if (isArray(rawRef)) {
|
|
3536
3551
|
rawRef.forEach(
|
|
@@ -3580,6 +3595,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
3580
3595
|
return !!!(process$1.env.NODE_ENV !== "production") || !knownTemplateRefs.has(ref22);
|
|
3581
3596
|
};
|
|
3582
3597
|
if (oldRef != null && oldRef !== ref3) {
|
|
3598
|
+
invalidatePendingSetRef(oldRawRef);
|
|
3583
3599
|
if (isString(oldRef)) {
|
|
3584
3600
|
refs[oldRef] = null;
|
|
3585
3601
|
if (canSetSetupRef(oldRef)) {
|
|
@@ -3637,9 +3653,15 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
3637
3653
|
}
|
|
3638
3654
|
};
|
|
3639
3655
|
if (value) {
|
|
3640
|
-
|
|
3641
|
-
|
|
3656
|
+
const job = () => {
|
|
3657
|
+
doSet();
|
|
3658
|
+
pendingSetRefMap.delete(rawRef);
|
|
3659
|
+
};
|
|
3660
|
+
job.id = -1;
|
|
3661
|
+
pendingSetRefMap.set(rawRef, job);
|
|
3662
|
+
queuePostRenderEffect(job, parentSuspense);
|
|
3642
3663
|
} else {
|
|
3664
|
+
invalidatePendingSetRef(rawRef);
|
|
3643
3665
|
doSet();
|
|
3644
3666
|
}
|
|
3645
3667
|
} else if (!!(process$1.env.NODE_ENV !== "production")) {
|
|
@@ -3647,6 +3669,13 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
3647
3669
|
}
|
|
3648
3670
|
}
|
|
3649
3671
|
}
|
|
3672
|
+
function invalidatePendingSetRef(rawRef) {
|
|
3673
|
+
const pendingSetRef = pendingSetRefMap.get(rawRef);
|
|
3674
|
+
if (pendingSetRef) {
|
|
3675
|
+
pendingSetRef.flags |= 8;
|
|
3676
|
+
pendingSetRefMap.delete(rawRef);
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3650
3679
|
const isComment = (node) => node.nodeType === 8;
|
|
3651
3680
|
getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
3652
3681
|
getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
|
|
@@ -3674,7 +3703,6 @@ function forEachElement(node, cb) {
|
|
|
3674
3703
|
}
|
|
3675
3704
|
}
|
|
3676
3705
|
const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
|
|
3677
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
3678
3706
|
// @__NO_SIDE_EFFECTS__
|
|
3679
3707
|
function defineAsyncComponent(source) {
|
|
3680
3708
|
if (isFunction(source)) {
|
|
@@ -7220,8 +7248,9 @@ function emit(instance, event, ...rawArgs) {
|
|
|
7220
7248
|
);
|
|
7221
7249
|
}
|
|
7222
7250
|
}
|
|
7251
|
+
const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
|
|
7223
7252
|
function normalizeEmitsOptions(comp, appContext, asMixin = false) {
|
|
7224
|
-
const cache = appContext.emitsCache;
|
|
7253
|
+
const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
|
|
7225
7254
|
const cached = cache.get(comp);
|
|
7226
7255
|
if (cached !== void 0) {
|
|
7227
7256
|
return cached;
|
|
@@ -8312,7 +8341,7 @@ function getComponentPublicInstance(instance) {
|
|
|
8312
8341
|
return instance.proxy;
|
|
8313
8342
|
}
|
|
8314
8343
|
}
|
|
8315
|
-
const classifyRE = /(?:^|[-_])
|
|
8344
|
+
const classifyRE = /(?:^|[-_])\w/g;
|
|
8316
8345
|
const classify = (str) => str.replace(classifyRE, (c) => c.toUpperCase()).replace(/[-_]/g, "");
|
|
8317
8346
|
function getComponentName(Component, includeInferred = true) {
|
|
8318
8347
|
return isFunction(Component) ? Component.displayName || Component.name : Component.name || includeInferred && Component.__name;
|
|
@@ -8353,15 +8382,23 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
8353
8382
|
return c;
|
|
8354
8383
|
};
|
|
8355
8384
|
function h(type, propsOrChildren, children) {
|
|
8385
|
+
const doCreateVNode = (type2, props, children2) => {
|
|
8386
|
+
setBlockTracking(-1);
|
|
8387
|
+
try {
|
|
8388
|
+
return createVNode(type2, props, children2);
|
|
8389
|
+
} finally {
|
|
8390
|
+
setBlockTracking(1);
|
|
8391
|
+
}
|
|
8392
|
+
};
|
|
8356
8393
|
const l = arguments.length;
|
|
8357
8394
|
if (l === 2) {
|
|
8358
8395
|
if (isObject(propsOrChildren) && !isArray(propsOrChildren)) {
|
|
8359
8396
|
if (isVNode(propsOrChildren)) {
|
|
8360
|
-
return
|
|
8397
|
+
return doCreateVNode(type, null, [propsOrChildren]);
|
|
8361
8398
|
}
|
|
8362
|
-
return
|
|
8399
|
+
return doCreateVNode(type, propsOrChildren);
|
|
8363
8400
|
} else {
|
|
8364
|
-
return
|
|
8401
|
+
return doCreateVNode(type, null, propsOrChildren);
|
|
8365
8402
|
}
|
|
8366
8403
|
} else {
|
|
8367
8404
|
if (l > 3) {
|
|
@@ -8369,7 +8406,7 @@ function h(type, propsOrChildren, children) {
|
|
|
8369
8406
|
} else if (l === 3 && isVNode(children)) {
|
|
8370
8407
|
children = [children];
|
|
8371
8408
|
}
|
|
8372
|
-
return
|
|
8409
|
+
return doCreateVNode(type, propsOrChildren, children);
|
|
8373
8410
|
}
|
|
8374
8411
|
}
|
|
8375
8412
|
function initCustomFormatter() {
|
|
@@ -8551,7 +8588,7 @@ function initCustomFormatter() {
|
|
|
8551
8588
|
window.devtoolsFormatters = [formatter];
|
|
8552
8589
|
}
|
|
8553
8590
|
}
|
|
8554
|
-
const version = "3.5.
|
|
8591
|
+
const version = "3.5.21";
|
|
8555
8592
|
const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8556
8593
|
!!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
8557
8594
|
!!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
|
|
@@ -8891,7 +8928,7 @@ function getTransitionInfo(el, expectedType) {
|
|
|
8891
8928
|
type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;
|
|
8892
8929
|
propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;
|
|
8893
8930
|
}
|
|
8894
|
-
const hasTransform = type === TRANSITION && /\b(transform|all)(
|
|
8931
|
+
const hasTransform = type === TRANSITION && /\b(?:transform|all)(?:,|$)/.test(
|
|
8895
8932
|
getStyleProperties(`${TRANSITION}Property`).toString()
|
|
8896
8933
|
);
|
|
8897
8934
|
return {
|
|
@@ -8970,7 +9007,7 @@ function setDisplay(el, value) {
|
|
|
8970
9007
|
el[vShowHidden] = !value;
|
|
8971
9008
|
}
|
|
8972
9009
|
const CSS_VAR_TEXT = Symbol(!!(process$1.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
|
|
8973
|
-
const displayRE = /(
|
|
9010
|
+
const displayRE = /(?:^|;)\s*display\s*:/;
|
|
8974
9011
|
function patchStyle(el, prev, next) {
|
|
8975
9012
|
const style = el.style;
|
|
8976
9013
|
const isCssString = isString(next);
|
|
@@ -9332,7 +9369,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
|
9332
9369
|
if (e && e.target !== el) {
|
|
9333
9370
|
return;
|
|
9334
9371
|
}
|
|
9335
|
-
if (!e ||
|
|
9372
|
+
if (!e || e.propertyName.endsWith("transform")) {
|
|
9336
9373
|
el.removeEventListener("transitionend", cb);
|
|
9337
9374
|
el[moveCbKey] = null;
|
|
9338
9375
|
removeTransitionClass(el, moveClass);
|