superdoc 2.29.0-next.2 → 2.29.0-next.3
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/{FindReplaceSurface-Dm043CZP.es.js → FindReplaceSurface-BKVHzhQ4.es.js} +34 -26
- package/dist/chunks/{FindReplaceSurface-BRs3JrCq.cjs → FindReplaceSurface-BNDrJ6VS.cjs} +34 -26
- package/dist/chunks/{PasswordPromptSurface-DGjmN7A-.es.js → PasswordPromptSurface-6mF6Azda.es.js} +6 -4
- package/dist/chunks/{PasswordPromptSurface-BpqP4pUa.cjs → PasswordPromptSurface-BNkaztaP.cjs} +6 -4
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +7 -1854
- package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +3 -4
- package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +3 -618
- package/dist/superdoc/src/components/surfaces/FindReplaceSurface.vue.d.ts +58 -15
- package/dist/superdoc/src/components/surfaces/PasswordPromptSurface.vue.d.ts +58 -15
- package/dist/superdoc/src/components/surfaces/SurfaceFloating.vue.d.ts +14 -6
- package/dist/superdoc/src/components/surfaces/SurfaceHost.vue.d.ts +25 -15
- package/dist/superdoc/src/core/SuperDoc.d.ts +1 -6
- package/dist/superdoc/src/core/editor-runtime/index.d.ts +1 -1
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +7 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -1
- package/dist/superdoc/src/icons.d.ts +8 -0
- package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +76 -15
- package/dist/superdoc/src/internal/toolbar/built-in/AlignmentButtons.vue.d.ts +5 -3
- package/dist/superdoc/src/internal/toolbar/built-in/ButtonGroup.vue.d.ts +105 -5
- package/dist/superdoc/src/internal/toolbar/built-in/DocumentMode.vue.d.ts +20 -6
- package/dist/superdoc/src/internal/toolbar/built-in/IconGrid.vue.d.ts +44 -12
- package/dist/superdoc/src/internal/toolbar/built-in/IconGridRow.vue.d.ts +32 -9
- package/dist/superdoc/src/internal/toolbar/built-in/StyleButtonsList.vue.d.ts +39 -10
- package/dist/superdoc/src/internal/toolbar/built-in/TableActions.vue.d.ts +24 -6
- package/dist/superdoc/src/internal/toolbar/built-in/TableGrid.vue.d.ts +7 -3
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarComboBox.vue.d.ts +1 -1
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +1 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarSeparator.vue.d.ts +16 -6
- package/dist/superdoc/src/internal/toolbar/built-in/color-dropdown-helpers.d.ts +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +67 -0
- package/dist/superdoc/src/stores/helpers/comment-draft-text.d.ts +1 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-row-values.d.ts +25 -0
- package/dist/superdoc.cjs +259 -176
- package/dist/superdoc.es.js +240 -159
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +41 -41
- package/package.json +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/FontFamilyCombobox.vue.d.ts +0 -10
- package/dist/superdoc/src/internal/toolbar/built-in/FontSizeCombobox.vue.d.ts +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as normalizeClass, F as openBlock, G as toDisplayString, N as onMounted, a as computed, at as withModifiers, c as createCommentVNode, it as withKeys, l as createElementBlock, t as _plugin_vue_export_helper_default, u as createElementVNode, z as ref } from "./_plugin-vue_export-helper-CsJQtMvr.es.js";
|
|
2
|
-
//#region src/components/surfaces/FindReplaceSurface.vue
|
|
1
|
+
import { D as normalizeClass, F as openBlock, G as toDisplayString, N as onMounted, a as computed, at as withModifiers, c as createCommentVNode, h as defineComponent, it as withKeys, l as createElementBlock, t as _plugin_vue_export_helper_default, u as createElementVNode, z as ref } from "./_plugin-vue_export-helper-CsJQtMvr.es.js";
|
|
2
|
+
//#region src/components/surfaces/FindReplaceSurface.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["onKeydown"];
|
|
4
4
|
var _hoisted_2 = { class: "sd-find-replace__row" };
|
|
5
5
|
var _hoisted_3 = [
|
|
@@ -67,7 +67,9 @@ var _hoisted_20 = {
|
|
|
67
67
|
"aria-hidden": "true"
|
|
68
68
|
};
|
|
69
69
|
var _hoisted_21 = { class: "sd-find-replace__error-text" };
|
|
70
|
-
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/surfaces/FindReplaceSurface.vue
|
|
72
|
+
var FindReplaceSurface_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
71
73
|
__name: "FindReplaceSurface",
|
|
72
74
|
props: {
|
|
73
75
|
surfaceId: {
|
|
@@ -135,9 +137,15 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
135
137
|
function handleClose() {
|
|
136
138
|
props.findReplace.close("user-closed");
|
|
137
139
|
}
|
|
140
|
+
function handleFindInput(event) {
|
|
141
|
+
if (event.target instanceof HTMLInputElement) props.findReplace.findQuery.value = event.target.value;
|
|
142
|
+
}
|
|
143
|
+
function handleReplaceInput(event) {
|
|
144
|
+
if (event.target instanceof HTMLInputElement) props.findReplace.replaceText.value = event.target.value;
|
|
145
|
+
}
|
|
138
146
|
function collectScrollableAncestors(element) {
|
|
139
147
|
const result = [];
|
|
140
|
-
let cur = element
|
|
148
|
+
let cur = element.parentElement;
|
|
141
149
|
while (cur) {
|
|
142
150
|
const style = cur.ownerDocument?.defaultView?.getComputedStyle?.(cur);
|
|
143
151
|
if (style) {
|
|
@@ -146,7 +154,7 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
146
154
|
}
|
|
147
155
|
cur = cur.parentElement;
|
|
148
156
|
}
|
|
149
|
-
const root = element
|
|
157
|
+
const root = element.ownerDocument.scrollingElement;
|
|
150
158
|
if (root && !result.includes(root)) result.push(root);
|
|
151
159
|
return result;
|
|
152
160
|
}
|
|
@@ -181,7 +189,7 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
181
189
|
"aria-label": __props.findReplace.texts.toggleReplaceAriaLabel,
|
|
182
190
|
"aria-expanded": __props.findReplace.showReplace.value ? "true" : "false",
|
|
183
191
|
onClick: _cache[0] || (_cache[0] = ($event) => __props.findReplace.showReplace.value = !__props.findReplace.showReplace.value)
|
|
184
|
-
}, [..._cache[
|
|
192
|
+
}, [..._cache[12] || (_cache[12] = [createElementVNode("svg", {
|
|
185
193
|
viewBox: "0 0 16 16",
|
|
186
194
|
width: "14",
|
|
187
195
|
height: "14",
|
|
@@ -195,7 +203,7 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
195
203
|
"stroke-linejoin": "round"
|
|
196
204
|
})], -1)])], 10, _hoisted_3)) : createCommentVNode("", true),
|
|
197
205
|
createElementVNode("div", { class: normalizeClass(["sd-find-replace__field", { "sd-find-replace__field--error": searchErrorText.value }]) }, [
|
|
198
|
-
_cache[
|
|
206
|
+
_cache[13] || (_cache[13] = createElementVNode("svg", {
|
|
199
207
|
class: "sd-find-replace__search-icon",
|
|
200
208
|
viewBox: "0 0 16 16",
|
|
201
209
|
width: "15",
|
|
@@ -209,7 +217,7 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
209
217
|
ref_key: "findInputRef",
|
|
210
218
|
ref: findInputRef,
|
|
211
219
|
value: __props.findReplace.findQuery.value,
|
|
212
|
-
onInput:
|
|
220
|
+
onInput: handleFindInput,
|
|
213
221
|
type: "text",
|
|
214
222
|
class: "sd-find-replace__input sd-find-replace__input--search",
|
|
215
223
|
"data-sd-autofocus": "",
|
|
@@ -224,8 +232,8 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
224
232
|
title: __props.findReplace.texts.matchCaseAriaLabel,
|
|
225
233
|
"aria-label": __props.findReplace.texts.matchCaseAriaLabel,
|
|
226
234
|
"aria-pressed": __props.findReplace.caseSensitive.value ? "true" : "false",
|
|
227
|
-
onMousedown: _cache[
|
|
228
|
-
onClick: _cache[
|
|
235
|
+
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {}, ["prevent"])),
|
|
236
|
+
onClick: _cache[2] || (_cache[2] = ($event) => __props.findReplace.caseSensitive.value = !__props.findReplace.caseSensitive.value)
|
|
229
237
|
}, toDisplayString(__props.findReplace.texts.matchCaseLabel), 43, _hoisted_6),
|
|
230
238
|
showIgnoreDiacritics.value ? (openBlock(), createElementBlock("button", {
|
|
231
239
|
key: 1,
|
|
@@ -234,8 +242,8 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
234
242
|
title: __props.findReplace.texts.ignoreDiacriticsAriaLabel,
|
|
235
243
|
"aria-label": __props.findReplace.texts.ignoreDiacriticsAriaLabel,
|
|
236
244
|
"aria-pressed": __props.findReplace.ignoreDiacritics.value ? "true" : "false",
|
|
237
|
-
onMousedown: _cache[
|
|
238
|
-
onClick: _cache[
|
|
245
|
+
onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {}, ["prevent"])),
|
|
246
|
+
onClick: _cache[4] || (_cache[4] = ($event) => __props.findReplace.ignoreDiacritics.value = !__props.findReplace.ignoreDiacritics.value)
|
|
239
247
|
}, toDisplayString(__props.findReplace.texts.ignoreDiacriticsLabel), 43, _hoisted_7)) : createCommentVNode("", true),
|
|
240
248
|
showRegexToggle.value ? (openBlock(), createElementBlock("button", {
|
|
241
249
|
key: 2,
|
|
@@ -244,8 +252,8 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
244
252
|
title: __props.findReplace.texts.regexAriaLabel,
|
|
245
253
|
"aria-label": __props.findReplace.texts.regexAriaLabel,
|
|
246
254
|
"aria-pressed": __props.findReplace.regex.value ? "true" : "false",
|
|
247
|
-
onMousedown: _cache[
|
|
248
|
-
onClick: _cache[
|
|
255
|
+
onMousedown: _cache[5] || (_cache[5] = withModifiers(() => {}, ["prevent"])),
|
|
256
|
+
onClick: _cache[6] || (_cache[6] = ($event) => __props.findReplace.regex.value = !__props.findReplace.regex.value)
|
|
249
257
|
}, toDisplayString(__props.findReplace.texts.regexLabel), 43, _hoisted_8)) : createCommentVNode("", true)
|
|
250
258
|
], 2),
|
|
251
259
|
createElementVNode("div", _hoisted_9, [
|
|
@@ -255,8 +263,8 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
255
263
|
disabled: !__props.findReplace.hasMatches.value,
|
|
256
264
|
title: __props.findReplace.texts.previousMatchLabel,
|
|
257
265
|
"aria-label": __props.findReplace.texts.previousMatchAriaLabel,
|
|
258
|
-
onClick: _cache[
|
|
259
|
-
}, [..._cache[
|
|
266
|
+
onClick: _cache[7] || (_cache[7] = ($event) => handleGoPrev())
|
|
267
|
+
}, [..._cache[14] || (_cache[14] = [createElementVNode("svg", {
|
|
260
268
|
viewBox: "0 0 16 16",
|
|
261
269
|
width: "16",
|
|
262
270
|
height: "16",
|
|
@@ -275,8 +283,8 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
275
283
|
disabled: !__props.findReplace.hasMatches.value,
|
|
276
284
|
title: __props.findReplace.texts.nextMatchLabel,
|
|
277
285
|
"aria-label": __props.findReplace.texts.nextMatchAriaLabel,
|
|
278
|
-
onClick: _cache[
|
|
279
|
-
}, [..._cache[
|
|
286
|
+
onClick: _cache[8] || (_cache[8] = ($event) => handleGoNext())
|
|
287
|
+
}, [..._cache[15] || (_cache[15] = [createElementVNode("svg", {
|
|
280
288
|
viewBox: "0 0 16 16",
|
|
281
289
|
width: "16",
|
|
282
290
|
height: "16",
|
|
@@ -289,7 +297,7 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
289
297
|
"stroke-linecap": "round",
|
|
290
298
|
"stroke-linejoin": "round"
|
|
291
299
|
})], -1)])], 8, _hoisted_11),
|
|
292
|
-
_cache[
|
|
300
|
+
_cache[17] || (_cache[17] = createElementVNode("span", {
|
|
293
301
|
class: "sd-find-replace__divider",
|
|
294
302
|
"aria-hidden": "true"
|
|
295
303
|
}, null, -1)),
|
|
@@ -299,7 +307,7 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
299
307
|
title: __props.findReplace.texts.closeLabel,
|
|
300
308
|
"aria-label": __props.findReplace.texts.closeAriaLabel,
|
|
301
309
|
onClick: handleClose
|
|
302
|
-
}, [..._cache[
|
|
310
|
+
}, [..._cache[16] || (_cache[16] = [createElementVNode("svg", {
|
|
303
311
|
viewBox: "0 0 16 16",
|
|
304
312
|
width: "16",
|
|
305
313
|
height: "16",
|
|
@@ -314,37 +322,37 @@ var FindReplaceSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
314
322
|
])
|
|
315
323
|
]),
|
|
316
324
|
__props.findReplace.showReplace.value && showReplaceControls.value ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
317
|
-
_cache[
|
|
325
|
+
_cache[18] || (_cache[18] = createElementVNode("span", {
|
|
318
326
|
class: "sd-find-replace__row-indent",
|
|
319
327
|
"aria-hidden": "true"
|
|
320
328
|
}, null, -1)),
|
|
321
329
|
createElementVNode("div", _hoisted_14, [createElementVNode("input", {
|
|
322
330
|
value: __props.findReplace.replaceText.value,
|
|
323
|
-
onInput:
|
|
331
|
+
onInput: handleReplaceInput,
|
|
324
332
|
type: "text",
|
|
325
333
|
class: "sd-find-replace__input",
|
|
326
334
|
placeholder: __props.findReplace.texts.replacePlaceholder,
|
|
327
335
|
"aria-label": __props.findReplace.texts.replaceAriaLabel,
|
|
328
|
-
onKeydown: _cache[
|
|
336
|
+
onKeydown: _cache[9] || (_cache[9] = withKeys(withModifiers(($event) => __props.findReplace.replaceCurrent(), ["prevent"]), ["enter"]))
|
|
329
337
|
}, null, 40, _hoisted_15)]),
|
|
330
338
|
createElementVNode("div", _hoisted_16, [createElementVNode("button", {
|
|
331
339
|
type: "button",
|
|
332
340
|
class: "sd-find-replace__btn sd-find-replace__btn--action",
|
|
333
341
|
disabled: replaceDisabled.value,
|
|
334
342
|
title: __props.findReplace.texts.replaceLabel,
|
|
335
|
-
onClick: _cache[
|
|
343
|
+
onClick: _cache[10] || (_cache[10] = ($event) => __props.findReplace.replaceCurrent())
|
|
336
344
|
}, toDisplayString(__props.findReplace.texts.replaceLabel), 9, _hoisted_17), createElementVNode("button", {
|
|
337
345
|
type: "button",
|
|
338
346
|
class: "sd-find-replace__btn sd-find-replace__btn--action",
|
|
339
347
|
disabled: replaceAllDisabled.value,
|
|
340
348
|
title: __props.findReplace.texts.replaceAllLabel,
|
|
341
|
-
onClick: _cache[
|
|
349
|
+
onClick: _cache[11] || (_cache[11] = ($event) => __props.findReplace.replaceAll())
|
|
342
350
|
}, toDisplayString(__props.findReplace.texts.replaceAllLabel), 9, _hoisted_18)])
|
|
343
351
|
])) : createCommentVNode("", true),
|
|
344
352
|
searchErrorText.value ? (openBlock(), createElementBlock("div", _hoisted_19, [showReplaceControls.value ? (openBlock(), createElementBlock("span", _hoisted_20)) : createCommentVNode("", true), createElementVNode("span", _hoisted_21, toDisplayString(searchErrorText.value), 1)])) : createCommentVNode("", true)
|
|
345
353
|
], 40, _hoisted_1);
|
|
346
354
|
};
|
|
347
355
|
}
|
|
348
|
-
}, [["__scopeId", "data-v-
|
|
356
|
+
}), [["__scopeId", "data-v-7fda565b"]]);
|
|
349
357
|
//#endregion
|
|
350
358
|
export { FindReplaceSurface_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-6MBoygIY.cjs");
|
|
2
|
-
//#region src/components/surfaces/FindReplaceSurface.vue
|
|
2
|
+
//#region src/components/surfaces/FindReplaceSurface.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["onKeydown"];
|
|
4
4
|
var _hoisted_2 = { class: "sd-find-replace__row" };
|
|
5
5
|
var _hoisted_3 = [
|
|
@@ -67,7 +67,7 @@ var _hoisted_20 = {
|
|
|
67
67
|
"aria-hidden": "true"
|
|
68
68
|
};
|
|
69
69
|
var _hoisted_21 = { class: "sd-find-replace__error-text" };
|
|
70
|
-
var
|
|
70
|
+
var FindReplaceSurface_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ require__plugin_vue_export_helper.defineComponent({
|
|
71
71
|
__name: "FindReplaceSurface",
|
|
72
72
|
props: {
|
|
73
73
|
surfaceId: {
|
|
@@ -135,9 +135,15 @@ var _sfc_main = {
|
|
|
135
135
|
function handleClose() {
|
|
136
136
|
props.findReplace.close("user-closed");
|
|
137
137
|
}
|
|
138
|
+
function handleFindInput(event) {
|
|
139
|
+
if (event.target instanceof HTMLInputElement) props.findReplace.findQuery.value = event.target.value;
|
|
140
|
+
}
|
|
141
|
+
function handleReplaceInput(event) {
|
|
142
|
+
if (event.target instanceof HTMLInputElement) props.findReplace.replaceText.value = event.target.value;
|
|
143
|
+
}
|
|
138
144
|
function collectScrollableAncestors(element) {
|
|
139
145
|
const result = [];
|
|
140
|
-
let cur = element
|
|
146
|
+
let cur = element.parentElement;
|
|
141
147
|
while (cur) {
|
|
142
148
|
const style = cur.ownerDocument?.defaultView?.getComputedStyle?.(cur);
|
|
143
149
|
if (style) {
|
|
@@ -146,7 +152,7 @@ var _sfc_main = {
|
|
|
146
152
|
}
|
|
147
153
|
cur = cur.parentElement;
|
|
148
154
|
}
|
|
149
|
-
const root = element
|
|
155
|
+
const root = element.ownerDocument.scrollingElement;
|
|
150
156
|
if (root && !result.includes(root)) result.push(root);
|
|
151
157
|
return result;
|
|
152
158
|
}
|
|
@@ -181,7 +187,7 @@ var _sfc_main = {
|
|
|
181
187
|
"aria-label": __props.findReplace.texts.toggleReplaceAriaLabel,
|
|
182
188
|
"aria-expanded": __props.findReplace.showReplace.value ? "true" : "false",
|
|
183
189
|
onClick: _cache[0] || (_cache[0] = ($event) => __props.findReplace.showReplace.value = !__props.findReplace.showReplace.value)
|
|
184
|
-
}, [..._cache[
|
|
190
|
+
}, [..._cache[12] || (_cache[12] = [require__plugin_vue_export_helper.createElementVNode("svg", {
|
|
185
191
|
viewBox: "0 0 16 16",
|
|
186
192
|
width: "14",
|
|
187
193
|
height: "14",
|
|
@@ -195,7 +201,7 @@ var _sfc_main = {
|
|
|
195
201
|
"stroke-linejoin": "round"
|
|
196
202
|
})], -1)])], 10, _hoisted_3)) : require__plugin_vue_export_helper.createCommentVNode("", true),
|
|
197
203
|
require__plugin_vue_export_helper.createElementVNode("div", { class: require__plugin_vue_export_helper.normalizeClass(["sd-find-replace__field", { "sd-find-replace__field--error": searchErrorText.value }]) }, [
|
|
198
|
-
_cache[
|
|
204
|
+
_cache[13] || (_cache[13] = require__plugin_vue_export_helper.createElementVNode("svg", {
|
|
199
205
|
class: "sd-find-replace__search-icon",
|
|
200
206
|
viewBox: "0 0 16 16",
|
|
201
207
|
width: "15",
|
|
@@ -209,7 +215,7 @@ var _sfc_main = {
|
|
|
209
215
|
ref_key: "findInputRef",
|
|
210
216
|
ref: findInputRef,
|
|
211
217
|
value: __props.findReplace.findQuery.value,
|
|
212
|
-
onInput:
|
|
218
|
+
onInput: handleFindInput,
|
|
213
219
|
type: "text",
|
|
214
220
|
class: "sd-find-replace__input sd-find-replace__input--search",
|
|
215
221
|
"data-sd-autofocus": "",
|
|
@@ -224,8 +230,8 @@ var _sfc_main = {
|
|
|
224
230
|
title: __props.findReplace.texts.matchCaseAriaLabel,
|
|
225
231
|
"aria-label": __props.findReplace.texts.matchCaseAriaLabel,
|
|
226
232
|
"aria-pressed": __props.findReplace.caseSensitive.value ? "true" : "false",
|
|
227
|
-
onMousedown: _cache[
|
|
228
|
-
onClick: _cache[
|
|
233
|
+
onMousedown: _cache[1] || (_cache[1] = require__plugin_vue_export_helper.withModifiers(() => {}, ["prevent"])),
|
|
234
|
+
onClick: _cache[2] || (_cache[2] = ($event) => __props.findReplace.caseSensitive.value = !__props.findReplace.caseSensitive.value)
|
|
229
235
|
}, require__plugin_vue_export_helper.toDisplayString(__props.findReplace.texts.matchCaseLabel), 43, _hoisted_6),
|
|
230
236
|
showIgnoreDiacritics.value ? (require__plugin_vue_export_helper.openBlock(), require__plugin_vue_export_helper.createElementBlock("button", {
|
|
231
237
|
key: 1,
|
|
@@ -234,8 +240,8 @@ var _sfc_main = {
|
|
|
234
240
|
title: __props.findReplace.texts.ignoreDiacriticsAriaLabel,
|
|
235
241
|
"aria-label": __props.findReplace.texts.ignoreDiacriticsAriaLabel,
|
|
236
242
|
"aria-pressed": __props.findReplace.ignoreDiacritics.value ? "true" : "false",
|
|
237
|
-
onMousedown: _cache[
|
|
238
|
-
onClick: _cache[
|
|
243
|
+
onMousedown: _cache[3] || (_cache[3] = require__plugin_vue_export_helper.withModifiers(() => {}, ["prevent"])),
|
|
244
|
+
onClick: _cache[4] || (_cache[4] = ($event) => __props.findReplace.ignoreDiacritics.value = !__props.findReplace.ignoreDiacritics.value)
|
|
239
245
|
}, require__plugin_vue_export_helper.toDisplayString(__props.findReplace.texts.ignoreDiacriticsLabel), 43, _hoisted_7)) : require__plugin_vue_export_helper.createCommentVNode("", true),
|
|
240
246
|
showRegexToggle.value ? (require__plugin_vue_export_helper.openBlock(), require__plugin_vue_export_helper.createElementBlock("button", {
|
|
241
247
|
key: 2,
|
|
@@ -244,8 +250,8 @@ var _sfc_main = {
|
|
|
244
250
|
title: __props.findReplace.texts.regexAriaLabel,
|
|
245
251
|
"aria-label": __props.findReplace.texts.regexAriaLabel,
|
|
246
252
|
"aria-pressed": __props.findReplace.regex.value ? "true" : "false",
|
|
247
|
-
onMousedown: _cache[
|
|
248
|
-
onClick: _cache[
|
|
253
|
+
onMousedown: _cache[5] || (_cache[5] = require__plugin_vue_export_helper.withModifiers(() => {}, ["prevent"])),
|
|
254
|
+
onClick: _cache[6] || (_cache[6] = ($event) => __props.findReplace.regex.value = !__props.findReplace.regex.value)
|
|
249
255
|
}, require__plugin_vue_export_helper.toDisplayString(__props.findReplace.texts.regexLabel), 43, _hoisted_8)) : require__plugin_vue_export_helper.createCommentVNode("", true)
|
|
250
256
|
], 2),
|
|
251
257
|
require__plugin_vue_export_helper.createElementVNode("div", _hoisted_9, [
|
|
@@ -255,8 +261,8 @@ var _sfc_main = {
|
|
|
255
261
|
disabled: !__props.findReplace.hasMatches.value,
|
|
256
262
|
title: __props.findReplace.texts.previousMatchLabel,
|
|
257
263
|
"aria-label": __props.findReplace.texts.previousMatchAriaLabel,
|
|
258
|
-
onClick: _cache[
|
|
259
|
-
}, [..._cache[
|
|
264
|
+
onClick: _cache[7] || (_cache[7] = ($event) => handleGoPrev())
|
|
265
|
+
}, [..._cache[14] || (_cache[14] = [require__plugin_vue_export_helper.createElementVNode("svg", {
|
|
260
266
|
viewBox: "0 0 16 16",
|
|
261
267
|
width: "16",
|
|
262
268
|
height: "16",
|
|
@@ -275,8 +281,8 @@ var _sfc_main = {
|
|
|
275
281
|
disabled: !__props.findReplace.hasMatches.value,
|
|
276
282
|
title: __props.findReplace.texts.nextMatchLabel,
|
|
277
283
|
"aria-label": __props.findReplace.texts.nextMatchAriaLabel,
|
|
278
|
-
onClick: _cache[
|
|
279
|
-
}, [..._cache[
|
|
284
|
+
onClick: _cache[8] || (_cache[8] = ($event) => handleGoNext())
|
|
285
|
+
}, [..._cache[15] || (_cache[15] = [require__plugin_vue_export_helper.createElementVNode("svg", {
|
|
280
286
|
viewBox: "0 0 16 16",
|
|
281
287
|
width: "16",
|
|
282
288
|
height: "16",
|
|
@@ -289,7 +295,7 @@ var _sfc_main = {
|
|
|
289
295
|
"stroke-linecap": "round",
|
|
290
296
|
"stroke-linejoin": "round"
|
|
291
297
|
})], -1)])], 8, _hoisted_11),
|
|
292
|
-
_cache[
|
|
298
|
+
_cache[17] || (_cache[17] = require__plugin_vue_export_helper.createElementVNode("span", {
|
|
293
299
|
class: "sd-find-replace__divider",
|
|
294
300
|
"aria-hidden": "true"
|
|
295
301
|
}, null, -1)),
|
|
@@ -299,7 +305,7 @@ var _sfc_main = {
|
|
|
299
305
|
title: __props.findReplace.texts.closeLabel,
|
|
300
306
|
"aria-label": __props.findReplace.texts.closeAriaLabel,
|
|
301
307
|
onClick: handleClose
|
|
302
|
-
}, [..._cache[
|
|
308
|
+
}, [..._cache[16] || (_cache[16] = [require__plugin_vue_export_helper.createElementVNode("svg", {
|
|
303
309
|
viewBox: "0 0 16 16",
|
|
304
310
|
width: "16",
|
|
305
311
|
height: "16",
|
|
@@ -314,38 +320,40 @@ var _sfc_main = {
|
|
|
314
320
|
])
|
|
315
321
|
]),
|
|
316
322
|
__props.findReplace.showReplace.value && showReplaceControls.value ? (require__plugin_vue_export_helper.openBlock(), require__plugin_vue_export_helper.createElementBlock("div", _hoisted_13, [
|
|
317
|
-
_cache[
|
|
323
|
+
_cache[18] || (_cache[18] = require__plugin_vue_export_helper.createElementVNode("span", {
|
|
318
324
|
class: "sd-find-replace__row-indent",
|
|
319
325
|
"aria-hidden": "true"
|
|
320
326
|
}, null, -1)),
|
|
321
327
|
require__plugin_vue_export_helper.createElementVNode("div", _hoisted_14, [require__plugin_vue_export_helper.createElementVNode("input", {
|
|
322
328
|
value: __props.findReplace.replaceText.value,
|
|
323
|
-
onInput:
|
|
329
|
+
onInput: handleReplaceInput,
|
|
324
330
|
type: "text",
|
|
325
331
|
class: "sd-find-replace__input",
|
|
326
332
|
placeholder: __props.findReplace.texts.replacePlaceholder,
|
|
327
333
|
"aria-label": __props.findReplace.texts.replaceAriaLabel,
|
|
328
|
-
onKeydown: _cache[
|
|
334
|
+
onKeydown: _cache[9] || (_cache[9] = require__plugin_vue_export_helper.withKeys(require__plugin_vue_export_helper.withModifiers(($event) => __props.findReplace.replaceCurrent(), ["prevent"]), ["enter"]))
|
|
329
335
|
}, null, 40, _hoisted_15)]),
|
|
330
336
|
require__plugin_vue_export_helper.createElementVNode("div", _hoisted_16, [require__plugin_vue_export_helper.createElementVNode("button", {
|
|
331
337
|
type: "button",
|
|
332
338
|
class: "sd-find-replace__btn sd-find-replace__btn--action",
|
|
333
339
|
disabled: replaceDisabled.value,
|
|
334
340
|
title: __props.findReplace.texts.replaceLabel,
|
|
335
|
-
onClick: _cache[
|
|
341
|
+
onClick: _cache[10] || (_cache[10] = ($event) => __props.findReplace.replaceCurrent())
|
|
336
342
|
}, require__plugin_vue_export_helper.toDisplayString(__props.findReplace.texts.replaceLabel), 9, _hoisted_17), require__plugin_vue_export_helper.createElementVNode("button", {
|
|
337
343
|
type: "button",
|
|
338
344
|
class: "sd-find-replace__btn sd-find-replace__btn--action",
|
|
339
345
|
disabled: replaceAllDisabled.value,
|
|
340
346
|
title: __props.findReplace.texts.replaceAllLabel,
|
|
341
|
-
onClick: _cache[
|
|
347
|
+
onClick: _cache[11] || (_cache[11] = ($event) => __props.findReplace.replaceAll())
|
|
342
348
|
}, require__plugin_vue_export_helper.toDisplayString(__props.findReplace.texts.replaceAllLabel), 9, _hoisted_18)])
|
|
343
349
|
])) : require__plugin_vue_export_helper.createCommentVNode("", true),
|
|
344
350
|
searchErrorText.value ? (require__plugin_vue_export_helper.openBlock(), require__plugin_vue_export_helper.createElementBlock("div", _hoisted_19, [showReplaceControls.value ? (require__plugin_vue_export_helper.openBlock(), require__plugin_vue_export_helper.createElementBlock("span", _hoisted_20)) : require__plugin_vue_export_helper.createCommentVNode("", true), require__plugin_vue_export_helper.createElementVNode("span", _hoisted_21, require__plugin_vue_export_helper.toDisplayString(searchErrorText.value), 1)])) : require__plugin_vue_export_helper.createCommentVNode("", true)
|
|
345
351
|
], 40, _hoisted_1);
|
|
346
352
|
};
|
|
347
353
|
}
|
|
348
|
-
};
|
|
349
|
-
|
|
354
|
+
});
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region src/components/surfaces/FindReplaceSurface.vue
|
|
357
|
+
var FindReplaceSurface_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(FindReplaceSurface_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-7fda565b"]]);
|
|
350
358
|
//#endregion
|
|
351
359
|
exports.default = FindReplaceSurface_default;
|
package/dist/chunks/{PasswordPromptSurface-DGjmN7A-.es.js → PasswordPromptSurface-6mF6Azda.es.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as openBlock, G as toDisplayString, a as computed, at as withModifiers, c as createCommentVNode, et as vModelText, it as withKeys, l as createElementBlock, rt as withDirectives, t as _plugin_vue_export_helper_default, u as createElementVNode, z as ref } from "./_plugin-vue_export-helper-CsJQtMvr.es.js";
|
|
2
|
-
//#region src/components/surfaces/PasswordPromptSurface.vue
|
|
1
|
+
import { F as openBlock, G as toDisplayString, a as computed, at as withModifiers, c as createCommentVNode, et as vModelText, h as defineComponent, it as withKeys, l as createElementBlock, rt as withDirectives, t as _plugin_vue_export_helper_default, u as createElementVNode, z as ref } from "./_plugin-vue_export-helper-CsJQtMvr.es.js";
|
|
2
|
+
//#region src/components/surfaces/PasswordPromptSurface.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["onKeydown"];
|
|
4
4
|
var _hoisted_2 = ["id"];
|
|
5
5
|
var _hoisted_3 = { class: "sd-password-prompt__description" };
|
|
@@ -17,7 +17,9 @@ var _hoisted_6 = {
|
|
|
17
17
|
var _hoisted_7 = { class: "sd-password-prompt__actions" };
|
|
18
18
|
var _hoisted_8 = ["disabled"];
|
|
19
19
|
var _hoisted_9 = ["disabled"];
|
|
20
|
-
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/surfaces/PasswordPromptSurface.vue
|
|
22
|
+
var PasswordPromptSurface_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
21
23
|
__name: "PasswordPromptSurface",
|
|
22
24
|
props: {
|
|
23
25
|
surfaceId: {
|
|
@@ -107,6 +109,6 @@ var PasswordPromptSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
107
109
|
], 40, _hoisted_1);
|
|
108
110
|
};
|
|
109
111
|
}
|
|
110
|
-
}, [["__scopeId", "data-v-
|
|
112
|
+
}), [["__scopeId", "data-v-be1c5e2c"]]);
|
|
111
113
|
//#endregion
|
|
112
114
|
export { PasswordPromptSurface_default as default };
|
package/dist/chunks/{PasswordPromptSurface-BpqP4pUa.cjs → PasswordPromptSurface-BNkaztaP.cjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-6MBoygIY.cjs");
|
|
2
|
-
//#region src/components/surfaces/PasswordPromptSurface.vue
|
|
2
|
+
//#region src/components/surfaces/PasswordPromptSurface.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["onKeydown"];
|
|
4
4
|
var _hoisted_2 = ["id"];
|
|
5
5
|
var _hoisted_3 = { class: "sd-password-prompt__description" };
|
|
@@ -17,7 +17,7 @@ var _hoisted_6 = {
|
|
|
17
17
|
var _hoisted_7 = { class: "sd-password-prompt__actions" };
|
|
18
18
|
var _hoisted_8 = ["disabled"];
|
|
19
19
|
var _hoisted_9 = ["disabled"];
|
|
20
|
-
var
|
|
20
|
+
var PasswordPromptSurface_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ require__plugin_vue_export_helper.defineComponent({
|
|
21
21
|
__name: "PasswordPromptSurface",
|
|
22
22
|
props: {
|
|
23
23
|
surfaceId: {
|
|
@@ -107,7 +107,9 @@ var _sfc_main = {
|
|
|
107
107
|
], 40, _hoisted_1);
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
};
|
|
111
|
-
|
|
110
|
+
});
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/components/surfaces/PasswordPromptSurface.vue
|
|
113
|
+
var PasswordPromptSurface_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(PasswordPromptSurface_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-be1c5e2c"]]);
|
|
112
114
|
//#endregion
|
|
113
115
|
exports.default = PasswordPromptSurface_default;
|
|
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
19
19
|
var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
|
|
20
20
|
var ENGINE_INFO = Object.freeze({
|
|
21
21
|
...PRIVATE_ENGINE_INFO,
|
|
22
|
-
superdocVersion: "2.29.0-next.
|
|
22
|
+
superdocVersion: "2.29.0-next.3",
|
|
23
23
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
24
24
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
25
25
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
18
18
|
var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
|
|
19
19
|
var ENGINE_INFO = Object.freeze({
|
|
20
20
|
...PRIVATE_ENGINE_INFO,
|
|
21
|
-
superdocVersion: "2.29.0-next.
|
|
21
|
+
superdocVersion: "2.29.0-next.3",
|
|
22
22
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
23
23
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
24
24
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|