@superdoc-dev/cli 0.15.0-next.11 → 0.15.0-next.13
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/index.js +97 -87
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -221759,7 +221759,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
221759
221759
|
init_remark_gfm_BhnWr3yf_es();
|
|
221760
221760
|
});
|
|
221761
221761
|
|
|
221762
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
221762
|
+
// ../../packages/superdoc/dist/chunks/src-Bm0BRA0C.es.js
|
|
221763
221763
|
function deleteProps(obj, propOrProps) {
|
|
221764
221764
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
221765
221765
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -282480,7 +282480,7 @@ var Node$13 = class Node$14 {
|
|
|
282480
282480
|
}, isToolbarInput = (target) => {
|
|
282481
282481
|
return !!target?.closest(".button-text-input") || target?.classList?.contains("button-text-input");
|
|
282482
282482
|
}, isToolbarButton = (target) => {
|
|
282483
|
-
return !!target?.closest(".toolbar-button") || target?.classList?.contains("toolbar-button");
|
|
282483
|
+
return !!target?.closest(".sd-toolbar-button") || !!target?.closest(".toolbar-button") || target?.classList?.contains("sd-toolbar-button") || target?.classList?.contains("toolbar-button");
|
|
282484
282484
|
}, CustomSelection, History, createUndoPlugin = () => {
|
|
282485
282485
|
return yUndoPlugin();
|
|
282486
282486
|
}, Color, FontFamily, FontSize, LetterSpacing, TextAlign, toggleMarkCascade = (markName, options = {}) => ({ state, chain, editor }) => {
|
|
@@ -291584,7 +291584,7 @@ var Node$13 = class Node$14 {
|
|
|
291584
291584
|
}
|
|
291585
291585
|
});
|
|
291586
291586
|
}
|
|
291587
|
-
}, COMPOSITION_INPUT_TYPES, COMBINING_MARK_REGEX, graphemeSegmenter, DEAD_KEY_PLACEHOLDER_MARKS, getTextNodeAtPos = ({ doc: doc$12, pos }) => {
|
|
291587
|
+
}, COMPOSITION_INPUT_TYPES, COMBINING_MARK_REGEX, graphemeSegmenter, DEAD_KEY_PLACEHOLDER_MARKS, TRACKABLE_META_KEYS, PASSTHROUGH_META_KEYS, ALLOWED_META_KEYS, getTextNodeAtPos = ({ doc: doc$12, pos }) => {
|
|
291588
291588
|
let found2 = null;
|
|
291589
291589
|
doc$12.nodesBetween(Math.max(0, pos - 1), Math.min(doc$12.content.size, pos + 1), (node3, nodePos) => {
|
|
291590
291590
|
if (found2 || !node3.isText || !node3.text)
|
|
@@ -291775,6 +291775,12 @@ var Node$13 = class Node$14 {
|
|
|
291775
291775
|
...existingMeta,
|
|
291776
291776
|
...extraMeta
|
|
291777
291777
|
});
|
|
291778
|
+
}, copyPassthroughMeta = (sourceTr, targetTr) => {
|
|
291779
|
+
PASSTHROUGH_META_KEYS.forEach((key2) => {
|
|
291780
|
+
const value = sourceTr.getMeta(key2);
|
|
291781
|
+
if (value !== undefined)
|
|
291782
|
+
targetTr.setMeta(key2, value);
|
|
291783
|
+
});
|
|
291778
291784
|
}, getPendingDeadKeyPlaceholder = ({ tr, newTr, user }) => {
|
|
291779
291785
|
if (!isCompositionTransaction(tr) || tr.steps.length !== 1)
|
|
291780
291786
|
return null;
|
|
@@ -291804,13 +291810,6 @@ var Node$13 = class Node$14 {
|
|
|
291804
291810
|
authorEmail: user.email
|
|
291805
291811
|
};
|
|
291806
291812
|
}, trackedTransaction = ({ tr, state, user, replacements = "paired" }) => {
|
|
291807
|
-
const onlyInputTypeMeta = [
|
|
291808
|
-
"inputType",
|
|
291809
|
-
"uiEvent",
|
|
291810
|
-
"paste",
|
|
291811
|
-
"pointer",
|
|
291812
|
-
"composition"
|
|
291813
|
-
];
|
|
291814
291813
|
const notAllowedMeta = [
|
|
291815
291814
|
"historyUndo",
|
|
291816
291815
|
"historyRedo",
|
|
@@ -291819,13 +291818,7 @@ var Node$13 = class Node$14 {
|
|
|
291819
291818
|
const isProgrammaticInput = tr.getMeta("inputType") === "programmatic";
|
|
291820
291819
|
const ySyncMeta = tr.getMeta(ySyncPluginKey);
|
|
291821
291820
|
const pendingDeadKeyPlaceholder = TrackChangesBasePluginKey.getState(state)?.pendingDeadKeyPlaceholder ?? null;
|
|
291822
|
-
const
|
|
291823
|
-
...onlyInputTypeMeta,
|
|
291824
|
-
ySyncPluginKey.key,
|
|
291825
|
-
"forceTrackChanges",
|
|
291826
|
-
"protectTrackedReviewState"
|
|
291827
|
-
]);
|
|
291828
|
-
const hasDisallowedMeta = tr.meta && Object.keys(tr.meta).some((meta2) => !allowedMeta.has(meta2));
|
|
291821
|
+
const hasDisallowedMeta = tr.meta && Object.keys(tr.meta).some((meta2) => !ALLOWED_META_KEYS.has(meta2));
|
|
291829
291822
|
if (ySyncMeta?.isChangeOrigin || !tr.steps.length || hasDisallowedMeta && !isProgrammaticInput || notAllowedMeta.includes(tr.getMeta("inputType")) || tr.getMeta(CommentsPluginKey)) {
|
|
291830
291823
|
if (pendingDeadKeyPlaceholder && !isCompositionTransaction(tr))
|
|
291831
291824
|
mergeTrackChangesMeta(tr, { pendingDeadKeyPlaceholder: null });
|
|
@@ -291900,14 +291893,7 @@ var Node$13 = class Node$14 {
|
|
|
291900
291893
|
else
|
|
291901
291894
|
newTr.step(step3);
|
|
291902
291895
|
});
|
|
291903
|
-
|
|
291904
|
-
newTr.setMeta("inputType", tr.getMeta("inputType"));
|
|
291905
|
-
if (tr.getMeta("uiEvent"))
|
|
291906
|
-
newTr.setMeta("uiEvent", tr.getMeta("uiEvent"));
|
|
291907
|
-
if (tr.getMeta("composition") !== undefined)
|
|
291908
|
-
newTr.setMeta("composition", tr.getMeta("composition"));
|
|
291909
|
-
if (tr.getMeta("addToHistory") !== undefined)
|
|
291910
|
-
newTr.setMeta("addToHistory", tr.getMeta("addToHistory"));
|
|
291896
|
+
copyPassthroughMeta(tr, newTr);
|
|
291911
291897
|
mergeTrackChangesMeta(newTr, { pendingDeadKeyPlaceholder: getPendingDeadKeyPlaceholder({
|
|
291912
291898
|
tr,
|
|
291913
291899
|
newTr,
|
|
@@ -295894,7 +295880,7 @@ var Node$13 = class Node$14 {
|
|
|
295894
295880
|
disabled: role !== "editor",
|
|
295895
295881
|
attributes: {
|
|
295896
295882
|
dropdownPosition: "right",
|
|
295897
|
-
className: "toolbar-item--doc-mode",
|
|
295883
|
+
className: "sd-toolbar-item--doc-mode",
|
|
295898
295884
|
ariaLabel: "Document mode"
|
|
295899
295885
|
},
|
|
295900
295886
|
options: [{
|
|
@@ -295982,7 +295968,7 @@ var Node$13 = class Node$14 {
|
|
|
295982
295968
|
suppressActiveHighlight: true,
|
|
295983
295969
|
disabled: false,
|
|
295984
295970
|
attributes: {
|
|
295985
|
-
className: "toolbar-item--linked-styles",
|
|
295971
|
+
className: "sd-toolbar-item--linked-styles",
|
|
295986
295972
|
ariaLabel: "Linked styles"
|
|
295987
295973
|
},
|
|
295988
295974
|
options: [{
|
|
@@ -296079,12 +296065,12 @@ var Node$13 = class Node$14 {
|
|
|
296079
296065
|
if (shouldUseLgCompactStyles)
|
|
296080
296066
|
documentMode.attributes.value = {
|
|
296081
296067
|
...documentMode.attributes.value,
|
|
296082
|
-
className: `${documentMode.attributes.value.className} toolbar-item--doc-mode-compact`
|
|
296068
|
+
className: `${documentMode.attributes.value.className} sd-toolbar-item--doc-mode-compact`
|
|
296083
296069
|
};
|
|
296084
296070
|
if (shouldUseLgCompactStyles)
|
|
296085
296071
|
linkedStyles.attributes.value = {
|
|
296086
296072
|
...linkedStyles.attributes.value,
|
|
296087
|
-
className: `${linkedStyles.attributes.value.className} toolbar-item--linked-styles-compact`
|
|
296073
|
+
className: `${linkedStyles.attributes.value.className} sd-toolbar-item--linked-styles-compact`
|
|
296088
296074
|
};
|
|
296089
296075
|
let toolbarItems = [
|
|
296090
296076
|
undo$2,
|
|
@@ -318943,7 +318929,7 @@ menclose::after {
|
|
|
318943
318929
|
return;
|
|
318944
318930
|
console.log(...args$1);
|
|
318945
318931
|
}, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions, TRACKED_MARK_NAMES;
|
|
318946
|
-
var
|
|
318932
|
+
var init_src_Bm0BRA0C_es = __esm(() => {
|
|
318947
318933
|
init_rolldown_runtime_Bg48TavK_es();
|
|
318948
318934
|
init_SuperConverter_C6hKp29w_es();
|
|
318949
318935
|
init_jszip_C49i9kUs_es();
|
|
@@ -335934,6 +335920,26 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
335934
335920
|
["~", "̃"],
|
|
335935
335921
|
["¨", "̈"]
|
|
335936
335922
|
]);
|
|
335923
|
+
TRACKABLE_META_KEYS = [
|
|
335924
|
+
"inputType",
|
|
335925
|
+
"uiEvent",
|
|
335926
|
+
"paste",
|
|
335927
|
+
"pointer",
|
|
335928
|
+
"composition",
|
|
335929
|
+
"superdocSlicePaste",
|
|
335930
|
+
"forceTrackChanges",
|
|
335931
|
+
"protectTrackedReviewState"
|
|
335932
|
+
];
|
|
335933
|
+
PASSTHROUGH_META_KEYS = [
|
|
335934
|
+
"inputType",
|
|
335935
|
+
"uiEvent",
|
|
335936
|
+
"paste",
|
|
335937
|
+
"pointer",
|
|
335938
|
+
"composition",
|
|
335939
|
+
"addToHistory",
|
|
335940
|
+
"superdocSlicePaste"
|
|
335941
|
+
];
|
|
335942
|
+
ALLOWED_META_KEYS = new Set([...TRACKABLE_META_KEYS, ySyncPluginKey.key]);
|
|
335937
335943
|
TrackFormat = Mark3.create({
|
|
335938
335944
|
name: TrackFormatMarkName,
|
|
335939
335945
|
group: "track",
|
|
@@ -336668,12 +336674,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
336668
336674
|
onMouseenter: ($event) => activeUserIndex.value = index2,
|
|
336669
336675
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => activeUserIndex.value = null),
|
|
336670
336676
|
key: user.email,
|
|
336671
|
-
class: exports_vue.normalizeClass(["user-row", { selected: activeUserIndex.value === index2 }])
|
|
336677
|
+
class: exports_vue.normalizeClass(["user-row", { "sd-selected": activeUserIndex.value === index2 }])
|
|
336672
336678
|
}, [user.name ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", _hoisted_2$17, [user.name ? (exports_vue.openBlock(), exports_vue.createElementBlock("span", _hoisted_3$13, exports_vue.toDisplayString(user.name), 1)) : exports_vue.createCommentVNode("", true), user.name && user.email ? (exports_vue.openBlock(), exports_vue.createElementBlock("span", _hoisted_4$9, " (" + exports_vue.toDisplayString(user.email) + ")", 1)) : exports_vue.createCommentVNode("", true)])) : (exports_vue.openBlock(), exports_vue.createElementBlock("div", _hoisted_5$7, [exports_vue.createElementVNode("span", null, exports_vue.toDisplayString(user.email), 1)]))], 42, _hoisted_1$22);
|
|
336673
336679
|
}), 128))], 544);
|
|
336674
336680
|
};
|
|
336675
336681
|
}
|
|
336676
|
-
}, [["__scopeId", "data-v-
|
|
336682
|
+
}, [["__scopeId", "data-v-b9684aad"]]);
|
|
336677
336683
|
popoverPluginKey = new PluginKey("popoverPlugin");
|
|
336678
336684
|
PopoverPlugin = Extension.create({
|
|
336679
336685
|
name: "popoverPlugin",
|
|
@@ -338140,7 +338146,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338140
338146
|
}, null, 8, _hoisted_5$6)) : exports_vue.createCommentVNode("", true)])], 544);
|
|
338141
338147
|
};
|
|
338142
338148
|
}
|
|
338143
|
-
}, [["__scopeId", "data-v-
|
|
338149
|
+
}, [["__scopeId", "data-v-5444b0c8"]]);
|
|
338144
338150
|
isHighContrastMode = exports_vue.ref(false);
|
|
338145
338151
|
toolbarIcons = {
|
|
338146
338152
|
undo: rotate_left_solid_default,
|
|
@@ -338304,7 +338310,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338304
338310
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", { class: exports_vue.normalizeClass(["alignment-buttons", { "high-contrast": exports_vue.unref(isHighContrastMode$1) }]) }, [(exports_vue.openBlock(), exports_vue.createElementBlock(exports_vue.Fragment, null, exports_vue.renderList(alignmentButtons, (button, index2) => {
|
|
338305
338311
|
return exports_vue.createElementVNode("div", {
|
|
338306
338312
|
key: button.key,
|
|
338307
|
-
class: "button-icon",
|
|
338313
|
+
class: "sd-button-icon",
|
|
338308
338314
|
onClick: ($event) => select2(button.key),
|
|
338309
338315
|
innerHTML: button.icon,
|
|
338310
338316
|
"data-item": "btn-textAlign-option",
|
|
@@ -338318,7 +338324,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338318
338324
|
}), 64))], 2);
|
|
338319
338325
|
};
|
|
338320
338326
|
}
|
|
338321
|
-
}, [["__scopeId", "data-v-
|
|
338327
|
+
}, [["__scopeId", "data-v-ceb338e0"]]);
|
|
338322
338328
|
_hoisted_1$19 = [
|
|
338323
338329
|
"onClick",
|
|
338324
338330
|
"innerHTML",
|
|
@@ -338398,7 +338404,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338398
338404
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", { class: exports_vue.normalizeClass(["style-buttons-list", { "high-contrast": exports_vue.unref(isHighContrastMode$1) }]) }, [(exports_vue.openBlock(true), exports_vue.createElementBlock(exports_vue.Fragment, null, exports_vue.renderList(props.buttons, (button, index2) => {
|
|
338399
338405
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
338400
338406
|
key: button.key,
|
|
338401
|
-
class: exports_vue.normalizeClass(["button-icon", { selected: props.selectedStyle === button.key }]),
|
|
338407
|
+
class: exports_vue.normalizeClass(["sd-button-icon", { "sd-selected": props.selectedStyle === button.key }]),
|
|
338402
338408
|
style: exports_vue.normalizeStyle(iconStyle.value),
|
|
338403
338409
|
onClick: ($event) => select2(button.key),
|
|
338404
338410
|
innerHTML: button.icon,
|
|
@@ -338412,7 +338418,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338412
338418
|
}), 128))], 2);
|
|
338413
338419
|
};
|
|
338414
338420
|
}
|
|
338415
|
-
}, [["__scopeId", "data-v-
|
|
338421
|
+
}, [["__scopeId", "data-v-701c1d54"]]);
|
|
338416
338422
|
bulletStyleButtons = [
|
|
338417
338423
|
{
|
|
338418
338424
|
key: "disc",
|
|
@@ -338530,7 +338536,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338530
338536
|
return (_ctx, _cache) => {
|
|
338531
338537
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", { class: exports_vue.normalizeClass(["document-mode", { "high-contrast": exports_vue.unref(isHighContrastMode$1) }]) }, [(exports_vue.openBlock(true), exports_vue.createElementBlock(exports_vue.Fragment, null, exports_vue.renderList(__props.options, (option, index2) => {
|
|
338532
338538
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
338533
|
-
class: exports_vue.normalizeClass(["option-item", { disabled: option.disabled }]),
|
|
338539
|
+
class: exports_vue.normalizeClass(["sd-option-item", { "sd-disabled": option.disabled }]),
|
|
338534
338540
|
onClick: ($event) => handleClick$1(option),
|
|
338535
338541
|
"data-item": "btn-documentMode-option",
|
|
338536
338542
|
role: "menuitem",
|
|
@@ -338545,7 +338551,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338545
338551
|
}), 256))], 2);
|
|
338546
338552
|
};
|
|
338547
338553
|
}
|
|
338548
|
-
}, [["__scopeId", "data-v-
|
|
338554
|
+
}, [["__scopeId", "data-v-abd514d9"]]);
|
|
338549
338555
|
_hoisted_1$17 = {
|
|
338550
338556
|
key: 0,
|
|
338551
338557
|
class: "linked-style-buttons",
|
|
@@ -338847,13 +338853,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338847
338853
|
type: "text",
|
|
338848
338854
|
name: "link",
|
|
338849
338855
|
placeholder: "Type or paste a link",
|
|
338850
|
-
class: exports_vue.normalizeClass({ error: urlError.value }),
|
|
338856
|
+
class: exports_vue.normalizeClass({ "sd-error": urlError.value }),
|
|
338851
338857
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rawUrl.value = $event),
|
|
338852
338858
|
readonly: isViewingMode.value,
|
|
338853
338859
|
onKeydown: [exports_vue.withKeys(exports_vue.withModifiers(handleSubmit, ["stop", "prevent"]), ["enter"]), _cache[3] || (_cache[3] = ($event) => urlError.value = false)]
|
|
338854
338860
|
}, null, 42, _hoisted_10$1), [[exports_vue.vModelText, rawUrl.value]]),
|
|
338855
338861
|
exports_vue.createElementVNode("div", {
|
|
338856
|
-
class: exports_vue.normalizeClass(["open-link-icon", { disabled: !validUrl.value }]),
|
|
338862
|
+
class: exports_vue.normalizeClass(["open-link-icon", { "sd-disabled": !validUrl.value }]),
|
|
338857
338863
|
innerHTML: exports_vue.unref(toolbarIcons).openLink,
|
|
338858
338864
|
onClick: openLink,
|
|
338859
338865
|
"data-item": "btn-link-open"
|
|
@@ -338868,14 +338874,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338868
338874
|
class: "remove-btn__icon",
|
|
338869
338875
|
innerHTML: exports_vue.unref(toolbarIcons).removeLink
|
|
338870
338876
|
}, null, 8, _hoisted_13), _cache[6] || (_cache[6] = exports_vue.createTextVNode(" Remove ", -1))])) : exports_vue.createCommentVNode("", true), exports_vue.createElementVNode("button", {
|
|
338871
|
-
class: exports_vue.normalizeClass(["submit-btn", { "disable-btn": isDisabled.value }]),
|
|
338877
|
+
class: exports_vue.normalizeClass(["sd-submit-btn", { "disable-btn": isDisabled.value }]),
|
|
338872
338878
|
onClick: handleSubmit,
|
|
338873
338879
|
"data-item": "btn-link-apply"
|
|
338874
338880
|
}, " Apply ", 2)])) : exports_vue.createCommentVNode("", true)
|
|
338875
338881
|
])) : isAnchor.value ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", _hoisted_14, [exports_vue.createElementVNode("a", { onClick: _cache[4] || (_cache[4] = exports_vue.withModifiers(($event) => navigateToAnchor(rawUrl.value), ["stop", "prevent"])) }, "Go to " + exports_vue.toDisplayString(rawUrl.value.startsWith("#_") ? rawUrl.value.substring(2) : rawUrl.value), 1)])) : exports_vue.createCommentVNode("", true)], 2);
|
|
338876
338882
|
};
|
|
338877
338883
|
}
|
|
338878
|
-
}, [["__scopeId", "data-v-
|
|
338884
|
+
}, [["__scopeId", "data-v-c490d677"]]);
|
|
338879
338885
|
_hoisted_1$15 = [
|
|
338880
338886
|
"aria-label",
|
|
338881
338887
|
"onClick",
|
|
@@ -338982,7 +338988,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338982
338988
|
return (_ctx, _cache) => {
|
|
338983
338989
|
return exports_vue.openBlock(true), exports_vue.createElementBlock(exports_vue.Fragment, null, exports_vue.renderList(__props.icons, (row2, rowIndex) => {
|
|
338984
338990
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
338985
|
-
class: "option-row",
|
|
338991
|
+
class: "sd-option-row",
|
|
338986
338992
|
key: rowIndex,
|
|
338987
338993
|
role: "group",
|
|
338988
338994
|
ref_for: true,
|
|
@@ -338990,7 +338996,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
338990
338996
|
ref: rowRefs
|
|
338991
338997
|
}, [(exports_vue.openBlock(true), exports_vue.createElementBlock(exports_vue.Fragment, null, exports_vue.renderList(row2, (option, optionIndex) => {
|
|
338992
338998
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
338993
|
-
class: "option",
|
|
338999
|
+
class: "sd-option",
|
|
338994
339000
|
key: optionIndex,
|
|
338995
339001
|
"aria-label": option.label,
|
|
338996
339002
|
role: "menuitem",
|
|
@@ -339000,12 +339006,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339000
339006
|
onClick: exports_vue.withModifiers(($event) => handleClick$1(option), ["stop", "prevent"]),
|
|
339001
339007
|
onKeydown: exports_vue.withModifiers((event) => handleKeyDown$1(event, rowIndex, optionIndex, option), ["prevent"])
|
|
339002
339008
|
}, [exports_vue.createElementVNode("div", {
|
|
339003
|
-
class: "option__icon",
|
|
339009
|
+
class: "sd-option__icon",
|
|
339004
339010
|
innerHTML: option.icon,
|
|
339005
339011
|
style: exports_vue.normalizeStyle(option.style)
|
|
339006
339012
|
}, null, 12, _hoisted_2$12), isActive$1.value(option) ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
339007
339013
|
key: 0,
|
|
339008
|
-
class: "option__check",
|
|
339014
|
+
class: "sd-option__check",
|
|
339009
339015
|
innerHTML: exports_vue.unref(toolbarIcons).colorOptionCheck,
|
|
339010
339016
|
style: exports_vue.normalizeStyle(getCheckStyle(option.value, optionIndex))
|
|
339011
339017
|
}, null, 12, _hoisted_3$9)) : exports_vue.createCommentVNode("", true)], 40, _hoisted_1$15);
|
|
@@ -339013,7 +339019,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339013
339019
|
}), 128);
|
|
339014
339020
|
};
|
|
339015
339021
|
}
|
|
339016
|
-
}, [["__scopeId", "data-v-
|
|
339022
|
+
}, [["__scopeId", "data-v-30cad300"]]);
|
|
339017
339023
|
_hoisted_1$14 = { class: "options-grid-wrap" };
|
|
339018
339024
|
_hoisted_2$11 = ["innerHTML"];
|
|
339019
339025
|
_hoisted_3$8 = { class: "option-grid-ctn" };
|
|
@@ -339169,9 +339175,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339169
339175
|
let itemsCols = parseInt(item.dataset.cols, 10);
|
|
339170
339176
|
let itemsRows = parseInt(item.dataset.rows, 10);
|
|
339171
339177
|
if (itemsCols <= cols && itemsRows <= rows)
|
|
339172
|
-
item.classList.add("selected");
|
|
339178
|
+
item.classList.add("sd-selected");
|
|
339173
339179
|
else
|
|
339174
|
-
item.classList.remove("selected");
|
|
339180
|
+
item.classList.remove("sd-selected");
|
|
339175
339181
|
}
|
|
339176
339182
|
};
|
|
339177
339183
|
const handleClick$1 = ({ cols, rows }) => {
|
|
@@ -339264,7 +339270,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339264
339270
|
}, exports_vue.toDisplayString(selectedRows.value) + " x " + exports_vue.toDisplayString(selectedCols.value), 9, _hoisted_2$10)], 2);
|
|
339265
339271
|
};
|
|
339266
339272
|
}
|
|
339267
|
-
}, [["__scopeId", "data-v-
|
|
339273
|
+
}, [["__scopeId", "data-v-168b91ce"]]);
|
|
339268
339274
|
_hoisted_1$12 = { class: "toolbar-table-actions" };
|
|
339269
339275
|
_hoisted_2$9 = [
|
|
339270
339276
|
"onClick",
|
|
@@ -339300,7 +339306,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339300
339306
|
}
|
|
339301
339307
|
}, [["__scopeId", "data-v-652015c8"]]);
|
|
339302
339308
|
_hoisted_1$11 = { class: "search-input-ctn" };
|
|
339303
|
-
_hoisted_2$8 = { class: "row" };
|
|
339309
|
+
_hoisted_2$8 = { class: "sd-row" };
|
|
339304
339310
|
_hoisted_3$6 = ["onKeydown"];
|
|
339305
339311
|
SearchInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
|
|
339306
339312
|
__name: "SearchInput",
|
|
@@ -339321,13 +339327,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339321
339327
|
name: "search",
|
|
339322
339328
|
placeholder: "Type search string",
|
|
339323
339329
|
onKeydown: exports_vue.withKeys(exports_vue.withModifiers(handleSubmit, ["stop", "prevent"]), ["enter"])
|
|
339324
|
-
}, null, 40, _hoisted_3$6), [[exports_vue.vModelText, searchValue.value]])]), exports_vue.createElementVNode("div", { class: "row submit" }, [exports_vue.createElementVNode("button", {
|
|
339325
|
-
class: "submit-btn",
|
|
339330
|
+
}, null, 40, _hoisted_3$6), [[exports_vue.vModelText, searchValue.value]])]), exports_vue.createElementVNode("div", { class: "sd-row sd-submit" }, [exports_vue.createElementVNode("button", {
|
|
339331
|
+
class: "sd-submit-btn",
|
|
339326
339332
|
onClick: handleSubmit
|
|
339327
339333
|
}, "Apply")])]);
|
|
339328
339334
|
};
|
|
339329
339335
|
}
|
|
339330
|
-
}, [["__scopeId", "data-v-
|
|
339336
|
+
}, [["__scopeId", "data-v-d25821a5"]]);
|
|
339331
339337
|
TOOLBAR_FONTS = [
|
|
339332
339338
|
{
|
|
339333
339339
|
label: "Georgia",
|
|
@@ -339494,7 +339500,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339494
339500
|
HEADLESS_TOOLBAR_COMMANDS = [...new Set([...Object.values(HEADLESS_ITEM_MAP), ...TABLE_ACTION_COMMAND_IDS])];
|
|
339495
339501
|
NON_HEADLESS_EXECUTE_ITEM_NAMES = new Set(["link"]);
|
|
339496
339502
|
HEADLESS_EXECUTE_ITEMS = new Set(Object.keys(HEADLESS_ITEM_MAP).filter((itemName) => !NON_HEADLESS_EXECUTE_ITEM_NAMES.has(itemName)));
|
|
339497
|
-
_hoisted_1$10 = { class: "toolbar-icon" };
|
|
339503
|
+
_hoisted_1$10 = { class: "sd-toolbar-icon" };
|
|
339498
339504
|
_hoisted_2$7 = ["innerHTML"];
|
|
339499
339505
|
ToolbarButtonIcon_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
|
|
339500
339506
|
__name: "ToolbarButtonIcon",
|
|
@@ -339525,7 +339531,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339525
339531
|
});
|
|
339526
339532
|
return (_ctx, _cache) => {
|
|
339527
339533
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", _hoisted_1$10, [exports_vue.createElementVNode("div", {
|
|
339528
|
-
class: exports_vue.normalizeClass(["toolbar-icon__icon", [`toolbar-icon__icon--${props.name}`]]),
|
|
339534
|
+
class: exports_vue.normalizeClass(["sd-toolbar-icon__icon", [`sd-toolbar-icon__icon--${props.name}`]]),
|
|
339529
339535
|
innerHTML: __props.icon
|
|
339530
339536
|
}, null, 10, _hoisted_2$7), hasColorBar.value ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
339531
339537
|
key: 0,
|
|
@@ -339534,19 +339540,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339534
339540
|
}, null, 4)) : exports_vue.createCommentVNode("", true)]);
|
|
339535
339541
|
};
|
|
339536
339542
|
}
|
|
339537
|
-
}, [["__scopeId", "data-v-
|
|
339543
|
+
}, [["__scopeId", "data-v-521c3d93"]]);
|
|
339538
339544
|
_hoisted_1$9 = ["role", "aria-label"];
|
|
339539
339545
|
_hoisted_2$6 = ["data-item"];
|
|
339540
339546
|
_hoisted_3$5 = ["data-item"];
|
|
339541
339547
|
_hoisted_4$4 = {
|
|
339542
339548
|
key: 1,
|
|
339543
|
-
class: "button-label"
|
|
339549
|
+
class: "sd-button-label"
|
|
339544
339550
|
};
|
|
339545
339551
|
_hoisted_5$2 = ["data-item", "aria-label"];
|
|
339546
339552
|
_hoisted_6$1 = ["innerHTML"];
|
|
339547
339553
|
_hoisted_7$1 = {
|
|
339548
339554
|
key: 1,
|
|
339549
|
-
class: "button-label"
|
|
339555
|
+
class: "sd-button-label"
|
|
339550
339556
|
};
|
|
339551
339557
|
_hoisted_8 = { key: 2 };
|
|
339552
339558
|
_hoisted_9 = ["onKeydown", "id"];
|
|
@@ -339558,7 +339564,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339558
339564
|
_hoisted_11 = ["innerHTML"];
|
|
339559
339565
|
_hoisted_12 = {
|
|
339560
339566
|
"aria-live": "polite",
|
|
339561
|
-
class: "visually-hidden"
|
|
339567
|
+
class: "sd-visually-hidden"
|
|
339562
339568
|
};
|
|
339563
339569
|
ToolbarButton_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
|
|
339564
339570
|
__name: "ToolbarButton",
|
|
@@ -339656,17 +339662,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339656
339662
|
});
|
|
339657
339663
|
return (_ctx, _cache) => {
|
|
339658
339664
|
return exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
339659
|
-
class: exports_vue.normalizeClass(["toolbar-item", exports_vue.unref(attributes).className]),
|
|
339665
|
+
class: exports_vue.normalizeClass(["sd-toolbar-item", exports_vue.unref(attributes).className]),
|
|
339660
339666
|
style: exports_vue.normalizeStyle(getStyle.value),
|
|
339661
339667
|
role: __props.isOverflowItem ? "menuitem" : "button",
|
|
339662
339668
|
"aria-label": exports_vue.unref(attributes).ariaLabel,
|
|
339669
|
+
"data-sd-part": "toolbar-item",
|
|
339663
339670
|
onClick: handleOuterClick,
|
|
339664
339671
|
onKeydown: _cache[3] || (_cache[3] = exports_vue.withKeys(($event) => onEnterKeydown($event), ["enter"])),
|
|
339665
339672
|
tabindex: "0"
|
|
339666
339673
|
}, [exports_vue.createElementVNode("div", {
|
|
339667
|
-
class: exports_vue.normalizeClass(["toolbar-button", {
|
|
339668
|
-
active: exports_vue.unref(active),
|
|
339669
|
-
disabled: exports_vue.unref(disabled),
|
|
339674
|
+
class: exports_vue.normalizeClass(["sd-toolbar-button", {
|
|
339675
|
+
"sd-active": exports_vue.unref(active),
|
|
339676
|
+
"sd-disabled": exports_vue.unref(disabled),
|
|
339670
339677
|
narrow: __props.isNarrow,
|
|
339671
339678
|
wide: __props.isWide,
|
|
339672
339679
|
split: isSplit.value,
|
|
@@ -339677,13 +339684,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339677
339684
|
}, [
|
|
339678
339685
|
isSplit.value ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
339679
339686
|
key: 0,
|
|
339680
|
-
class: "toolbar-button__main",
|
|
339687
|
+
class: "sd-toolbar-button__main",
|
|
339681
339688
|
"data-item": `btn-${exports_vue.unref(name) || ""}-main`,
|
|
339682
339689
|
onClick: _cache[0] || (_cache[0] = ($event) => handleSplitMainClick($event))
|
|
339683
339690
|
}, [exports_vue.unref(icon) ? (exports_vue.openBlock(), exports_vue.createBlock(ToolbarButtonIcon_default, {
|
|
339684
339691
|
key: 0,
|
|
339685
339692
|
color: exports_vue.unref(iconColor),
|
|
339686
|
-
class: "toolbar-icon",
|
|
339693
|
+
class: "sd-toolbar-icon",
|
|
339687
339694
|
icon: exports_vue.unref(icon),
|
|
339688
339695
|
name: exports_vue.unref(name)
|
|
339689
339696
|
}, null, 8, [
|
|
@@ -339693,19 +339700,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339693
339700
|
])) : exports_vue.createCommentVNode("", true), exports_vue.unref(label) && !exports_vue.unref(hideLabel) && !exports_vue.unref(inlineTextInputVisible) ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", _hoisted_4$4, exports_vue.toDisplayString(exports_vue.unref(label)), 1)) : exports_vue.createCommentVNode("", true)], 8, _hoisted_3$5)) : exports_vue.createCommentVNode("", true),
|
|
339694
339701
|
isSplit.value ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
339695
339702
|
key: 1,
|
|
339696
|
-
class: "toolbar-button__caret",
|
|
339703
|
+
class: "sd-toolbar-button__caret",
|
|
339697
339704
|
"data-item": `btn-${exports_vue.unref(name) || ""}-caret`,
|
|
339698
339705
|
"aria-label": `${exports_vue.unref(attributes).ariaLabel} options`,
|
|
339699
339706
|
role: "button"
|
|
339700
339707
|
}, [exports_vue.createElementVNode("div", {
|
|
339701
|
-
class: "dropdown-caret",
|
|
339708
|
+
class: "sd-dropdown-caret",
|
|
339702
339709
|
innerHTML: caretIcon.value,
|
|
339703
339710
|
style: exports_vue.normalizeStyle({ opacity: exports_vue.unref(disabled) ? 0.6 : 1 })
|
|
339704
339711
|
}, null, 12, _hoisted_6$1)], 8, _hoisted_5$2)) : (exports_vue.openBlock(), exports_vue.createElementBlock(exports_vue.Fragment, { key: 2 }, [
|
|
339705
339712
|
exports_vue.unref(icon) ? (exports_vue.openBlock(), exports_vue.createBlock(ToolbarButtonIcon_default, {
|
|
339706
339713
|
key: 0,
|
|
339707
339714
|
color: exports_vue.unref(iconColor),
|
|
339708
|
-
class: "toolbar-icon",
|
|
339715
|
+
class: "sd-toolbar-icon",
|
|
339709
339716
|
icon: exports_vue.unref(icon),
|
|
339710
339717
|
name: exports_vue.unref(name)
|
|
339711
339718
|
}, null, 8, [
|
|
@@ -339738,7 +339745,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339738
339745
|
}, null, 40, _hoisted_10)), [[exports_vue.vModelText, inlineTextInput.value]])])) : exports_vue.createCommentVNode("", true),
|
|
339739
339746
|
exports_vue.unref(hasCaret) ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", {
|
|
339740
339747
|
key: 3,
|
|
339741
|
-
class: "dropdown-caret",
|
|
339748
|
+
class: "sd-dropdown-caret",
|
|
339742
339749
|
innerHTML: caretIcon.value,
|
|
339743
339750
|
style: exports_vue.normalizeStyle({ opacity: exports_vue.unref(disabled) ? 0.6 : 1 })
|
|
339744
339751
|
}, null, 12, _hoisted_11)) : exports_vue.createCommentVNode("", true)
|
|
@@ -339747,7 +339754,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339747
339754
|
], 10, _hoisted_2$6)], 46, _hoisted_1$9);
|
|
339748
339755
|
};
|
|
339749
339756
|
}
|
|
339750
|
-
}, [["__scopeId", "data-v-
|
|
339757
|
+
}, [["__scopeId", "data-v-360f6a95"]]);
|
|
339751
339758
|
_hoisted_1$8 = {
|
|
339752
339759
|
class: "toolbar-separator",
|
|
339753
339760
|
role: "separator",
|
|
@@ -339984,11 +339991,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
339984
339991
|
if (!value)
|
|
339985
339992
|
return false;
|
|
339986
339993
|
if (typeof value === "string")
|
|
339987
|
-
return value.split(/\s+/).includes("selected");
|
|
339994
|
+
return value.split(/\s+/).includes("sd-selected");
|
|
339988
339995
|
if (Array.isArray(value))
|
|
339989
339996
|
return value.some(classHasSelected);
|
|
339990
339997
|
if (typeof value === "object")
|
|
339991
|
-
return Boolean(value
|
|
339998
|
+
return Boolean(value["sd-selected"]);
|
|
339992
339999
|
return false;
|
|
339993
340000
|
};
|
|
339994
340001
|
const isOptionSelected = (option) => {
|
|
@@ -340179,12 +340186,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340179
340186
|
ref_key: "triggerRef",
|
|
340180
340187
|
ref: triggerRef,
|
|
340181
340188
|
class: "toolbar-dropdown-trigger",
|
|
340189
|
+
"data-sd-part": "dropdown-trigger",
|
|
340182
340190
|
onClick: onTriggerClick
|
|
340183
340191
|
}, [exports_vue.renderSlot(_ctx.$slots, "trigger", {}, undefined, true)], 512), (exports_vue.openBlock(), exports_vue.createBlock(exports_vue.Teleport, { to: "body" }, [exports_vue.createVNode(exports_vue.Transition, { name: "fade-in-scale-up-transition" }, {
|
|
340184
340192
|
default: exports_vue.withCtx(() => [isOpen.value ? (exports_vue.openBlock(), exports_vue.createElementBlock("div", exports_vue.mergeProps({
|
|
340185
340193
|
key: 0,
|
|
340186
340194
|
ref_key: "menuRef",
|
|
340187
340195
|
ref: menuRef,
|
|
340196
|
+
"data-sd-part": "dropdown-menu",
|
|
340188
340197
|
class: mergedMenuClass.value,
|
|
340189
340198
|
style: menuStyle.value
|
|
340190
340199
|
}, computedMenuAttrs.value), [(exports_vue.openBlock(true), exports_vue.createElementBlock(exports_vue.Fragment, null, exports_vue.renderList(__props.options, (option, index2) => {
|
|
@@ -340196,8 +340205,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340196
340205
|
option.class,
|
|
340197
340206
|
option.props?.class,
|
|
340198
340207
|
{
|
|
340199
|
-
disabled: option.disabled,
|
|
340200
|
-
render: isRenderOption(option)
|
|
340208
|
+
"sd-disabled": option.disabled,
|
|
340209
|
+
"sd-render": isRenderOption(option)
|
|
340201
340210
|
}
|
|
340202
340211
|
]],
|
|
340203
340212
|
tabindex: "-1",
|
|
@@ -340214,7 +340223,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340214
340223
|
})]))]);
|
|
340215
340224
|
};
|
|
340216
340225
|
}
|
|
340217
|
-
}, [["__scopeId", "data-v-
|
|
340226
|
+
}, [["__scopeId", "data-v-302f7d86"]]);
|
|
340218
340227
|
SdTooltip_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
340219
340228
|
__name: "SdTooltip",
|
|
340220
340229
|
props: {
|
|
@@ -340565,7 +340574,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340565
340574
|
...option,
|
|
340566
340575
|
props: {
|
|
340567
340576
|
...option.props,
|
|
340568
|
-
class: isSelected ? "selected" : ""
|
|
340577
|
+
class: isSelected ? "sd-selected" : ""
|
|
340569
340578
|
}
|
|
340570
340579
|
};
|
|
340571
340580
|
});
|
|
@@ -340578,7 +340587,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340578
340587
|
};
|
|
340579
340588
|
const moveToNextButton = (e) => {
|
|
340580
340589
|
const currentButton = e.target;
|
|
340581
|
-
const nextButton = e.target.closest(".toolbar-item-ctn").nextElementSibling;
|
|
340590
|
+
const nextButton = e.target.closest(".sd-toolbar-item-ctn").nextElementSibling;
|
|
340582
340591
|
if (nextButton) {
|
|
340583
340592
|
currentButton.setAttribute("tabindex", "-1");
|
|
340584
340593
|
nextButton.setAttribute("tabindex", "0");
|
|
@@ -340587,7 +340596,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340587
340596
|
};
|
|
340588
340597
|
const moveToPreviousButton = (e) => {
|
|
340589
340598
|
const currentButton = e.target;
|
|
340590
|
-
const previousButton = e.target.closest(".toolbar-item-ctn").previousElementSibling;
|
|
340599
|
+
const previousButton = e.target.closest(".sd-toolbar-item-ctn").previousElementSibling;
|
|
340591
340600
|
if (previousButton) {
|
|
340592
340601
|
currentButton.setAttribute("tabindex", "-1");
|
|
340593
340602
|
previousButton.setAttribute("tabindex", "0");
|
|
@@ -340665,7 +340674,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340665
340674
|
}
|
|
340666
340675
|
};
|
|
340667
340676
|
const handleFocus = (e) => {
|
|
340668
|
-
const firstButton = toolbarItemRefs.value.find((item) => !item.classList.contains("disabled"));
|
|
340677
|
+
const firstButton = toolbarItemRefs.value.find((item) => !item.classList.contains("sd-disabled"));
|
|
340669
340678
|
if (firstButton) {
|
|
340670
340679
|
firstButton.setAttribute("tabindex", "0");
|
|
340671
340680
|
firstButton.focus();
|
|
@@ -340721,8 +340730,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340721
340730
|
class: exports_vue.normalizeClass([{
|
|
340722
340731
|
narrow: item.isNarrow.value,
|
|
340723
340732
|
wide: item.isWide.value,
|
|
340724
|
-
disabled: item.disabled.value
|
|
340725
|
-
}, "toolbar-item-ctn"]),
|
|
340733
|
+
"sd-disabled": item.disabled.value
|
|
340734
|
+
}, "sd-toolbar-item-ctn"]),
|
|
340726
340735
|
onKeydown: (e) => handleKeyDown$1(e, item),
|
|
340727
340736
|
ref_for: true,
|
|
340728
340737
|
ref_key: "toolbarItemRefs",
|
|
@@ -340741,7 +340750,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340741
340750
|
show: getExpanded(item),
|
|
340742
340751
|
"content-style": { fontFamily: props.uiFontFamily },
|
|
340743
340752
|
placement: "bottom-start",
|
|
340744
|
-
class: "toolbar-button sd-editor-toolbar-dropdown",
|
|
340753
|
+
class: "sd-toolbar-button sd-editor-toolbar-dropdown",
|
|
340745
340754
|
onSelect: (key2, option) => handleSelect(item, option),
|
|
340746
340755
|
"onUpdate:show": (open2) => handleDropdownUpdateShowForItem(open2, item),
|
|
340747
340756
|
style: exports_vue.normalizeStyle(item.dropdownStyles.value),
|
|
@@ -340818,7 +340827,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340818
340827
|
}), 128))], 36);
|
|
340819
340828
|
};
|
|
340820
340829
|
}
|
|
340821
|
-
}, [["__scopeId", "data-v-
|
|
340830
|
+
}, [["__scopeId", "data-v-9c3524ec"]]);
|
|
340822
340831
|
Toolbar_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
|
|
340823
340832
|
__name: "Toolbar",
|
|
340824
340833
|
emits: [
|
|
@@ -340912,6 +340921,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340912
340921
|
key: exports_vue.unref(toolbarKey),
|
|
340913
340922
|
role: "toolbar",
|
|
340914
340923
|
"aria-label": "Toolbar",
|
|
340924
|
+
"data-sd-part": "toolbar",
|
|
340915
340925
|
"data-editor-ui-surface": "",
|
|
340916
340926
|
onMousedown: handleToolbarMousedown
|
|
340917
340927
|
}, [
|
|
@@ -340963,7 +340973,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340963
340973
|
], 32);
|
|
340964
340974
|
};
|
|
340965
340975
|
}
|
|
340966
|
-
}, [["__scopeId", "data-v-
|
|
340976
|
+
}, [["__scopeId", "data-v-b83d488a"]]);
|
|
340967
340977
|
toolbarTexts = {
|
|
340968
340978
|
bold: "Bold",
|
|
340969
340979
|
fontFamily: "Font",
|
|
@@ -353405,7 +353415,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
353405
353415
|
|
|
353406
353416
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
353407
353417
|
var init_super_editor_es = __esm(() => {
|
|
353408
|
-
|
|
353418
|
+
init_src_Bm0BRA0C_es();
|
|
353409
353419
|
init_SuperConverter_C6hKp29w_es();
|
|
353410
353420
|
init_jszip_C49i9kUs_es();
|
|
353411
353421
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.15.0-next.
|
|
3
|
+
"version": "0.15.0-next.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.15.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.15.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.15.0-next.
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.15.0-next.13",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.15.0-next.13",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.15.0-next.13",
|
|
40
|
+
"@superdoc-dev/cli-windows-x64": "0.15.0-next.13",
|
|
41
|
+
"@superdoc-dev/cli-linux-arm64": "0.15.0-next.13"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|