@harbour-enterprises/superdoc 1.0.0-alpha.60 → 1.0.0-alpha.61
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/style.css +17 -17
- package/dist/superdoc.es.js +23 -22
- package/dist/superdoc.es.js.map +1 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -19303,13 +19303,13 @@ span[data-v-36fffb56] {
|
|
|
19303
19303
|
padding: 1px;
|
|
19304
19304
|
}
|
|
19305
19305
|
|
|
19306
|
-
.image-field[data-v-
|
|
19306
|
+
.image-field[data-v-718ded21] {
|
|
19307
19307
|
overflow: hidden;
|
|
19308
19308
|
display: flex;
|
|
19309
19309
|
align-items: center;
|
|
19310
19310
|
margin-top: 2px;
|
|
19311
19311
|
}
|
|
19312
|
-
img[data-v-
|
|
19312
|
+
img[data-v-718ded21] {
|
|
19313
19313
|
max-height: 100%;
|
|
19314
19314
|
}
|
|
19315
19315
|
|
|
@@ -19331,7 +19331,7 @@ img[data-v-54a2e776] {
|
|
|
19331
19331
|
border: 2px solid #B015B3;
|
|
19332
19332
|
}
|
|
19333
19333
|
|
|
19334
|
-
.super-editor {
|
|
19334
|
+
.super-editor-in-viewer {
|
|
19335
19335
|
--header-height: 36px;
|
|
19336
19336
|
|
|
19337
19337
|
font-family: sans-serif;
|
|
@@ -19340,7 +19340,7 @@ img[data-v-54a2e776] {
|
|
|
19340
19340
|
height: 100%;
|
|
19341
19341
|
position: relative;
|
|
19342
19342
|
}
|
|
19343
|
-
.super-
|
|
19343
|
+
.super-editor-in-viewer__header {
|
|
19344
19344
|
display: flex;
|
|
19345
19345
|
align-items: center;
|
|
19346
19346
|
height: var(--header-height);
|
|
@@ -19348,39 +19348,39 @@ img[data-v-54a2e776] {
|
|
|
19348
19348
|
background: #fff;
|
|
19349
19349
|
box-shadow: rgb(0 0 0 / 10%) 0px -1px 0px 0px inset;
|
|
19350
19350
|
}
|
|
19351
|
-
.super-
|
|
19351
|
+
.super-editor-in-viewer__header .signer-redlining__yes-no-ctn {
|
|
19352
19352
|
margin-top: 0;
|
|
19353
19353
|
}
|
|
19354
|
-
.super-
|
|
19354
|
+
.super-editor-in-viewer__header-zoom-btns {
|
|
19355
19355
|
display: flex;
|
|
19356
19356
|
align-items: center;
|
|
19357
19357
|
gap: 10px;
|
|
19358
19358
|
}
|
|
19359
|
-
.super-
|
|
19359
|
+
.super-editor-in-viewer__zoom-btn {
|
|
19360
19360
|
font-size: 18px;
|
|
19361
19361
|
color: #363636;
|
|
19362
19362
|
cursor: pointer;
|
|
19363
19363
|
transition: all 0.2s;
|
|
19364
19364
|
}
|
|
19365
|
-
.super-
|
|
19366
|
-
.super-
|
|
19365
|
+
.super-editor-in-viewer__zoom-btn--active,
|
|
19366
|
+
.super-editor-in-viewer__zoom-btn:hover {
|
|
19367
19367
|
color: var(--hrbr-primary-color-active);
|
|
19368
19368
|
}
|
|
19369
|
-
.super-
|
|
19369
|
+
.super-editor-in-viewer__zoom-btn--disabled {
|
|
19370
19370
|
color: #848484;
|
|
19371
19371
|
pointer-events: none;
|
|
19372
19372
|
}
|
|
19373
|
-
.super-
|
|
19373
|
+
.super-editor-in-viewer__zoom-btn i {
|
|
19374
19374
|
display: block;
|
|
19375
19375
|
}
|
|
19376
|
-
.super-
|
|
19376
|
+
.super-editor-in-viewer__main {
|
|
19377
19377
|
position: absolute;
|
|
19378
19378
|
top: var(--header-height);
|
|
19379
19379
|
left: 0;
|
|
19380
19380
|
right: 0;
|
|
19381
19381
|
bottom: 0;
|
|
19382
19382
|
}
|
|
19383
|
-
.super-
|
|
19383
|
+
.super-editor-in-viewer__document {
|
|
19384
19384
|
position: absolute;
|
|
19385
19385
|
top: 0;
|
|
19386
19386
|
left: 0;
|
|
@@ -19390,15 +19390,15 @@ img[data-v-54a2e776] {
|
|
|
19390
19390
|
overflow: auto;
|
|
19391
19391
|
background: #fff;
|
|
19392
19392
|
}
|
|
19393
|
-
.super-
|
|
19393
|
+
.super-editor-in-viewer__document-wrapper {
|
|
19394
19394
|
width: 100%;
|
|
19395
19395
|
height: auto;
|
|
19396
19396
|
}
|
|
19397
|
-
.super-
|
|
19397
|
+
.super-editor-in-viewer__content-container {
|
|
19398
19398
|
max-height: 0;
|
|
19399
19399
|
overflow: visible;
|
|
19400
19400
|
}
|
|
19401
|
-
.super-
|
|
19401
|
+
.super-editor-in-viewer__content {
|
|
19402
19402
|
min-width: 800px;
|
|
19403
19403
|
padding: 38px 75px 75px;
|
|
19404
19404
|
/* opacity: 0;
|
|
@@ -19406,7 +19406,7 @@ img[data-v-54a2e776] {
|
|
|
19406
19406
|
transition: opacity 0.3s ease, visibility 0.3s ease;
|
|
19407
19407
|
transform-origin: 0 0;
|
|
19408
19408
|
}
|
|
19409
|
-
.super-
|
|
19409
|
+
.super-editor-in-viewer__content--visible {
|
|
19410
19410
|
opacity: 1;
|
|
19411
19411
|
visibility: visible;
|
|
19412
19412
|
}
|
package/dist/superdoc.es.js
CHANGED
|
@@ -181,7 +181,7 @@ var eventemitter3$1 = { exports: {} };
|
|
|
181
181
|
var eventemitter3Exports$1 = eventemitter3$1.exports;
|
|
182
182
|
const EventEmitter$2 = /* @__PURE__ */ getDefaultExportFromCjs$2(eventemitter3Exports$1);
|
|
183
183
|
/**
|
|
184
|
-
* @vue/shared v3.5.
|
|
184
|
+
* @vue/shared v3.5.10
|
|
185
185
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
186
186
|
* @license MIT
|
|
187
187
|
**/
|
|
@@ -385,7 +385,7 @@ const stringifySymbol = (v, i = "") => {
|
|
|
385
385
|
);
|
|
386
386
|
};
|
|
387
387
|
/**
|
|
388
|
-
* @vue/reactivity v3.5.
|
|
388
|
+
* @vue/reactivity v3.5.10
|
|
389
389
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
390
390
|
* @license MIT
|
|
391
391
|
**/
|
|
@@ -625,12 +625,17 @@ function endBatch() {
|
|
|
625
625
|
let e = batchedSub;
|
|
626
626
|
let next;
|
|
627
627
|
while (e) {
|
|
628
|
-
e.flags
|
|
628
|
+
if (!(e.flags & 1)) {
|
|
629
|
+
e.flags &= ~8;
|
|
630
|
+
}
|
|
629
631
|
e = e.next;
|
|
630
632
|
}
|
|
631
633
|
e = batchedSub;
|
|
632
634
|
batchedSub = void 0;
|
|
633
635
|
while (e) {
|
|
636
|
+
next = e.next;
|
|
637
|
+
e.next = void 0;
|
|
638
|
+
e.flags &= ~8;
|
|
634
639
|
if (e.flags & 1) {
|
|
635
640
|
try {
|
|
636
641
|
;
|
|
@@ -639,8 +644,6 @@ function endBatch() {
|
|
|
639
644
|
if (!error) error = err;
|
|
640
645
|
}
|
|
641
646
|
}
|
|
642
|
-
next = e.next;
|
|
643
|
-
e.next = void 0;
|
|
644
647
|
e = next;
|
|
645
648
|
}
|
|
646
649
|
}
|
|
@@ -1904,6 +1907,7 @@ class ComputedRefImpl {
|
|
|
1904
1907
|
this.depsTail = void 0;
|
|
1905
1908
|
this.flags = 16;
|
|
1906
1909
|
this.globalVersion = globalVersion - 1;
|
|
1910
|
+
this.next = void 0;
|
|
1907
1911
|
this.effect = this;
|
|
1908
1912
|
this["__v_isReadonly"] = !setter;
|
|
1909
1913
|
this.isSSR = isSSR;
|
|
@@ -2158,7 +2162,7 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
2158
2162
|
return value;
|
|
2159
2163
|
}
|
|
2160
2164
|
/**
|
|
2161
|
-
* @vue/runtime-core v3.5.
|
|
2165
|
+
* @vue/runtime-core v3.5.10
|
|
2162
2166
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
2163
2167
|
* @license MIT
|
|
2164
2168
|
**/
|
|
@@ -8401,12 +8405,12 @@ function initCustomFormatter() {
|
|
|
8401
8405
|
window.devtoolsFormatters = [formatter];
|
|
8402
8406
|
}
|
|
8403
8407
|
}
|
|
8404
|
-
const version$2 = "3.5.
|
|
8408
|
+
const version$2 = "3.5.10";
|
|
8405
8409
|
const warn$5 = !!(process.env.NODE_ENV !== "production") ? warn$1$2 : NOOP;
|
|
8406
8410
|
!!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
8407
8411
|
!!(process.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
|
|
8408
8412
|
/**
|
|
8409
|
-
* @vue/runtime-dom v3.5.
|
|
8413
|
+
* @vue/runtime-dom v3.5.10
|
|
8410
8414
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8411
8415
|
* @license MIT
|
|
8412
8416
|
**/
|
|
@@ -9090,6 +9094,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace2, parentComponent) =
|
|
|
9090
9094
|
if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
|
|
9091
9095
|
patchAttr(el, key, nextValue, isSVG2, parentComponent, key !== "value");
|
|
9092
9096
|
}
|
|
9097
|
+
} else if (
|
|
9098
|
+
// #11081 force set props for possible async custom element
|
|
9099
|
+
el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
|
|
9100
|
+
) {
|
|
9101
|
+
patchDOMProp(el, camelize(key), nextValue);
|
|
9093
9102
|
} else {
|
|
9094
9103
|
if (key === "true-value") {
|
|
9095
9104
|
el._trueValue = nextValue;
|
|
@@ -9130,13 +9139,7 @@ function shouldSetAsProp(el, key, value, isSVG2) {
|
|
|
9130
9139
|
if (isNativeOn(key) && isString(value)) {
|
|
9131
9140
|
return false;
|
|
9132
9141
|
}
|
|
9133
|
-
|
|
9134
|
-
return true;
|
|
9135
|
-
}
|
|
9136
|
-
if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
|
|
9137
|
-
return true;
|
|
9138
|
-
}
|
|
9139
|
-
return false;
|
|
9142
|
+
return key in el;
|
|
9140
9143
|
}
|
|
9141
9144
|
const getModelAssigner = (vnode) => {
|
|
9142
9145
|
const fn2 = vnode.props["onUpdate:modelValue"] || false;
|
|
@@ -9343,7 +9346,7 @@ function normalizeContainer(container) {
|
|
|
9343
9346
|
return container;
|
|
9344
9347
|
}
|
|
9345
9348
|
/**
|
|
9346
|
-
* vue v3.5.
|
|
9349
|
+
* vue v3.5.10
|
|
9347
9350
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9348
9351
|
* @license MIT
|
|
9349
9352
|
**/
|
|
@@ -19532,7 +19535,6 @@ function require_stream_duplex() {
|
|
|
19532
19535
|
}
|
|
19533
19536
|
var string_decoder = {};
|
|
19534
19537
|
var safeBuffer = { exports: {} };
|
|
19535
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
19536
19538
|
var hasRequiredSafeBuffer;
|
|
19537
19539
|
function requireSafeBuffer() {
|
|
19538
19540
|
if (hasRequiredSafeBuffer) return safeBuffer.exports;
|
|
@@ -19554,7 +19556,6 @@ function requireSafeBuffer() {
|
|
|
19554
19556
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
19555
19557
|
return Buffer3(arg, encodingOrOffset, length);
|
|
19556
19558
|
}
|
|
19557
|
-
SafeBuffer.prototype = Object.create(Buffer3.prototype);
|
|
19558
19559
|
copyProps(Buffer3, SafeBuffer);
|
|
19559
19560
|
SafeBuffer.from = function(arg, encodingOrOffset, length) {
|
|
19560
19561
|
if (typeof arg === "number") {
|
|
@@ -96018,7 +96019,7 @@ const _sfc_main$5 = {
|
|
|
96018
96019
|
const multipleInputAnnotations = computed(() => {
|
|
96019
96020
|
return getAnnotations.value.filter((a) => a.fieldId === props.field.id);
|
|
96020
96021
|
});
|
|
96021
|
-
computed(() => {
|
|
96022
|
+
const imageValue = computed(() => {
|
|
96022
96023
|
if (typeof props.field.value === "string") return props.field.value;
|
|
96023
96024
|
const annotationIndex = multipleInputAnnotations.value.findIndex((annotation) => annotation.originalAnnotationId === props.optionId);
|
|
96024
96025
|
const attachment = getAttachments.value.find((a) => a.id === props.field.value[annotationIndex]?.referenceattachmentid || a.id === props.field.value[annotationIndex]?.userattachmentid);
|
|
@@ -96031,7 +96032,7 @@ const _sfc_main$5 = {
|
|
|
96031
96032
|
}, [
|
|
96032
96033
|
__props.field.value ? (openBlock(), createElementBlock("img", {
|
|
96033
96034
|
key: 0,
|
|
96034
|
-
src:
|
|
96035
|
+
src: imageValue.value,
|
|
96035
96036
|
alt: "image",
|
|
96036
96037
|
style: normalizeStyle(getStyle.value)
|
|
96037
96038
|
}, null, 12, _hoisted_1$5)) : (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(__props.field.placeholder || __props.field.label), 1))
|
|
@@ -96039,7 +96040,7 @@ const _sfc_main$5 = {
|
|
|
96039
96040
|
};
|
|
96040
96041
|
}
|
|
96041
96042
|
};
|
|
96042
|
-
const ImageField = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
96043
|
+
const ImageField = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-718ded21"]]);
|
|
96043
96044
|
const _hoisted_1$4 = { class: "checkbox-container" };
|
|
96044
96045
|
const _sfc_main$4 = {
|
|
96045
96046
|
__name: "CheckboxField",
|
|
@@ -96253,7 +96254,7 @@ const _sfc_main$2 = {
|
|
|
96253
96254
|
}
|
|
96254
96255
|
};
|
|
96255
96256
|
const HrbrFieldsLayer = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-5a92a39c"]]);
|
|
96256
|
-
const _hoisted_1$1 = { class: "super-editor" };
|
|
96257
|
+
const _hoisted_1$1 = { class: "super-editor-in-viewer" };
|
|
96257
96258
|
const _hoisted_2$1 = ["innerHTML"];
|
|
96258
96259
|
const _sfc_main$1 = {
|
|
96259
96260
|
__name: "HtmlViewer",
|