@harbour-enterprises/superdoc 0.28.3 → 0.28.5
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-DUpLlOgk.es.js → PdfViewer-AB0GJT3F.es.js} +1 -1
- package/dist/chunks/{PdfViewer-QTV3RJM1.cjs → PdfViewer-CRZ7Hh_Z.cjs} +1 -1
- package/dist/chunks/{index-DKtyoTAq.es.js → index-B-LWb6SW.es.js} +3 -3
- package/dist/chunks/{index-CuXB3dyN.cjs → index-CjMfOK2T.cjs} +3 -3
- package/dist/chunks/{index-B3rVM2bJ-BgYPFhrh.cjs → index-CsxQB3Ha-BK7VKq_C.cjs} +1 -1
- package/dist/chunks/{index-B3rVM2bJ-B62R9mgx.es.js → index-CsxQB3Ha-BvrAYbCk.es.js} +1 -1
- package/dist/chunks/{super-editor.es-BKCxu5-_.cjs → super-editor.es-B0-g-Yu6.cjs} +67 -21
- package/dist/chunks/{super-editor.es-BjTZa-cJ.es.js → super-editor.es-D2xi8g4o.es.js} +67 -21
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/images/altText_add.svg +3 -0
- package/dist/images/altText_disclaimer.svg +3 -0
- package/dist/images/altText_done.svg +3 -0
- package/dist/images/altText_spinner.svg +30 -0
- package/dist/images/altText_warning.svg +3 -0
- package/dist/images/annotation-check.svg +11 -0
- package/dist/images/annotation-comment.svg +16 -0
- package/dist/images/annotation-help.svg +26 -0
- package/dist/images/annotation-insert.svg +10 -0
- package/dist/images/annotation-key.svg +11 -0
- package/dist/images/annotation-newparagraph.svg +11 -0
- package/dist/images/annotation-noicon.svg +7 -0
- package/dist/images/annotation-note.svg +42 -0
- package/dist/images/annotation-paperclip.svg +6 -0
- package/dist/images/annotation-paragraph.svg +16 -0
- package/dist/images/annotation-pushpin.svg +7 -0
- package/dist/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/images/cursor-editorFreeText.svg +3 -0
- package/dist/images/cursor-editorInk.svg +4 -0
- package/dist/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/images/editor-toolbar-delete.svg +5 -0
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +3 -0
- package/dist/images/messageBar_warning.svg +3 -0
- package/dist/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-CMtyH2w0.js → converter-Xq_CNQ6-.js} +54 -19
- package/dist/super-editor/chunks/{docx-zipper-Pgf9i5kI.js → docx-zipper-D5oQWM4V.js} +1 -1
- package/dist/super-editor/chunks/{editor-C3KgN3zx.js → editor-ChUZBhy8.js} +15 -4
- package/dist/super-editor/chunks/{index-B3rVM2bJ.js → index-CsxQB3Ha.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-TXkIPPvk.js → toolbar-Z1FPQLN_.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/src/core/super-converter/relationship-helpers.d.ts +2 -0
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +69 -23
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
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-ZWZLQtoU.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-
|
|
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-B-LWb6SW.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
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-CjMfOK2T.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as index, 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-
|
|
1
|
+
import { q as index, 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-D2xi8g4o.es.js";
|
|
2
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-ZWZLQtoU.es.js";
|
|
3
3
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
import { E as EventEmitter } from "./eventemitter3-BWEnUdTY.es.js";
|
|
@@ -17156,7 +17156,7 @@ const _sfc_main = {
|
|
|
17156
17156
|
__name: "SuperDoc",
|
|
17157
17157
|
emits: ["selection-update"],
|
|
17158
17158
|
setup(__props, { emit: __emit }) {
|
|
17159
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17159
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-AB0GJT3F.es.js"));
|
|
17160
17160
|
const superdocStore = useSuperdocStore();
|
|
17161
17161
|
const commentsStore = useCommentsStore();
|
|
17162
17162
|
const {
|
|
@@ -17920,7 +17920,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17920
17920
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17921
17921
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17922
17922
|
this.colorIndex = 0;
|
|
17923
|
-
this.version = "0.28.
|
|
17923
|
+
this.version = "0.28.5";
|
|
17924
17924
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17925
17925
|
this.superdocId = config.superdocId || v4();
|
|
17926
17926
|
this.colors = this.config.colors;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-B0-g-Yu6.cjs");
|
|
3
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
4
|
const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
|
|
5
5
|
const eventemitter3 = require("./eventemitter3-DkXkH2rT.cjs");
|
|
@@ -17173,7 +17173,7 @@ const _sfc_main = {
|
|
|
17173
17173
|
__name: "SuperDoc",
|
|
17174
17174
|
emits: ["selection-update"],
|
|
17175
17175
|
setup(__props, { emit: __emit }) {
|
|
17176
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17176
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-CRZ7Hh_Z.cjs")));
|
|
17177
17177
|
const superdocStore = useSuperdocStore();
|
|
17178
17178
|
const commentsStore = useCommentsStore();
|
|
17179
17179
|
const {
|
|
@@ -17937,7 +17937,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
17937
17937
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17938
17938
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17939
17939
|
this.colorIndex = 0;
|
|
17940
|
-
this.version = "0.28.
|
|
17940
|
+
this.version = "0.28.5";
|
|
17941
17941
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17942
17942
|
this.superdocId = config.superdocId || uuid.v4();
|
|
17943
17943
|
this.colors = this.config.colors;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./super-editor.es-
|
|
3
|
+
const superEditor_es = require("./super-editor.es-B0-g-Yu6.cjs");
|
|
4
4
|
const indexCvBqQJbG = require("./index-CvBqQJbG-Dwm0THD7.cjs");
|
|
5
5
|
function bail(error) {
|
|
6
6
|
if (error) {
|
|
@@ -28803,7 +28803,16 @@ const translateImageNode = (params2) => {
|
|
|
28803
28803
|
const { width: w2, height: h2 } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
|
|
28804
28804
|
if (w2 && h2) size2 = { w: w2, h: h2 };
|
|
28805
28805
|
}
|
|
28806
|
-
if (
|
|
28806
|
+
if (imageId) {
|
|
28807
|
+
const docx = params2.converter?.convertedXml || {};
|
|
28808
|
+
const rels = docx["word/_rels/document.xml.rels"];
|
|
28809
|
+
const relsTag = rels?.elements?.find((el) => el.name === "Relationships");
|
|
28810
|
+
const hasRelation = relsTag?.elements.find((el) => el.attributes.Id === imageId);
|
|
28811
|
+
const path = src?.split("word/")[1];
|
|
28812
|
+
if (!hasRelation) {
|
|
28813
|
+
addImageRelationshipForId(params2, imageId, path);
|
|
28814
|
+
}
|
|
28815
|
+
} else if (params2.node.type === "image" && !imageId) {
|
|
28807
28816
|
const path = src?.split("word/")[1];
|
|
28808
28817
|
imageId = addNewImageRelationship(params2, path);
|
|
28809
28818
|
} else if (params2.node.type === "fieldAnnotation" && !imageId) {
|
|
@@ -29027,6 +29036,18 @@ function addNewImageRelationship(params2, imagePath) {
|
|
|
29027
29036
|
params2.relationships.push(newRel);
|
|
29028
29037
|
return newId;
|
|
29029
29038
|
}
|
|
29039
|
+
function addImageRelationshipForId(params2, id, imagePath) {
|
|
29040
|
+
const newRel = {
|
|
29041
|
+
type: "element",
|
|
29042
|
+
name: "Relationship",
|
|
29043
|
+
attributes: {
|
|
29044
|
+
Id: id,
|
|
29045
|
+
Type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
|
|
29046
|
+
Target: imagePath
|
|
29047
|
+
}
|
|
29048
|
+
};
|
|
29049
|
+
params2.relationships.push(newRel);
|
|
29050
|
+
}
|
|
29030
29051
|
function translateVectorShape(params2) {
|
|
29031
29052
|
const { node } = params2;
|
|
29032
29053
|
const { drawingContent } = node.attrs;
|
|
@@ -35316,6 +35337,36 @@ const prepareCommentsXmlFilesForExport = ({ convertedXml, defs, commentsWithPara
|
|
|
35316
35337
|
};
|
|
35317
35338
|
const HYPERLINK_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
|
|
35318
35339
|
const HEADER_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header";
|
|
35340
|
+
const FOOTER_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer";
|
|
35341
|
+
const REL_ID_NUMERIC_PATTERN = /rId|mi/g;
|
|
35342
|
+
const getLargestRelationshipId = (relationships = []) => {
|
|
35343
|
+
const numericIds = relationships.map((rel) => Number(String(rel?.attributes?.Id ?? "").replace(REL_ID_NUMERIC_PATTERN, ""))).filter((value) => Number.isFinite(value));
|
|
35344
|
+
return numericIds.length ? Math.max(...numericIds) : 0;
|
|
35345
|
+
};
|
|
35346
|
+
const mergeRelationshipElements = (existingRelationships = [], newRelationships = []) => {
|
|
35347
|
+
if (!newRelationships?.length) return existingRelationships;
|
|
35348
|
+
let largestId = getLargestRelationshipId(existingRelationships);
|
|
35349
|
+
const seenIds = new Set(existingRelationships.map((rel) => rel?.attributes?.Id).filter(Boolean));
|
|
35350
|
+
const additions = [];
|
|
35351
|
+
newRelationships.forEach((rel) => {
|
|
35352
|
+
if (!rel?.attributes) return;
|
|
35353
|
+
const attributes = rel.attributes;
|
|
35354
|
+
const currentId = attributes.Id || "";
|
|
35355
|
+
attributes.Target = attributes?.Target?.replace(/&/g, "&");
|
|
35356
|
+
const existingTarget = existingRelationships.find((el) => el.attributes.Target === attributes.Target);
|
|
35357
|
+
attributes.Target?.startsWith("media/");
|
|
35358
|
+
const isNewHyperlink = attributes.Type === HYPERLINK_RELATIONSHIP_TYPE && currentId.length > 6;
|
|
35359
|
+
const isNewHeadFoot = (attributes.Type === HEADER_RELATIONSHIP_TYPE || attributes.Type === FOOTER_RELATIONSHIP_TYPE) && currentId.length > 6;
|
|
35360
|
+
const hasSeenId = currentId && seenIds.has(currentId);
|
|
35361
|
+
if (!isNewHyperlink && !isNewHeadFoot && existingTarget) return;
|
|
35362
|
+
if (!currentId || hasSeenId) {
|
|
35363
|
+
attributes.Id = `rId${++largestId}`;
|
|
35364
|
+
}
|
|
35365
|
+
seenIds.add(attributes.Id);
|
|
35366
|
+
additions.push(rel);
|
|
35367
|
+
});
|
|
35368
|
+
return additions.length ? [...existingRelationships, ...additions] : existingRelationships;
|
|
35369
|
+
};
|
|
35319
35370
|
const FONT_FAMILY_FALLBACKS = Object.freeze({
|
|
35320
35371
|
swiss: "Arial, sans-serif",
|
|
35321
35372
|
roman: "Times New Roman, serif",
|
|
@@ -35524,7 +35575,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
35524
35575
|
static getStoredSuperdocVersion(docx) {
|
|
35525
35576
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
35526
35577
|
}
|
|
35527
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.28.
|
|
35578
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.28.5") {
|
|
35528
35579
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
35529
35580
|
}
|
|
35530
35581
|
/**
|
|
@@ -36030,23 +36081,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
|
|
|
36030
36081
|
exportProcessNewRelationships_fn = function(rels = []) {
|
|
36031
36082
|
const relsData = this.convertedXml["word/_rels/document.xml.rels"];
|
|
36032
36083
|
const relationships = relsData.elements.find((x) => x.name === "Relationships");
|
|
36033
|
-
|
|
36034
|
-
const regex = /rId|mi/g;
|
|
36035
|
-
let largestId = Math.max(...relationships.elements.map((el) => Number(el.attributes.Id.replace(regex, ""))));
|
|
36036
|
-
rels.forEach((rel) => {
|
|
36037
|
-
const existingId = rel.attributes.Id;
|
|
36038
|
-
const existingTarget = relationships.elements.find((el) => el.attributes.Target === rel.attributes.Target);
|
|
36039
|
-
const isNewMedia = rel.attributes.Target?.startsWith("media/") && existingId.length > 6;
|
|
36040
|
-
const isNewHyperlink = rel.attributes.Type === HYPERLINK_RELATIONSHIP_TYPE && existingId.length > 6;
|
|
36041
|
-
const isNewHeadFoot = rel.attributes.Type === HEADER_RELATIONSHIP_TYPE && existingId.length > 6;
|
|
36042
|
-
if (existingTarget && !isNewMedia && !isNewHyperlink && !isNewHeadFoot) {
|
|
36043
|
-
return;
|
|
36044
|
-
}
|
|
36045
|
-
rel.attributes.Target = rel.attributes?.Target?.replace(/&/g, "&");
|
|
36046
|
-
rel.attributes.Id = existingId.length > 6 ? existingId : `rId${++largestId}`;
|
|
36047
|
-
newRels.push(rel);
|
|
36048
|
-
});
|
|
36049
|
-
relationships.elements = [...relationships.elements, ...newRels];
|
|
36084
|
+
relationships.elements = mergeRelationshipElements(relationships.elements, rels);
|
|
36050
36085
|
};
|
|
36051
36086
|
exportProcessMediaFiles_fn = async function(media = {}) {
|
|
36052
36087
|
const processedData = {
|
|
@@ -50366,6 +50401,7 @@ const getHighlightColor = ({ activeThreadId, threadId, isInternal, editor }) =>
|
|
|
50366
50401
|
const updateYdocDocxData = async (editor, ydoc) => {
|
|
50367
50402
|
ydoc = ydoc || editor.options.ydoc;
|
|
50368
50403
|
if (!ydoc) return;
|
|
50404
|
+
if (!editor || editor.isDestroyed) return;
|
|
50369
50405
|
const metaMap = ydoc.getMap("meta");
|
|
50370
50406
|
const docxValue = metaMap.get("docx");
|
|
50371
50407
|
let docx = [];
|
|
@@ -51857,6 +51893,16 @@ const Collaboration = Extension.create({
|
|
|
51857
51893
|
});
|
|
51858
51894
|
});
|
|
51859
51895
|
return [syncPlugin];
|
|
51896
|
+
},
|
|
51897
|
+
addCommands() {
|
|
51898
|
+
return {
|
|
51899
|
+
addImageToCollaboration: ({ mediaPath, fileData }) => () => {
|
|
51900
|
+
if (!this.options.ydoc || !mediaPath || !fileData) return false;
|
|
51901
|
+
const mediaMap = this.options.ydoc.getMap("media");
|
|
51902
|
+
mediaMap.set(mediaPath, fileData);
|
|
51903
|
+
return true;
|
|
51904
|
+
}
|
|
51905
|
+
};
|
|
51860
51906
|
}
|
|
51861
51907
|
});
|
|
51862
51908
|
const createSyncPlugin = (ydoc, editor) => {
|
|
@@ -53709,7 +53755,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
53709
53755
|
{ default: remarkStringify },
|
|
53710
53756
|
{ default: remarkGfm }
|
|
53711
53757
|
] = await Promise.all([
|
|
53712
|
-
Promise.resolve().then(() => require("./index-
|
|
53758
|
+
Promise.resolve().then(() => require("./index-CsxQB3Ha-BK7VKq_C.cjs")),
|
|
53713
53759
|
Promise.resolve().then(() => require("./index-DRCvimau-H4Ck3S9a.cjs")),
|
|
53714
53760
|
Promise.resolve().then(() => require("./index-C_x_N6Uh-Db3CUJMX.cjs")),
|
|
53715
53761
|
Promise.resolve().then(() => require("./index-D_sWOSiG-BtDZzJ6I.cjs")),
|
|
@@ -53927,7 +53973,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
53927
53973
|
* @returns {Object | void} Migration results
|
|
53928
53974
|
*/
|
|
53929
53975
|
processCollaborationMigrations() {
|
|
53930
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.28.
|
|
53976
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.28.5");
|
|
53931
53977
|
if (!this.options.ydoc) return;
|
|
53932
53978
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
53933
53979
|
let docVersion = metaMap.get("version");
|
|
@@ -28786,7 +28786,16 @@ const translateImageNode = (params2) => {
|
|
|
28786
28786
|
const { width: w2, height: h2 } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
|
|
28787
28787
|
if (w2 && h2) size2 = { w: w2, h: h2 };
|
|
28788
28788
|
}
|
|
28789
|
-
if (
|
|
28789
|
+
if (imageId) {
|
|
28790
|
+
const docx = params2.converter?.convertedXml || {};
|
|
28791
|
+
const rels = docx["word/_rels/document.xml.rels"];
|
|
28792
|
+
const relsTag = rels?.elements?.find((el) => el.name === "Relationships");
|
|
28793
|
+
const hasRelation = relsTag?.elements.find((el) => el.attributes.Id === imageId);
|
|
28794
|
+
const path = src?.split("word/")[1];
|
|
28795
|
+
if (!hasRelation) {
|
|
28796
|
+
addImageRelationshipForId(params2, imageId, path);
|
|
28797
|
+
}
|
|
28798
|
+
} else if (params2.node.type === "image" && !imageId) {
|
|
28790
28799
|
const path = src?.split("word/")[1];
|
|
28791
28800
|
imageId = addNewImageRelationship(params2, path);
|
|
28792
28801
|
} else if (params2.node.type === "fieldAnnotation" && !imageId) {
|
|
@@ -29010,6 +29019,18 @@ function addNewImageRelationship(params2, imagePath) {
|
|
|
29010
29019
|
params2.relationships.push(newRel);
|
|
29011
29020
|
return newId;
|
|
29012
29021
|
}
|
|
29022
|
+
function addImageRelationshipForId(params2, id, imagePath) {
|
|
29023
|
+
const newRel = {
|
|
29024
|
+
type: "element",
|
|
29025
|
+
name: "Relationship",
|
|
29026
|
+
attributes: {
|
|
29027
|
+
Id: id,
|
|
29028
|
+
Type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
|
|
29029
|
+
Target: imagePath
|
|
29030
|
+
}
|
|
29031
|
+
};
|
|
29032
|
+
params2.relationships.push(newRel);
|
|
29033
|
+
}
|
|
29013
29034
|
function translateVectorShape(params2) {
|
|
29014
29035
|
const { node } = params2;
|
|
29015
29036
|
const { drawingContent } = node.attrs;
|
|
@@ -35299,6 +35320,36 @@ const prepareCommentsXmlFilesForExport = ({ convertedXml, defs, commentsWithPara
|
|
|
35299
35320
|
};
|
|
35300
35321
|
const HYPERLINK_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
|
|
35301
35322
|
const HEADER_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header";
|
|
35323
|
+
const FOOTER_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer";
|
|
35324
|
+
const REL_ID_NUMERIC_PATTERN = /rId|mi/g;
|
|
35325
|
+
const getLargestRelationshipId = (relationships = []) => {
|
|
35326
|
+
const numericIds = relationships.map((rel) => Number(String(rel?.attributes?.Id ?? "").replace(REL_ID_NUMERIC_PATTERN, ""))).filter((value) => Number.isFinite(value));
|
|
35327
|
+
return numericIds.length ? Math.max(...numericIds) : 0;
|
|
35328
|
+
};
|
|
35329
|
+
const mergeRelationshipElements = (existingRelationships = [], newRelationships = []) => {
|
|
35330
|
+
if (!newRelationships?.length) return existingRelationships;
|
|
35331
|
+
let largestId = getLargestRelationshipId(existingRelationships);
|
|
35332
|
+
const seenIds = new Set(existingRelationships.map((rel) => rel?.attributes?.Id).filter(Boolean));
|
|
35333
|
+
const additions = [];
|
|
35334
|
+
newRelationships.forEach((rel) => {
|
|
35335
|
+
if (!rel?.attributes) return;
|
|
35336
|
+
const attributes = rel.attributes;
|
|
35337
|
+
const currentId = attributes.Id || "";
|
|
35338
|
+
attributes.Target = attributes?.Target?.replace(/&/g, "&");
|
|
35339
|
+
const existingTarget = existingRelationships.find((el) => el.attributes.Target === attributes.Target);
|
|
35340
|
+
attributes.Target?.startsWith("media/");
|
|
35341
|
+
const isNewHyperlink = attributes.Type === HYPERLINK_RELATIONSHIP_TYPE && currentId.length > 6;
|
|
35342
|
+
const isNewHeadFoot = (attributes.Type === HEADER_RELATIONSHIP_TYPE || attributes.Type === FOOTER_RELATIONSHIP_TYPE) && currentId.length > 6;
|
|
35343
|
+
const hasSeenId = currentId && seenIds.has(currentId);
|
|
35344
|
+
if (!isNewHyperlink && !isNewHeadFoot && existingTarget) return;
|
|
35345
|
+
if (!currentId || hasSeenId) {
|
|
35346
|
+
attributes.Id = `rId${++largestId}`;
|
|
35347
|
+
}
|
|
35348
|
+
seenIds.add(attributes.Id);
|
|
35349
|
+
additions.push(rel);
|
|
35350
|
+
});
|
|
35351
|
+
return additions.length ? [...existingRelationships, ...additions] : existingRelationships;
|
|
35352
|
+
};
|
|
35302
35353
|
const FONT_FAMILY_FALLBACKS = Object.freeze({
|
|
35303
35354
|
swiss: "Arial, sans-serif",
|
|
35304
35355
|
roman: "Times New Roman, serif",
|
|
@@ -35507,7 +35558,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
35507
35558
|
static getStoredSuperdocVersion(docx) {
|
|
35508
35559
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
35509
35560
|
}
|
|
35510
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.28.
|
|
35561
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.28.5") {
|
|
35511
35562
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
35512
35563
|
}
|
|
35513
35564
|
/**
|
|
@@ -36013,23 +36064,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
|
|
|
36013
36064
|
exportProcessNewRelationships_fn = function(rels = []) {
|
|
36014
36065
|
const relsData = this.convertedXml["word/_rels/document.xml.rels"];
|
|
36015
36066
|
const relationships = relsData.elements.find((x) => x.name === "Relationships");
|
|
36016
|
-
|
|
36017
|
-
const regex = /rId|mi/g;
|
|
36018
|
-
let largestId = Math.max(...relationships.elements.map((el) => Number(el.attributes.Id.replace(regex, ""))));
|
|
36019
|
-
rels.forEach((rel) => {
|
|
36020
|
-
const existingId = rel.attributes.Id;
|
|
36021
|
-
const existingTarget = relationships.elements.find((el) => el.attributes.Target === rel.attributes.Target);
|
|
36022
|
-
const isNewMedia = rel.attributes.Target?.startsWith("media/") && existingId.length > 6;
|
|
36023
|
-
const isNewHyperlink = rel.attributes.Type === HYPERLINK_RELATIONSHIP_TYPE && existingId.length > 6;
|
|
36024
|
-
const isNewHeadFoot = rel.attributes.Type === HEADER_RELATIONSHIP_TYPE && existingId.length > 6;
|
|
36025
|
-
if (existingTarget && !isNewMedia && !isNewHyperlink && !isNewHeadFoot) {
|
|
36026
|
-
return;
|
|
36027
|
-
}
|
|
36028
|
-
rel.attributes.Target = rel.attributes?.Target?.replace(/&/g, "&");
|
|
36029
|
-
rel.attributes.Id = existingId.length > 6 ? existingId : `rId${++largestId}`;
|
|
36030
|
-
newRels.push(rel);
|
|
36031
|
-
});
|
|
36032
|
-
relationships.elements = [...relationships.elements, ...newRels];
|
|
36067
|
+
relationships.elements = mergeRelationshipElements(relationships.elements, rels);
|
|
36033
36068
|
};
|
|
36034
36069
|
exportProcessMediaFiles_fn = async function(media = {}) {
|
|
36035
36070
|
const processedData = {
|
|
@@ -50349,6 +50384,7 @@ const getHighlightColor = ({ activeThreadId, threadId, isInternal, editor }) =>
|
|
|
50349
50384
|
const updateYdocDocxData = async (editor, ydoc) => {
|
|
50350
50385
|
ydoc = ydoc || editor.options.ydoc;
|
|
50351
50386
|
if (!ydoc) return;
|
|
50387
|
+
if (!editor || editor.isDestroyed) return;
|
|
50352
50388
|
const metaMap = ydoc.getMap("meta");
|
|
50353
50389
|
const docxValue = metaMap.get("docx");
|
|
50354
50390
|
let docx = [];
|
|
@@ -51840,6 +51876,16 @@ const Collaboration = Extension.create({
|
|
|
51840
51876
|
});
|
|
51841
51877
|
});
|
|
51842
51878
|
return [syncPlugin];
|
|
51879
|
+
},
|
|
51880
|
+
addCommands() {
|
|
51881
|
+
return {
|
|
51882
|
+
addImageToCollaboration: ({ mediaPath, fileData }) => () => {
|
|
51883
|
+
if (!this.options.ydoc || !mediaPath || !fileData) return false;
|
|
51884
|
+
const mediaMap = this.options.ydoc.getMap("media");
|
|
51885
|
+
mediaMap.set(mediaPath, fileData);
|
|
51886
|
+
return true;
|
|
51887
|
+
}
|
|
51888
|
+
};
|
|
51843
51889
|
}
|
|
51844
51890
|
});
|
|
51845
51891
|
const createSyncPlugin = (ydoc, editor) => {
|
|
@@ -53692,7 +53738,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
53692
53738
|
{ default: remarkStringify },
|
|
53693
53739
|
{ default: remarkGfm }
|
|
53694
53740
|
] = await Promise.all([
|
|
53695
|
-
import("./index-
|
|
53741
|
+
import("./index-CsxQB3Ha-BvrAYbCk.es.js"),
|
|
53696
53742
|
import("./index-DRCvimau-Cw339678.es.js"),
|
|
53697
53743
|
import("./index-C_x_N6Uh-DJn8hIEt.es.js"),
|
|
53698
53744
|
import("./index-D_sWOSiG-DE96TaT5.es.js"),
|
|
@@ -53910,7 +53956,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
53910
53956
|
* @returns {Object | void} Migration results
|
|
53911
53957
|
*/
|
|
53912
53958
|
processCollaborationMigrations() {
|
|
53913
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.28.
|
|
53959
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.28.5");
|
|
53914
53960
|
if (!this.options.ydoc) return;
|
|
53915
53961
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
53916
53962
|
let docVersion = metaMap.get("version");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.js"],"names":[],"mappings":";;;;;;;UAEc,MAAM;;;;WACN,MAAM;;;;YACN,MAAM,GAAG,IAAI;;;;;;;;;cAKb,OAAO;;;;iBACP,MAAM;;;;eACN,MAAM;;;;sBACN,MAAM;;;;;;SAKN,MAAM;;;;UACN,MAAM;;;;WACN,IAAI,GAAG,IAAI,GAAG,IAAI;;;;WAClB,MAAM;;;;UACN,MAAM;;;;gBACN,OAAO;;;;WACP,OAAO,KAAK,EAAE,GAAG;;;;eACjB,OAAO,sBAAsB,EAAE,kBAAkB;;;;;;eAM5D;QAQqC,kBAAkB,GAR5C,CAAC,MAAM,EAAE;YAClB,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,UAAU,CAAC,EAAE,OAAO,CAAC;YACrB,OAAO,CAAC,EAAE,MAAS,IAAI,CAAC;YACxB,aAAa,CAAC,EAAE,MAAS,IAAI,CAAC;YAC9B,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;YAC1B,QAAQ,CAA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;;wBACP,CAAS,IAAI,EAAJ,IAAI,KAAG,OAAO,CAAC,MAAM,CAAC;;;;eAC/B,IAAI;;;;aACJ,OAAO;;;;gCACP,OAAO;;;;;;;;yBAEP,OAAO;;;;WACP,MAAM;;;;eACN,MAAM;;;;cACN,OAAO"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.375 7.625V11.875C5.375 12.0408 5.44085 12.1997 5.55806 12.3169C5.67527 12.4342 5.83424 12.5 6 12.5C6.16576 12.5 6.32473 12.4342 6.44194 12.3169C6.55915 12.1997 6.625 12.0408 6.625 11.875V7.625L7.125 7.125H11.375C11.5408 7.125 11.6997 7.05915 11.8169 6.94194C11.9342 6.82473 12 6.66576 12 6.5C12 6.33424 11.9342 6.17527 11.8169 6.05806C11.6997 5.94085 11.5408 5.875 11.375 5.875H7.125L6.625 5.375V1.125C6.625 0.95924 6.55915 0.800269 6.44194 0.683058C6.32473 0.565848 6.16576 0.5 6 0.5C5.83424 0.5 5.67527 0.565848 5.55806 0.683058C5.44085 0.800269 5.375 0.95924 5.375 1.125V5.375L4.875 5.875H0.625C0.45924 5.875 0.300269 5.94085 0.183058 6.05806C0.065848 6.17527 0 6.33424 0 6.5C0 6.66576 0.065848 6.82473 0.183058 6.94194C0.300269 7.05915 0.45924 7.125 0.625 7.125H4.762L5.375 7.625Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.49073 1.3015L3.30873 2.1505C3.29349 2.22246 3.25769 2.28844 3.20568 2.34045C3.15368 2.39246 3.08769 2.42826 3.01573 2.4435L2.16673 2.6255C1.76473 2.7125 1.76473 3.2865 2.16673 3.3725L3.01573 3.5555C3.08769 3.57074 3.15368 3.60654 3.20568 3.65855C3.25769 3.71056 3.29349 3.77654 3.30873 3.8485L3.49073 4.6975C3.57773 5.0995 4.15173 5.0995 4.23773 4.6975L4.42073 3.8485C4.43598 3.77654 4.47177 3.71056 4.52378 3.65855C4.57579 3.60654 4.64178 3.57074 4.71373 3.5555L5.56173 3.3725C5.96373 3.2855 5.96373 2.7115 5.56173 2.6255L4.71273 2.4435C4.64083 2.42814 4.57491 2.3923 4.52292 2.34031C4.47093 2.28832 4.43509 2.2224 4.41973 2.1505L4.23773 1.3015C4.15073 0.8995 3.57673 0.8995 3.49073 1.3015ZM10.8647 13.9995C10.4853 14.0056 10.1158 13.8782 9.82067 13.6397C9.52553 13.4013 9.32347 13.0667 9.24973 12.6945L8.89273 11.0275C8.83676 10.7687 8.70738 10.5316 8.52009 10.3445C8.3328 10.1574 8.09554 10.0282 7.83673 9.9725L6.16973 9.6155C5.38873 9.4465 4.86473 8.7975 4.86473 7.9995C4.86473 7.2015 5.38873 6.5525 6.16973 6.3845L7.83673 6.0275C8.09551 5.97135 8.33267 5.84193 8.51992 5.65468C8.70716 5.46744 8.83658 5.23028 8.89273 4.9715L9.25073 3.3045C9.41773 2.5235 10.0667 1.9995 10.8647 1.9995C11.6627 1.9995 12.3117 2.5235 12.4797 3.3045L12.8367 4.9715C12.9507 5.4995 13.3647 5.9135 13.8927 6.0265L15.5597 6.3835C16.3407 6.5525 16.8647 7.2015 16.8647 7.9995C16.8647 8.7975 16.3407 9.4465 15.5597 9.6145L13.8927 9.9715C13.6337 10.0275 13.3963 10.157 13.209 10.3445C13.0217 10.5319 12.8925 10.7694 12.8367 11.0285L12.4787 12.6945C12.4054 13.0667 12.2036 13.4014 11.9086 13.6399C11.6135 13.8784 11.2441 14.0057 10.8647 13.9995ZM10.8647 3.2495C10.7667 3.2495 10.5337 3.2795 10.4727 3.5655L10.1147 5.2335C10.0081 5.72777 9.76116 6.18082 9.40361 6.53837C9.04606 6.89593 8.59301 7.14283 8.09873 7.2495L6.43173 7.6065C6.14573 7.6685 6.11473 7.9015 6.11473 7.9995C6.11473 8.0975 6.14573 8.3305 6.43173 8.3925L8.09873 8.7495C8.59301 8.85617 9.04606 9.10307 9.40361 9.46062C9.76116 9.81817 10.0081 10.2712 10.1147 10.7655L10.4727 12.4335C10.5337 12.7195 10.7667 12.7495 10.8647 12.7495C10.9627 12.7495 11.1957 12.7195 11.2567 12.4335L11.6147 10.7665C11.7212 10.272 11.9681 9.81878 12.3256 9.46103C12.6832 9.10329 13.1363 8.85624 13.6307 8.7495L15.2977 8.3925C15.5837 8.3305 15.6147 8.0975 15.6147 7.9995C15.6147 7.9015 15.5837 7.6685 15.2977 7.6065L13.6307 7.2495C13.1365 7.14283 12.6834 6.89593 12.3259 6.53837C11.9683 6.18082 11.7214 5.72777 11.6147 5.2335L11.2567 3.5655C11.1957 3.2795 10.9627 3.2495 10.8647 3.2495ZM3.30873 12.1505L3.49073 11.3015C3.57673 10.8995 4.15073 10.8995 4.23773 11.3015L4.41973 12.1505C4.43509 12.2224 4.47093 12.2883 4.52292 12.3403C4.57491 12.3923 4.64083 12.4281 4.71273 12.4435L5.56173 12.6255C5.96373 12.7115 5.96373 13.2855 5.56173 13.3725L4.71273 13.5545C4.64083 13.5699 4.57491 13.6057 4.52292 13.6577C4.47093 13.7097 4.43509 13.7756 4.41973 13.8475L4.23773 14.6965C4.15173 15.0985 3.57773 15.0985 3.49073 14.6965L3.30873 13.8475C3.29337 13.7756 3.25754 13.7097 3.20555 13.6577C3.15356 13.6057 3.08764 13.5699 3.01573 13.5545L2.16673 13.3725C1.76473 13.2865 1.76473 12.7125 2.16673 12.6255L3.01573 12.4435C3.08769 12.4283 3.15368 12.3925 3.20568 12.3405C3.25769 12.2884 3.29349 12.2225 3.30873 12.1505Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6 0.5C5.21207 0.5 4.43185 0.655195 3.7039 0.956723C2.97595 1.25825 2.31451 1.70021 1.75736 2.25736C1.20021 2.81451 0.758251 3.47595 0.456723 4.2039C0.155195 4.93185 0 5.71207 0 6.5C0 7.28793 0.155195 8.06815 0.456723 8.7961C0.758251 9.52405 1.20021 10.1855 1.75736 10.7426C2.31451 11.2998 2.97595 11.7417 3.7039 12.0433C4.43185 12.3448 5.21207 12.5 6 12.5C7.5913 12.5 9.11742 11.8679 10.2426 10.7426C11.3679 9.61742 12 8.0913 12 6.5C12 4.9087 11.3679 3.38258 10.2426 2.25736C9.11742 1.13214 7.5913 0.5 6 0.5ZM5.06 8.9L2.9464 6.7856C2.85273 6.69171 2.80018 6.56446 2.80033 6.43183C2.80048 6.29921 2.85331 6.17207 2.9472 6.0784C3.04109 5.98473 3.16834 5.93218 3.30097 5.93233C3.43359 5.93248 3.56073 5.98531 3.6544 6.0792L5.3112 7.7368L8.3464 4.7008C8.44109 4.6109 8.56715 4.56153 8.69771 4.56322C8.82827 4.56492 8.95301 4.61754 9.04534 4.70986C9.13766 4.80219 9.19028 4.92693 9.19198 5.05749C9.19367 5.18805 9.1443 5.31411 9.0544 5.4088L5.5624 8.9H5.06Z" fill="#FBFBFE"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
|
|
5
|
+
<style>
|
|
6
|
+
@media not (prefers-reduced-motion) {
|
|
7
|
+
@keyframes loadingRotate {
|
|
8
|
+
from { rotate: 0; } to { rotate: 360deg }
|
|
9
|
+
}
|
|
10
|
+
#circle-arrows {
|
|
11
|
+
animation: loadingRotate 1.8s linear infinite;
|
|
12
|
+
transform-origin: 50% 50%;
|
|
13
|
+
}
|
|
14
|
+
#hourglass {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (prefers-reduced-motion) {
|
|
20
|
+
#circle-arrows {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
</style>
|
|
25
|
+
<path id="circle-arrows" d="M9 5.528c0 .42.508.63.804.333l2.528-2.528a.47.47 0 0 0 0-.666L9.805.14A.471.471 0 0 0 9 .472v1.866A5.756 5.756 0 0 0 2.25 8c0 .942.232 1.83.635 2.615l1.143-1.143A4.208 4.208 0 0 1 3.75 8 4.254 4.254 0 0 1 8 3.75c.345 0 .68.042 1 .122v1.656zM7 10.472v1.656c.32.08.655.122 1 .122A4.254 4.254 0 0 0 12.25 8c0-.52-.107-1.013-.279-1.474l1.143-1.143c.404.786.636 1.674.636 2.617A5.756 5.756 0 0 1 7 13.662v1.866a.47.47 0 0 1-.804.333l-2.528-2.528a.47.47 0 0 1 0-.666l2.528-2.528a.47.47 0 0 1 .804.333z"/>
|
|
26
|
+
<g id="hourglass">
|
|
27
|
+
<path d="M13,1 C13.5522847,1 14,1.44771525 14,2 C14,2.55228475 13.5522847,3 13,3 L12.9854217,2.99990801 C12.9950817,3.16495885 13,3.33173274 13,3.5 C13,5.24679885 10.9877318,6.01090495 10.9877318,8.0017538 C10.9877318,9.99260264 13,10.7536922 13,12.5 C13,12.6686079 12.9950617,12.8357163 12.985363,13.0010943 L13,13 C13.5522847,13 14,13.4477153 14,14 C14,14.5522847 13.5522847,15 13,15 L3,15 C2.44771525,15 2,14.5522847 2,14 C2,13.4477153 2.44771525,13 3,13 L3.01463704,13.0010943 C3.00493827,12.8357163 3,12.6686079 3,12.5 C3,10.7536922 4.9877318,9.99260264 5,8.0017538 C5.0122682,6.01090495 3,5.24679885 3,3.5 C3,3.33173274 3.00491834,3.16495885 3.01457832,2.99990801 L3,3 C2.44771525,3 2,2.55228475 2,2 C2,1.44771525 2.44771525,1 3,1 L13,1 Z M10.987,3 L5.012,3 L5.00308914,3.24815712 C5.00103707,3.33163368 5,3.4155948 5,3.5 C5,5.36125069 6.99153646,6.01774089 6.99153646,8.0017538 C6.99153646,9.98576671 5,10.6393737 5,12.5 L5.00307746,12.7513676 L5.01222201,12.9998392 L5.60191711,12.9988344 L6.0425138,12.2959826 C7.02362731,10.7653275 7.67612271,10 8,10 C8.37014547,10 9.16950644,10.9996115 10.3980829,12.9988344 L10.987778,12.9998392 C10.9958674,12.8352104 11,12.66849 11,12.5 C11,10.6393737 8.98689779,10.0147381 8.98689779,8.0017538 C8.98689779,5.98876953 11,5.36125069 11,3.5 L10.9969109,3.24815712 L10.987,3 Z"/>
|
|
28
|
+
<path d="M6,4 L10,4 C8.95166016,6 8.28499349,7 8,7 C7.71500651,7 7.04833984,6 6,4 Z"/>
|
|
29
|
+
</g>
|
|
30
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.78182 2.63903C8.58882 2.28803 8.25782 2.25003 8.12482 2.25003C7.99019 2.24847 7.85771 2.28393 7.74185 2.35253C7.62599 2.42113 7.5312 2.52023 7.46782 2.63903L1.97082 12.639C1.90673 12.7528 1.87406 12.8816 1.87617 13.0122C1.87828 13.1427 1.91509 13.2704 1.98282 13.382C2.04798 13.4951 2.14207 13.5888 2.25543 13.6535C2.36879 13.7182 2.49732 13.7515 2.62782 13.75H13.6218C13.7523 13.7515 13.8809 13.7182 13.9942 13.6535C14.1076 13.5888 14.2017 13.4951 14.2668 13.382C14.3346 13.2704 14.3714 13.1427 14.3735 13.0122C14.3756 12.8816 14.3429 12.7528 14.2788 12.639L8.78182 2.63903ZM6.37282 2.03703C6.75182 1.34603 7.43882 1.00003 8.12482 1.00003C8.48341 0.997985 8.83583 1.09326 9.14454 1.2757C9.45325 1.45814 9.70668 1.72092 9.87782 2.03603L15.3748 12.036C16.1078 13.369 15.1438 15 13.6228 15H2.62782C1.10682 15 0.141823 13.37 0.875823 12.037L6.37282 2.03703ZM8.74982 9.06203C8.74982 9.22779 8.68397 9.38676 8.56676 9.50397C8.44955 9.62118 8.29058 9.68703 8.12482 9.68703C7.95906 9.68703 7.80009 9.62118 7.68288 9.50397C7.56566 9.38676 7.49982 9.22779 7.49982 9.06203V5.62503C7.49982 5.45927 7.56566 5.3003 7.68288 5.18309C7.80009 5.06588 7.95906 5.00003 8.12482 5.00003C8.29058 5.00003 8.44955 5.06588 8.56676 5.18309C8.68397 5.3003 8.74982 5.45927 8.74982 5.62503V9.06203ZM7.74982 12L7.49982 11.75V11L7.74982 10.75H8.49982L8.74982 11V11.75L8.49982 12H7.74982Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
width="40"
|
|
5
|
+
height="40"
|
|
6
|
+
viewBox="0 0 40 40">
|
|
7
|
+
<path
|
|
8
|
+
d="M 1.5006714,23.536225 6.8925879,18.994244 14.585721,26.037937 34.019683,4.5410479 38.499329,9.2235032 14.585721,35.458952 z"
|
|
9
|
+
id="path4"
|
|
10
|
+
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1.25402856;stroke-opacity:1" />
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
height="40"
|
|
5
|
+
width="40"
|
|
6
|
+
viewBox="0 0 40 40">
|
|
7
|
+
<rect
|
|
8
|
+
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
|
9
|
+
width="33.76017"
|
|
10
|
+
height="33.76017"
|
|
11
|
+
x="3.119915"
|
|
12
|
+
y="3.119915" />
|
|
13
|
+
<path
|
|
14
|
+
d="m 20.677967,8.54499 c -7.342801,0 -13.295293,4.954293 -13.295293,11.065751 0,2.088793 0.3647173,3.484376 1.575539,5.150563 L 6.0267418,31.45501 13.560595,29.011117 c 2.221262,1.387962 4.125932,1.665377 7.117372,1.665377 7.3428,0 13.295291,-4.954295 13.295291,-11.065753 0,-6.111458 -5.952491,-11.065751 -13.295291,-11.065751 z"
|
|
15
|
+
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.93031836;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
width="40"
|
|
5
|
+
height="40"
|
|
6
|
+
viewBox="0 0 40 40">
|
|
7
|
+
<g
|
|
8
|
+
transform="translate(0,-60)"
|
|
9
|
+
id="layer1">
|
|
10
|
+
<rect
|
|
11
|
+
width="36.460953"
|
|
12
|
+
height="34.805603"
|
|
13
|
+
x="1.7695236"
|
|
14
|
+
y="62.597198"
|
|
15
|
+
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.30826771;stroke-opacity:1" />
|
|
16
|
+
<g
|
|
17
|
+
transform="matrix(0.88763677,0,0,0.88763677,2.2472646,8.9890584)">
|
|
18
|
+
<path
|
|
19
|
+
d="M 20,64.526342 C 11.454135,64.526342 4.5263421,71.454135 4.5263421,80 4.5263421,88.545865 11.454135,95.473658 20,95.473658 28.545865,95.473658 35.473658,88.545865 35.473658,80 35.473658,71.454135 28.545865,64.526342 20,64.526342 z m -0.408738,9.488564 c 3.527079,0 6.393832,2.84061 6.393832,6.335441 0,3.494831 -2.866753,6.335441 -6.393832,6.335441 -3.527079,0 -6.393832,-2.84061 -6.393832,-6.335441 0,-3.494831 2.866753,-6.335441 6.393832,-6.335441 z"
|
|
20
|
+
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.02768445;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
21
|
+
<path
|
|
22
|
+
d="m 7.2335209,71.819938 4.9702591,4.161823 c -1.679956,2.581606 -1.443939,6.069592 0.159325,8.677725 l -5.1263071,3.424463 c 0.67516,1.231452 3.0166401,3.547686 4.2331971,4.194757 l 3.907728,-4.567277 c 2.541952,1.45975 5.730694,1.392161 8.438683,-0.12614 l 3.469517,6.108336 c 1.129779,-0.44367 4.742234,-3.449633 5.416358,-5.003859 l -5.46204,-4.415541 c 1.44319,-2.424098 1.651175,-5.267515 0.557303,-7.748623 l 5.903195,-3.833951 C 33.14257,71.704996 30.616217,69.018606 29.02952,67.99296 l -4.118813,4.981678 C 22.411934,71.205099 18.900853,70.937534 16.041319,72.32916 l -3.595408,-5.322091 c -1.345962,0.579488 -4.1293881,2.921233 -5.2123901,4.812869 z m 8.1010311,3.426672 c 2.75284,-2.446266 6.769149,-2.144694 9.048998,0.420874 2.279848,2.56557 2.113919,6.596919 -0.638924,9.043185 -2.752841,2.446267 -6.775754,2.13726 -9.055604,-0.428308 -2.279851,-2.565568 -2.107313,-6.589485 0.64553,-9.035751 z"
|
|
23
|
+
style="fill:#000000;fill-opacity:1;stroke:none" />
|
|
24
|
+
</g>
|
|
25
|
+
</g>
|
|
26
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
width="64"
|
|
5
|
+
height="64"
|
|
6
|
+
viewBox="0 0 64 64">
|
|
7
|
+
<path
|
|
8
|
+
d="M 32.003143,1.4044602 57.432701,62.632577 6.5672991,62.627924 z"
|
|
9
|
+
style="fill:#ffff00;fill-opacity:0.94117647;fill-rule:nonzero;stroke:#000000;stroke-width:1.00493038;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
width="64"
|
|
5
|
+
height="64"
|
|
6
|
+
viewBox="0 0 64 64">
|
|
7
|
+
<path
|
|
8
|
+
d="M 25.470843,9.4933766 C 25.30219,12.141818 30.139101,14.445969 34.704831,13.529144 40.62635,12.541995 41.398833,7.3856498 35.97505,5.777863 31.400921,4.1549155 25.157674,6.5445892 25.470843,9.4933766 z M 4.5246282,17.652051 C 4.068249,11.832873 9.2742983,5.9270407 18.437379,3.0977088 29.751911,-0.87185184 45.495663,1.4008022 53.603953,7.1104009 c 9.275765,6.1889221 7.158128,16.2079421 -3.171076,21.5939521 -1.784316,1.635815 -6.380222,1.21421 -7.068351,3.186186 -1.04003,0.972427 -1.288046,2.050158 -1.232864,3.168203 1.015111,2.000108 -3.831548,1.633216 -3.270553,3.759574 0.589477,5.264544 -0.179276,10.53738 -0.362842,15.806257 -0.492006,2.184998 1.163456,4.574232 -0.734888,6.610642 -2.482919,2.325184 -7.30604,2.189143 -9.193497,-0.274767 -2.733688,-1.740626 -8.254447,-3.615254 -6.104247,-6.339626 3.468112,-1.708686 -2.116197,-3.449897 0.431242,-5.080274 5.058402,-1.39256 -2.393215,-2.304318 -0.146889,-4.334645 3.069198,-0.977415 2.056986,-2.518352 -0.219121,-3.540397 1.876567,-1.807151 1.484149,-4.868919 -2.565455,-5.942205 0.150866,-1.805474 2.905737,-4.136876 -1.679967,-5.20493 C 10.260902,27.882167 4.6872697,22.95045 4.5245945,17.652051 z"
|
|
9
|
+
id="path604"
|
|
10
|
+
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1.72665179;stroke-opacity:1" />
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
width="64"
|
|
5
|
+
height="64"
|
|
6
|
+
viewBox="0 0 64 64">
|
|
7
|
+
<path
|
|
8
|
+
d="M 32.003143,10.913072 57.432701,53.086929 6.567299,53.083723 z"
|
|
9
|
+
id="path2985"
|
|
10
|
+
style="fill:#ffff00;fill-opacity:0.94117647;fill-rule:nonzero;stroke:#000000;stroke-width:0.83403099;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
width="40"
|
|
5
|
+
height="40"
|
|
6
|
+
viewBox="0 0 40 40">
|
|
7
|
+
<rect
|
|
8
|
+
width="36.075428"
|
|
9
|
+
height="31.096582"
|
|
10
|
+
x="1.962286"
|
|
11
|
+
y="4.4517088"
|
|
12
|
+
id="rect4"
|
|
13
|
+
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.23004246;stroke-opacity:1" />
|
|
14
|
+
<rect
|
|
15
|
+
width="27.96859"
|
|
16
|
+
height="1.5012145"
|
|
17
|
+
x="6.0157046"
|
|
18
|
+
y="10.285"
|
|
19
|
+
id="rect6"
|
|
20
|
+
style="fill:#000000;fill-opacity:1;stroke:none" />
|
|
21
|
+
<rect
|
|
22
|
+
width="27.96859"
|
|
23
|
+
height="0.85783684"
|
|
24
|
+
x="6.0157056"
|
|
25
|
+
y="23.21689"
|
|
26
|
+
id="rect8"
|
|
27
|
+
style="fill:#000000;fill-opacity:1;stroke:none" />
|
|
28
|
+
<rect
|
|
29
|
+
width="27.96859"
|
|
30
|
+
height="0.85783684"
|
|
31
|
+
x="5.8130345"
|
|
32
|
+
y="28.964394"
|
|
33
|
+
id="rect10"
|
|
34
|
+
style="fill:#000000;fill-opacity:1;stroke:none" />
|
|
35
|
+
<rect
|
|
36
|
+
width="27.96859"
|
|
37
|
+
height="0.85783684"
|
|
38
|
+
x="6.0157046"
|
|
39
|
+
y="17.426493"
|
|
40
|
+
id="rect12"
|
|
41
|
+
style="fill:#000000;fill-opacity:1;stroke:none" />
|
|
42
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="40" width="40">
|
|
5
|
+
<path d="M9 3.5a1.5 1.5 0 0 0-3-.001v7.95C6 12.83 7.12 14 8.5 14s2.5-1.17 2.5-2.55V5.5a.5.5 0 0 1 1 0v6.03C11.955 13.427 10.405 15 8.5 15S5.044 13.426 5 11.53V3.5a2.5 2.5 0 0 1 5 0v7.003a1.5 1.5 0 0 1-3-.003v-5a.5.5 0 0 1 1 0v5a.5.5 0 0 0 1 0Z"/>
|
|
6
|
+
</svg>
|