@cling-se/widget 0.21.4 → 0.22.2
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/CHANGELOG.md +22 -0
- package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CtfDZ5iE.js} +7 -7
- package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-DER90JgH.js} +935 -651
- package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-CFxoxFwU.js} +9 -9
- package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-D3vsnEbC.js} +2 -2
- package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-CrmRCTpi.js} +1 -1
- package/dist/{CCallout-wp8bWld3.js → CCallout-B86E6HJd.js} +5 -5
- package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
- package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-BU65rYaX.js} +8 -8
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +13 -13
- package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CSys3pPM.js} +1 -1
- package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-hF_VGitf.js} +5 -5
- package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-CLM3EzaL.js} +2 -2
- package/dist/{CSelect-DDYAe8O9.js → CSelect-DsoRaNYd.js} +5 -5
- package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-B0wL3--W.js} +7 -7
- package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-qkpa-KG_.js} +16 -16
- package/dist/{ClientModal-C3UbUFjz.js → ClientModal-BHUD-VYM.js} +135 -127
- package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-uVefUdOd.js} +21 -21
- package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-C38jvSZX.js} +66 -67
- package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Du0rszAK.js} +15 -15
- package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-DqKNt5cM.js} +19 -19
- package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Bm6FQnu7.js} +2 -2
- package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Cg1EQ2xc.js} +100 -94
- package/dist/{DocForm-YI0UG4lv.js → DocForm-DUjeY7qQ.js} +440 -438
- package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-B8x93Oo_.js} +2 -2
- package/dist/{DocLinks-CPhh8hox.js → DocLinks-bnZCCfQJ.js} +2 -2
- package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-CwuAA5_c.js} +1 -1
- package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-DkmwNCYi.js} +9 -9
- package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-BzrwYz7z.js} +111 -81
- package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder--ZuTWwRa.js} +1 -1
- package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-CblX6a9b.js} +8 -8
- package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-C3cx2eIz.js} +6 -6
- package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-B9yEPQ1U.js} +5 -5
- package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-BMgU3m7Q.js} +32 -32
- package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-BBA1HLK3.js} +31 -34
- package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-AL_vXoWD.js} +1 -1
- package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-BHy9NMjl.js} +18 -18
- package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-DwcY0r8D.js} +5 -5
- package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-DKV9zW1H.js} +4 -4
- package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-DEoFvxri.js} +2 -2
- package/dist/{Flag-U3wm6frF.js → Flag-BZ7C12iN.js} +1 -1
- package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-Bsj1JZNt.js} +20 -20
- package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-Dd9le6p5.js} +3 -3
- package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-DY9TKhpB.js} +23 -23
- package/dist/{Index-DZzmEObV.js → Index-4ZB096MF.js} +9 -9
- package/dist/{Index-B0js1lQ9.js → Index-B1HU3FW8.js} +11 -11
- package/dist/{Index-hzFkpPtu.js → Index-B3S-W2Du.js} +26 -26
- package/dist/{Index-cb83jmmP.js → Index-B8v_k79U.js} +4 -4
- package/dist/{Index-jCDreJV4.js → Index-BPua2gSJ.js} +5 -5
- package/dist/{Index-UkLmXQf7.js → Index-BSDQejtT.js} +10 -10
- package/dist/{Index-Bh58_V98.js → Index-BW4sv9So.js} +5 -5
- package/dist/{Index-gZpXuLSM.js → Index-BWog4DkS.js} +2 -2
- package/dist/{Index-DIfpkUtR.js → Index-BZ5ZfAMl.js} +8 -8
- package/dist/Index-BfMZgBeX.js +4 -0
- package/dist/{Index-BBnlZtoe.js → Index-Bx8Dt9rr.js} +5 -5
- package/dist/{Index-BQUdVuCj.js → Index-C9W7656O.js} +8 -8
- package/dist/{Index-DwAyOR71.js → Index-CB7F-c3z.js} +3 -3
- package/dist/{Index-ZNidoNys.js → Index-CEg8sUf6.js} +2 -2
- package/dist/{Index-z6FhBfRg.js → Index-CEm7_7xb.js} +2 -2
- package/dist/{Index-011UWI-5.js → Index-CGDHE6Q9.js} +3 -3
- package/dist/{Index-Dmd9h-QW.js → Index-CadObAqC.js} +3 -3
- package/dist/{Index-C-Y_FGIG.js → Index-Cazuortx.js} +30 -30
- package/dist/{Index-BPE5xozF.js → Index-Cfh_uoVu.js} +1 -1
- package/dist/{Index-D8T4ZAGK.js → Index-D9S6btwh.js} +4 -4
- package/dist/{Index-BOxSyAOT.js → Index-DCeSSD89.js} +4 -4
- package/dist/{Index-C8tXlpnc.js → Index-DLzhjgNh.js} +4 -4
- package/dist/{Index-BbINQ0SU.js → Index-Da3NMw99.js} +1 -1
- package/dist/{Index-06RLiHU7.js → Index-DiQG7Yys.js} +8 -8
- package/dist/{Index-DND_3eOV.js → Index-DkuudM32.js} +14 -14
- package/dist/{Index-C6eCTYlb.js → Index-DpNsBSK5.js} +7 -7
- package/dist/{Index-BNrnEteM.js → Index-DsAM46X9.js} +6 -6
- package/dist/{Index-BZ3G8u4L.js → Index-IOHmUaDV.js} +16 -16
- package/dist/{Index-HpvIqyQK.js → Index-N95Kg_Bu.js} +4 -4
- package/dist/Index-T8YnqXUP.js +106 -0
- package/dist/{Index-C9yjlO_o.js → Index-bSfn5DlT.js} +13 -13
- package/dist/{Index-AOzEiDJ6.js → Index-hOzI3WwH.js} +2 -2
- package/dist/{Index-Lr-w-2nq.js → Index-lxyzCTwv.js} +28 -28
- package/dist/{Index-DspgGnIy.js → Index-usMDK34R.js} +6 -6
- package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
- package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DX08yhB8.js} +9 -9
- package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-DjkDQLEk.js} +3 -3
- package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-BRDS1uEY.js} +3 -3
- package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-gttVLkSY.js} +2 -2
- package/dist/{PackageGroup-DonphykF.js → PackageGroup-DqCNizOl.js} +10 -10
- package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-9EF-oTZV.js} +4 -4
- package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-fgokwyxy.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
- package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-DBiTZGL4.js} +25 -25
- package/dist/{SearchApi-B2ED3FdK.js → SearchApi-DP2NKS7Z.js} +1 -1
- package/dist/{SendForm-Bz1AN65o.js → SendForm-Dx-meiU3.js} +451 -421
- package/dist/{Setup-BIa-5REE.js → Setup-KZckFxmn.js} +1 -1
- package/dist/{SmartList-C9DXNnNX.js → SmartList-C7tf3UFs.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +35 -35
- package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-O43bydwI.js} +11 -11
- package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-BiIviRnJ.js} +5 -5
- package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-DNh6J5WO.js} +4 -4
- package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BLnwHEtM.js} +2 -2
- package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-CDSsWKbt.js} +6 -6
- package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-9e0rWXBn.js} +6 -6
- package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-DdmGQUJs.js} +9 -9
- package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
- package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-VO67JhNj.js} +1 -1
- package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-C6LfSfkU.js} +1 -1
- package/dist/{helpers-vOT4bDZk.js → helpers-DdvMGJyI.js} +1 -1
- package/dist/{index-aqgR0F9F.js → index--tMYYuEo.js} +30 -30
- package/dist/{index-C_k-2pHu.js → index-BtdoM5zU.js} +7 -7
- package/dist/{index-BinehglS.js → index-C6t6B42B.js} +26 -25
- package/dist/{index-DIxSHthq.js → index-CYrm4Bbf.js} +1 -1
- package/dist/{index-DSDwk2v_.js → index-Cn5TO9wL.js} +6 -6
- package/dist/{index-Cm9MF5Ro.js → index-DrxPFi0q.js} +22 -22
- package/dist/{index-BtZlk67X.js → index-SreRcZHY.js} +13 -13
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +151 -149
- package/dist/{main-CCA1EgK_.js → main-BI2UvBxx.js} +8359 -8142
- package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-DmIyfVCN.js} +2 -2
- package/dist/omit-FBv_EXqi.js +56 -0
- package/dist/{splitpanes-B5GGsG65.js → splitpanes-CpTZw8TJ.js} +1 -1
- package/dist/{template-BTmi3cQk.js → template-B4OhhS85.js} +1 -1
- package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-D5nfFX7g.js} +66 -66
- package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-CvdV0cT0.js} +4 -4
- package/dist/{utils-DLVtsRRz.js → utils-Blt-S487.js} +1 -1
- package/dist/validation-ZZ0eQUj2.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-1MRJMA0V.js +0 -4
- package/dist/Index-DGkk540X.js +0 -87
- package/dist/omit-sqUJ46Re.js +0 -56
- package/dist/publicSenderState-CSYveOTQ.js +0 -21
- package/dist/validation-DGxGtXMe.js +0 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import re from "./BaseUpload-
|
|
2
|
-
import { c as y, o as w,
|
|
1
|
+
import re from "./BaseUpload-D3vsnEbC.js";
|
|
2
|
+
import { c as y, o as w, U as B, b as T, f as R, w as $, F as Ct, q as Et, ap as nt, v as Bt, x as Ut, T as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, s as ae, t as he, aC as ce } from "./main-BI2UvBxx.js";
|
|
3
3
|
function Tt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -14,14 +14,14 @@ function v(t) {
|
|
|
14
14
|
for (var e = 1; e < arguments.length; e++) {
|
|
15
15
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
16
16
|
e % 2 ? Tt(Object(i), !0).forEach(function(s) {
|
|
17
|
-
|
|
17
|
+
E(t, s, i[s]);
|
|
18
18
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Tt(Object(i)).forEach(function(s) {
|
|
19
19
|
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(i, s));
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
return t;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function E(t, e, i) {
|
|
25
25
|
return e in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
26
26
|
}
|
|
27
27
|
function le(t, e) {
|
|
@@ -260,7 +260,7 @@ var ct = O("vue-handler-wrapper"), Vt = { name: "HandlerWrapper", components: {
|
|
|
260
260
|
var t;
|
|
261
261
|
if (this.horizontalPosition || this.verticalPosition) {
|
|
262
262
|
var e, i = Xt(this.horizontalPosition, this.verticalPosition);
|
|
263
|
-
t = ct((
|
|
263
|
+
t = ct((E(e = {}, i.classname, !0), E(e, "disabled", this.disabled), e));
|
|
264
264
|
} else t = ct({ disabled: this.disabled });
|
|
265
265
|
return { root: t, draggable: ct("draggable") };
|
|
266
266
|
} }, emits: ["leave", "enter", "drag", "drag-end"] };
|
|
@@ -280,7 +280,7 @@ Vt.render = function(t, e, i, s, o, n) {
|
|
|
280
280
|
};
|
|
281
281
|
var fe = O("vue-line-wrapper"), qt = { name: "LineWrapper", components: { DraggableElement: Mt }, props: { position: { type: String, required: !0 }, disabled: { type: Boolean, default: !1 } }, computed: { classname: function() {
|
|
282
282
|
var t;
|
|
283
|
-
return fe((
|
|
283
|
+
return fe((E(t = {}, this.position, !0), E(t, "disabled", this.disabled), t));
|
|
284
284
|
} }, emits: ["leave", "enter", "drag", "drag-end"] };
|
|
285
285
|
qt.render = function(t, e, i, s, o, n) {
|
|
286
286
|
var a = T("DraggableElement");
|
|
@@ -471,7 +471,7 @@ function xe(t) {
|
|
|
471
471
|
var e, i, s = t.imageSize, o = t.visibleArea, n = t.boundaries, a = t.aspectRatio, h = t.sizeRestrictions, r = t.stencilSize, c = o || s;
|
|
472
472
|
return b(c) > b(n) ? i = (e = r.height * c.height / n.height) * b(r) : e = (i = r.width * c.width / n.width) / b(r), P({ width: i, height: e, aspectRatio: a, sizeRestrictions: h });
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Ce(t) {
|
|
475
475
|
var e = t.getAreaRestrictions, i = t.coordinates, s = t.imageSize, o = b(t.boundaries);
|
|
476
476
|
if (i) {
|
|
477
477
|
var n = { height: Math.max(i.height, s.height), width: Math.max(i.width, s.width) }, a = Zt({ width: b(n) > o ? n.width : n.height * o, height: b(n) > o ? n.width / o : n.height }, wt(e())), h = { left: i.left + i.width / 2 - a.width / 2, top: i.top + i.height / 2 - a.height / 2, width: a.width, height: a.height }, r = Z(i, H(f({ left: 0, top: 0 }, s))), c = {};
|
|
@@ -483,13 +483,13 @@ function Ee(t) {
|
|
|
483
483
|
function J(t, e) {
|
|
484
484
|
return Qt(t, H(e));
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Ee(t) {
|
|
487
487
|
var e = t.event, i = t.coordinates, s = t.visibleArea, o = t.sizeRestrictions, n = t.getAreaRestrictions, a = t.positionRestrictions, h = t.adjustStencil, r = e.scale, c = e.move, l = f({}, s), u = f({}, i), d = 1, m = 1, p = r.factor && Math.abs(r.factor - 1) > 1e-3;
|
|
488
488
|
l = x(l, { left: c.left || 0, top: c.top || 0 });
|
|
489
489
|
var g = { stencil: { minimum: Math.max(o.minWidth ? o.minWidth / u.width : 0, o.minHeight ? o.minHeight / u.height : 0), maximum: Math.min(o.maxWidth ? o.maxWidth / u.width : 1 / 0, o.maxHeight ? o.maxHeight / u.height : 1 / 0, Y(u, a)) }, area: { maximum: Y(l, n({ visibleArea: l, type: "resize" })) } };
|
|
490
490
|
r.factor && p && (r.factor < 1 ? (m = Math.max(r.factor, g.stencil.minimum)) > 1 && (m = 1) : r.factor > 1 && (m = Math.min(r.factor, Math.min(g.area.maximum, g.stencil.maximum))) < 1 && (m = 1)), m && (l = W(l, m, r.center));
|
|
491
|
-
var
|
|
492
|
-
return l = S(l = x(l, N(l, { left: a.left !== void 0 ? a.left -
|
|
491
|
+
var C = i.left - s.left, j = s.width + s.left - (i.width + i.left), _ = i.top - s.top, G = s.height + s.top - (i.height + i.top);
|
|
492
|
+
return l = S(l = x(l, N(l, { left: a.left !== void 0 ? a.left - C * m : void 0, top: a.top !== void 0 ? a.top - _ * m : void 0, bottom: a.bottom !== void 0 ? a.bottom + G * m : void 0, right: a.right !== void 0 ? a.right + j * m : void 0 })), n({ visibleArea: l, type: "move" })), u.width = u.width * m, u.height = u.height * m, u.left = l.left + C * m, u.top = l.top + _ * m, u = S(u, at(H(l), a)), r.factor && p && h && (r.factor > 1 ? d = Math.min(g.area.maximum, r.factor) / m : r.factor < 1 && (d = Math.max(u.height / l.height, u.width / l.width, r.factor / m)), d !== 1 && (l = x(l = S(l = W(l, d, r.factor > 1 ? r.center : M(u)), n({ visibleArea: l, type: "move" })), ot(N(u, H(l)))))), { coordinates: u, visibleArea: l };
|
|
493
493
|
}
|
|
494
494
|
function Te(t) {
|
|
495
495
|
var e = t.aspectRatio, i = t.getAreaRestrictions, s = t.coordinates, o = t.visibleArea, n = t.sizeRestrictions, a = t.positionRestrictions, h = t.imageSize, r = t.previousImageSize, c = t.angle, l = f({}, s), u = f({}, o), d = U(M(f({ left: 0, top: 0 }, r)), c);
|
|
@@ -510,8 +510,8 @@ function Lt(t) {
|
|
|
510
510
|
h && (u.left && u.left > 0 && u.right === 0 ? (r.right += u.left, r.left -= u.left) : u.right && u.right > 0 && u.left === 0 && (r.left += u.right, r.right -= u.right), u.top && u.top > 0 && u.bottom === 0 ? (r.bottom += u.top, r.top -= u.top) : u.bottom && u.bottom > 0 && u.top === 0 && (r.top += u.bottom, r.bottom -= u.bottom), u = Z(D(i, r), o));
|
|
511
511
|
var d = { width: 1 / 0, height: 1 / 0, left: 1 / 0, right: 1 / 0, top: 1 / 0, bottom: 1 / 0 };
|
|
512
512
|
if (I.forEach(function(g) {
|
|
513
|
-
var
|
|
514
|
-
|
|
513
|
+
var C = u[g];
|
|
514
|
+
C && r[g] && (d[g] = Math.max(0, 1 - C / r[g]));
|
|
515
515
|
}), a) {
|
|
516
516
|
var m = Math.min.apply(null, I.map(function(g) {
|
|
517
517
|
return d[g];
|
|
@@ -540,7 +540,7 @@ function tt(t, e, i) {
|
|
|
540
540
|
var Oe = O("vue-simple-handler"), De = O("vue-simple-handler-wrapper"), St = { name: "SimpleHandler", components: { HandlerWrapper: Vt }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
|
|
541
541
|
return { hover: !1 };
|
|
542
542
|
}, computed: { classes: function() {
|
|
543
|
-
var t, e = (
|
|
543
|
+
var t, e = (E(t = {}, this.horizontalPosition, !!this.horizontalPosition), E(t, this.verticalPosition, !!this.verticalPosition), E(t, "".concat(this.horizontalPosition, "-").concat(this.verticalPosition), !!(this.verticalPosition && this.horizontalPosition)), E(t, "hover", this.hover), t);
|
|
544
544
|
return { default: z(Oe(e), this.defaultClass, this.hover && this.hoverClass), wrapper: z(De(e), this.wrapperClass) };
|
|
545
545
|
} }, methods: { onDrag: function(t) {
|
|
546
546
|
this.$emit("drag", t);
|
|
@@ -560,7 +560,7 @@ St.render = function(t, e, i, s, o, n) {
|
|
|
560
560
|
var Ie = O("vue-simple-line"), $e = O("vue-simple-line-wrapper"), xt = { name: "SimpleLine", components: { LineWrapper: qt }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, position: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
|
|
561
561
|
return { hover: !1 };
|
|
562
562
|
}, computed: { classes: function() {
|
|
563
|
-
return { root: z(Ie(
|
|
563
|
+
return { root: z(Ie(E({}, this.position, !0)), this.defaultClass, this.hover && this.hoverClass), wrapper: z($e(E({}, this.position, !0)), this.wrapperClass) };
|
|
564
564
|
} }, methods: { onDrag: function(t) {
|
|
565
565
|
this.$emit("drag", t);
|
|
566
566
|
}, onEnter: function() {
|
|
@@ -621,7 +621,7 @@ var ut = O("vue-bounding-box"), He = ["east", "west", null], je = ["south", "nor
|
|
|
621
621
|
if (i && s) {
|
|
622
622
|
var a = o.horizontalDirection, h = o.verticalDirection, r = a === "east" ? i : a === "west" ? 0 : i / 2, c = h === "south" ? s : h === "north" ? 0 : s / 2;
|
|
623
623
|
n.wrapperClass = ut("handler"), n.wrapperStyle = { transform: "translate(".concat(r, "px, ").concat(c, "px)") }, t.transitions && t.transitions.enabled && (n.wrapperStyle.transition = "".concat(t.transitions.time, "ms ").concat(t.transitions.timingFunction));
|
|
624
|
-
} else n.wrapperClass = ut("handler",
|
|
624
|
+
} else n.wrapperClass = ut("handler", E({}, o.classname, !0));
|
|
625
625
|
e.push(n);
|
|
626
626
|
}
|
|
627
627
|
}), e;
|
|
@@ -638,13 +638,13 @@ var ut = O("vue-bounding-box"), He = ["east", "west", null], je = ["south", "nor
|
|
|
638
638
|
e === "west" ? h.left -= n : e === "east" && (h.right += n), i === "north" ? h.top -= a : i === "south" && (h.bottom += a), !i && e ? s = "width" : i && !e && (s = "height"), this.resizable && this.$emit("resize", new de(h, { allowedDirections: { left: e === "west" || !e, right: e === "east" || !e, bottom: i === "south" || !i, top: i === "north" || !i }, preserveAspectRatio: t.nativeEvent && t.nativeEvent.shiftKey, respectDirection: s }));
|
|
639
639
|
} }, emits: ["resize", "resize-end"] };
|
|
640
640
|
Kt.render = function(t, e, i, s, o, n) {
|
|
641
|
-
return w(), y("div", { ref: "box", class: n.classes.root, style: n.style }, [B(t.$slots, "default"), R("div", null, [(w(!0), y(
|
|
641
|
+
return w(), y("div", { ref: "box", class: n.classes.root, style: n.style }, [B(t.$slots, "default"), R("div", null, [(w(!0), y(Ct, null, Et(n.lineNodes, function(a) {
|
|
642
642
|
return w(), y(nt(a.component), { key: a.name, "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, position: a.name, disabled: a.disabled, onDrag: function(h) {
|
|
643
643
|
return n.onHandlerDrag(h, a.horizontalDirection, a.verticalDirection);
|
|
644
644
|
}, onDragEnd: e[1] || (e[1] = function(h) {
|
|
645
645
|
return n.onEnd();
|
|
646
646
|
}) }, null, 8, ["default-class", "hover-class", "wrapper-class", "position", "disabled", "onDrag"]);
|
|
647
|
-
}), 128))]), (w(!0), y(
|
|
647
|
+
}), 128))]), (w(!0), y(Ct, null, Et(n.handlerNodes, function(a) {
|
|
648
648
|
return w(), y("div", { key: a.name, style: a.wrapperStyle, class: a.wrapperClass }, [(w(), y(nt(a.component), { "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, "horizontal-position": a.horizontalDirection, "vertical-position": a.verticalDirection, disabled: a.disabled, onDrag: function(h) {
|
|
649
649
|
return n.onHandlerDrag(h, a.horizontalDirection, a.verticalDirection);
|
|
650
650
|
}, onDragEnd: e[2] || (e[2] = function(h) {
|
|
@@ -748,8 +748,8 @@ function Be(t) {
|
|
|
748
748
|
r++;
|
|
749
749
|
}
|
|
750
750
|
if (n && (s = n + 10, function(m, p, g) {
|
|
751
|
-
var
|
|
752
|
-
for (
|
|
751
|
+
var C, j = "";
|
|
752
|
+
for (C = p, g += p; C < g; C++) j += String.fromCharCode(m.getUint8(C));
|
|
753
753
|
return j;
|
|
754
754
|
}(i, n + 4, 4) === "Exif")) {
|
|
755
755
|
var c = i.getUint16(s);
|
|
@@ -964,8 +964,8 @@ var Ue = ["transitions"], L = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
964
964
|
if (m || (m = a.width >= a.height || d === 1 ? "width" : "height"), m === "width") {
|
|
965
965
|
var p = l / d - a.height;
|
|
966
966
|
if (c.top && c.bottom) {
|
|
967
|
-
var g = r.top,
|
|
968
|
-
r.bottom = tt(p,
|
|
967
|
+
var g = r.top, C = r.bottom;
|
|
968
|
+
r.bottom = tt(p, C, g), r.top = tt(p, g, C);
|
|
969
969
|
} else c.bottom ? r.bottom = p : c.top ? r.top = p : c.right ? r.right = 0 : c.left && (r.left = 0);
|
|
970
970
|
} else if (m === "height") {
|
|
971
971
|
var j = a.width - u * d;
|
|
@@ -1216,7 +1216,7 @@ var Ue = ["transitions"], L = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1216
1216
|
var t = this;
|
|
1217
1217
|
return this.appliedImageTransforms = v(v({}, this.defaultImageTransforms), {}, { flip: v({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then(function() {
|
|
1218
1218
|
t.priority !== "visible-area" && (t.visibleArea = null, t.resetCoordinates());
|
|
1219
|
-
var e, i, s, o, n, a, h = t.defaultVisibleArea ||
|
|
1219
|
+
var e, i, s, o, n, a, h = t.defaultVisibleArea || Ce;
|
|
1220
1220
|
t.visibleArea = F(h) ? h({ imageSize: t.imageSize, boundaries: t.boundaries, coordinates: t.priority !== "visible-area" ? t.coordinates : null, getAreaRestrictions: t.getAreaRestrictions, stencilSize: t.getStencilSize() }) : t.defaultVisibleArea, t.visibleArea = (e = { visibleArea: t.visibleArea, boundaries: t.boundaries, getAreaRestrictions: t.getAreaRestrictions }, i = e.visibleArea, s = e.boundaries, o = e.getAreaRestrictions, n = f({}, i), a = b(s), n.width / n.height !== a && (n.height = n.width / a), S(n, o({ visibleArea: n, type: "move" }))), t.priority === "visible-area" ? t.resetCoordinates() : t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("resetVisibleArea");
|
|
1221
1221
|
}).catch(function() {
|
|
1222
1222
|
t.visibleArea = null;
|
|
@@ -1326,7 +1326,7 @@ var Ue = ["transitions"], L = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1326
1326
|
if (!this.transitionsOptions.enabled) {
|
|
1327
1327
|
var i = e.transitions, s = i !== void 0 && i, o = e.normalize, n = o === void 0 || o;
|
|
1328
1328
|
s && this.enableTransitions();
|
|
1329
|
-
var a =
|
|
1329
|
+
var a = Ee(v(v({}, this.getPublicProperties()), {}, { event: n ? this.normalizeEvent(t) : t, getAreaRestrictions: this.getAreaRestrictions, imageRestriction: this.imageRestriction, adjustStencil: !this.stencilSize && this.settings.resizeImage.adjustStencil })), h = a.visibleArea, r = a.coordinates;
|
|
1330
1330
|
this.visibleArea = h, this.coordinates = r, this.runAutoZoom("manipulateImage"), this.onChange(), s && this.debouncedDisableTransitions();
|
|
1331
1331
|
}
|
|
1332
1332
|
}, onPropsChange: function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a7 as k,
|
|
2
|
-
import { u as b } from "./useTermsModal-
|
|
1
|
+
import { a7 as k, k as o, I as c, n as h, d as i, o as n, c as v, ap as y, y as T, J as a, j as l, s as x, t as m, an as B, _ as C } from "./main-BI2UvBxx.js";
|
|
2
|
+
import { u as b } from "./useTermsModal-CvdV0cT0.js";
|
|
3
3
|
const g = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "terms-disclaimer"
|
|
@@ -13,9 +13,9 @@ const g = {
|
|
|
13
13
|
_document: {}
|
|
14
14
|
},
|
|
15
15
|
setup(e) {
|
|
16
|
-
const { showTermsModal: d } = b(), s = o("isPdf", !1), f = o("_firstBlock", !1), p = o("_lastBlock", !1),
|
|
17
|
-
() => s ? h(() => import("./PdfTerms-
|
|
18
|
-
), u = c(() => s &&
|
|
16
|
+
const { showTermsModal: d } = b(), s = o("isPdf", !1), f = o("_firstBlock", !1), p = o("_lastBlock", !1), r = c(
|
|
17
|
+
() => s ? h(() => import("./PdfTerms-9EF-oTZV.js")) : null
|
|
18
|
+
), u = c(() => s && r), _ = () => {
|
|
19
19
|
d({
|
|
20
20
|
text: e.text,
|
|
21
21
|
_document: e._document,
|
|
@@ -24,20 +24,20 @@ const g = {
|
|
|
24
24
|
href: e.href
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
-
return (t, I) => u.value ? (
|
|
27
|
+
return (t, I) => u.value ? (n(), i("div", {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: T({
|
|
30
30
|
"break-before-page": a(s) && !a(f),
|
|
31
31
|
"break-after-page": a(s) && !a(p)
|
|
32
32
|
})
|
|
33
33
|
}, [
|
|
34
|
-
(
|
|
34
|
+
(n(), v(y(r.value), {
|
|
35
35
|
text: t.text,
|
|
36
36
|
file: t.file
|
|
37
37
|
}, null, 8, ["text", "file"]))
|
|
38
|
-
], 2)) : (
|
|
38
|
+
], 2)) : (n(), i("div", g, [
|
|
39
39
|
l("div", w, [
|
|
40
|
-
|
|
40
|
+
x(m(t._document.$t("chapters.termsDisclaimer.description")) + " ", 1),
|
|
41
41
|
l("a", {
|
|
42
42
|
onClick: B(_, ["prevent"]),
|
|
43
43
|
target: "_blank",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { m as O } from "./mapFormMixin-
|
|
2
|
-
import { f as a,
|
|
3
|
-
import { g as q, M as
|
|
1
|
+
import { m as O } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { f as a, bo as C, af as k, aU as U, ah as v, v as $, J as B, bf as N, d as u, o as d, Y as A, _ as M, b as l, j as f, F as j, q as P, y as S, t as b, X as V, bp as R, c as L, w as p, an as I, e as y, s as J, bq as w, br as x, bs as F } from "./main-BI2UvBxx.js";
|
|
3
|
+
import { g as q, M as K } from "./splitpanes-CpTZw8TJ.js";
|
|
4
4
|
import { e as z } from "./dom-DOcGU3-g.js";
|
|
5
|
-
const
|
|
5
|
+
const W = `
|
|
6
6
|
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
|
|
7
7
|
`, Y = (e, { _document: t, id: o, firstRender: n }) => `
|
|
8
8
|
<!DOCTYPE html>
|
|
9
9
|
<html>
|
|
10
10
|
<head>
|
|
11
|
-
<style>${
|
|
11
|
+
<style>${W}</style>
|
|
12
12
|
<style>${e.css}</style>
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
@@ -338,7 +338,7 @@ function nt(e, t, o, n, i, s) {
|
|
|
338
338
|
size: "18"
|
|
339
339
|
})
|
|
340
340
|
]),
|
|
341
|
-
(d(!0), u(j, null,
|
|
341
|
+
(d(!0), u(j, null, P(o.items, (r) => (d(), u("div", {
|
|
342
342
|
key: r.value,
|
|
343
343
|
class: S([{
|
|
344
344
|
"tab-item-active": o.modelValue === r.value
|
|
@@ -381,7 +381,7 @@ const at = /* @__PURE__ */ M(tt, [["render", nt], ["__scopeId", "data-v-9d0870ca
|
|
|
381
381
|
components: {
|
|
382
382
|
Tabs: at,
|
|
383
383
|
MonacoEditor: G,
|
|
384
|
-
Splitpanes:
|
|
384
|
+
Splitpanes: K,
|
|
385
385
|
Pane: q,
|
|
386
386
|
CustomView: T
|
|
387
387
|
},
|
|
@@ -444,7 +444,7 @@ const at = /* @__PURE__ */ M(tt, [["render", nt], ["__scopeId", "data-v-9d0870ca
|
|
|
444
444
|
"template"
|
|
445
445
|
], o = { ...e };
|
|
446
446
|
return t.forEach((n) => {
|
|
447
|
-
|
|
447
|
+
R(o, n);
|
|
448
448
|
}), o;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -482,7 +482,7 @@ function dt(e, t, o, n, i, s) {
|
|
|
482
482
|
value: s.currentValue,
|
|
483
483
|
disabled: s.currentItem.disabled,
|
|
484
484
|
onChange: t[3] || (t[3] = (h) => e.$emit(`update:${i.currentTab}`, h)),
|
|
485
|
-
onKeyup: t[4] || (t[4] =
|
|
485
|
+
onKeyup: t[4] || (t[4] = I(() => {
|
|
486
486
|
}, ["stop"]))
|
|
487
487
|
}, null, 8, ["language", "value", "disabled"])
|
|
488
488
|
]),
|
|
@@ -511,7 +511,7 @@ function dt(e, t, o, n, i, s) {
|
|
|
511
511
|
_: 1
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
|
-
const ct = /* @__PURE__ */ M(rt, [["render", dt], ["__scopeId", "data-v-1f130fcb"]]), _ =
|
|
514
|
+
const ct = /* @__PURE__ */ M(rt, [["render", dt], ["__scopeId", "data-v-1f130fcb"]]), _ = F(), ut = {
|
|
515
515
|
components: {
|
|
516
516
|
CustomView: T,
|
|
517
517
|
CustomModal: ct
|
|
@@ -631,7 +631,7 @@ function ft(e, t, o, n, i, s) {
|
|
|
631
631
|
onClick: s.openModal
|
|
632
632
|
}, {
|
|
633
633
|
default: p(() => [
|
|
634
|
-
|
|
634
|
+
J(b(e.$t("action")), 1)
|
|
635
635
|
]),
|
|
636
636
|
_: 1
|
|
637
637
|
}, 8, ["onClick"])
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./template-
|
|
3
|
-
import { i as L, s as
|
|
4
|
-
import { i as
|
|
5
|
-
import { v as R } from "./validation-
|
|
6
|
-
import { i as j } from "./fortnoxTheme-
|
|
7
|
-
import { w as D } from "./CDropdownItem-
|
|
8
|
-
import { D as U } from "./DocModalBase-
|
|
9
|
-
import { _ as F } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as W } from "./index-
|
|
11
|
-
import { a as _, m as
|
|
1
|
+
import { k as A, aK as x, n as T, _ as H, m as P, b as y, c as p, o as a, w as v, e as u, j as i, d, X as V, t as s, f, s as l, y as z, l as B, g as b, a5 as E, ap as N, v as C, al as O, h as M, af as S } from "./main-BI2UvBxx.js";
|
|
2
|
+
import "./template-B4OhhS85.js";
|
|
3
|
+
import { i as L, s as $ } from "./dom-DOcGU3-g.js";
|
|
4
|
+
import { i as q } from "./DocumentLayout-BMgU3m7Q.js";
|
|
5
|
+
import { v as R } from "./validation-ZZ0eQUj2.js";
|
|
6
|
+
import { i as j } from "./fortnoxTheme-C6LfSfkU.js";
|
|
7
|
+
import { w as D } from "./CDropdownItem-BU65rYaX.js";
|
|
8
|
+
import { D as U } from "./DocModalBase-CwuAA5_c.js";
|
|
9
|
+
import { _ as F } from "./CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js";
|
|
10
|
+
import { u as W } from "./index-SreRcZHY.js";
|
|
11
|
+
import { a as _, m as K, b as X } from "./index-BtdoM5zU.js";
|
|
12
12
|
function G(e) {
|
|
13
|
-
const { isValid: t } =
|
|
13
|
+
const { isValid: t } = A(R, null) || {}, { show: n, getOpenInstances: w } = x();
|
|
14
14
|
function o() {
|
|
15
15
|
var c;
|
|
16
16
|
return (c = w()) == null ? void 0 : c.some(
|
|
@@ -28,13 +28,13 @@ function G(e) {
|
|
|
28
28
|
T(
|
|
29
29
|
() => import(
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
"./AnswerModal-
|
|
31
|
+
"./AnswerModal-DER90JgH.js"
|
|
32
32
|
)
|
|
33
33
|
),
|
|
34
34
|
{
|
|
35
35
|
mode: c,
|
|
36
36
|
_document: e,
|
|
37
|
-
fullScreen:
|
|
37
|
+
fullScreen: q.value,
|
|
38
38
|
calcHeight: !!m.calcHeight
|
|
39
39
|
},
|
|
40
40
|
{
|
|
@@ -57,7 +57,7 @@ function G(e) {
|
|
|
57
57
|
answer: r
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const J = {
|
|
61
61
|
i18nOptions: {
|
|
62
62
|
namespaces: "components",
|
|
63
63
|
keyPrefix: "document.propertyDesignationModal"
|
|
@@ -102,8 +102,8 @@ const Q = {
|
|
|
102
102
|
return {
|
|
103
103
|
condominiumId: {
|
|
104
104
|
required: _(this.form === "condominium"),
|
|
105
|
-
minLength:
|
|
106
|
-
maxLength:
|
|
105
|
+
minLength: X(4),
|
|
106
|
+
maxLength: K(4)
|
|
107
107
|
},
|
|
108
108
|
condominiumOrgNo: {
|
|
109
109
|
required: _(this.form === "condominium")
|
|
@@ -171,7 +171,7 @@ const Q = {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
},
|
|
174
|
+
}, Q = { key: 1 }, Y = { class: "mb-2 text-lg font-semibold" }, Z = { class: "text-gray-700" }, ee = { key: 2 }, te = { class: "mb-2 text-lg font-semibold" }, ne = { class: "text-gray-700" }, ie = {
|
|
175
175
|
href: "https://www.lantmateriet.se/",
|
|
176
176
|
target: "_blank",
|
|
177
177
|
rel: "noopener",
|
|
@@ -205,7 +205,7 @@ function ye(e, t, n, w, o, r) {
|
|
|
205
205
|
}),
|
|
206
206
|
class: "negate-padding relative mb-8 border-b border-gray-100 bg-gray-50 pb-8 text-center"
|
|
207
207
|
}, [
|
|
208
|
-
o.view === "start" ? (a(), d("div",
|
|
208
|
+
o.view === "start" ? (a(), d("div", Q, [
|
|
209
209
|
i("div", Y, s(e.$t("title")), 1),
|
|
210
210
|
i("div", Z, s(e.$t("subTitle", { senderName: n.senderName })), 1)
|
|
211
211
|
])) : u("", !0),
|
|
@@ -380,7 +380,7 @@ function ye(e, t, n, w, o, r) {
|
|
|
380
380
|
_: 1
|
|
381
381
|
}, 8, ["class"]);
|
|
382
382
|
}
|
|
383
|
-
const Ce = /* @__PURE__ */ H(
|
|
383
|
+
const Ce = /* @__PURE__ */ H(J, [["render", ye]]), _e = {
|
|
384
384
|
i18nOptions: {
|
|
385
385
|
namespaces: "docAnswer",
|
|
386
386
|
messages: {
|
|
@@ -420,7 +420,7 @@ const Ce = /* @__PURE__ */ H(Q, [["render", ye]]), _e = {
|
|
|
420
420
|
data() {
|
|
421
421
|
return {
|
|
422
422
|
isInViewport: !1,
|
|
423
|
-
scrollToElement:
|
|
423
|
+
scrollToElement: $
|
|
424
424
|
};
|
|
425
425
|
},
|
|
426
426
|
computed: {
|
|
@@ -517,7 +517,7 @@ const Ce = /* @__PURE__ */ H(Q, [["render", ye]]), _e = {
|
|
|
517
517
|
}, De = ["innerHTML"], ke = ["innerHTML"], Ie = {
|
|
518
518
|
key: 2,
|
|
519
519
|
class: "text-center"
|
|
520
|
-
},
|
|
520
|
+
}, Ae = { style: { "font-weight": "600", "font-size": "calc(calc(1 * var(--rem)) + 2px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, xe = { style: { "text-decoration": "underline" } }, Te = { key: 3 }, Pe = { class: "callout accepted" }, ze = { class: "title" }, Be = {
|
|
521
521
|
key: 4,
|
|
522
522
|
class: "callout denied"
|
|
523
523
|
}, Ee = { class: "title" }, Ne = {
|
|
@@ -593,9 +593,9 @@ function Se(e, t, n, w, o, r) {
|
|
|
593
593
|
[m, r.isPreview && e.$t("previewTooltip")]
|
|
594
594
|
])
|
|
595
595
|
])) : n._document.answerActions.hasAnswered && n._document.answerActions.waitingForOthers ? (a(), d("div", Ie, [
|
|
596
|
-
i("div",
|
|
596
|
+
i("div", Ae, [
|
|
597
597
|
l(s(n._document.$t("chapters.answerButtons.youHave")) + " ", 1),
|
|
598
|
-
C((a(), d("span",
|
|
598
|
+
C((a(), d("span", xe, [
|
|
599
599
|
l(s(n._document.viewer.answer.didAccept ? n._document.$t("approved") : n._document.$t("denied")), 1)
|
|
600
600
|
])), [
|
|
601
601
|
[
|
|
@@ -641,7 +641,7 @@ function Se(e, t, n, w, o, r) {
|
|
|
641
641
|
])) : u("", !0)
|
|
642
642
|
])) : u("", !0);
|
|
643
643
|
}
|
|
644
|
-
const
|
|
644
|
+
const Je = /* @__PURE__ */ H(_e, [["render", Se], ["__scopeId", "data-v-dfc1eaf2"]]);
|
|
645
645
|
export {
|
|
646
|
-
|
|
646
|
+
Je as default
|
|
647
647
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as i } from "./mapFormMixin-
|
|
2
|
-
import { _ as p,
|
|
1
|
+
import { m as i } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { _ as p, n as e, b as o, c as a, o as s } from "./main-BI2UvBxx.js";
|
|
3
3
|
const u = {
|
|
4
4
|
name: "EstimatedWorkStartAndEndAtText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: e(() => import("./Index-
|
|
7
|
-
Edit: e(() => import("./Index-
|
|
6
|
+
Read: e(() => import("./Index-hOzI3WwH.js")),
|
|
7
|
+
Edit: e(() => import("./Index-CadObAqC.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [i(["startAt", "endAt"])]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { m as u } from "./mapFormMixin-
|
|
2
|
-
import { _ as r,
|
|
1
|
+
import { m as u } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { _ as r, n as t, b as o, c as i, o as m } from "./main-BI2UvBxx.js";
|
|
3
3
|
const d = {
|
|
4
4
|
name: "EstimatedTimeToComplete",
|
|
5
5
|
components: {
|
|
6
|
-
Read: t(() => import("./Index-
|
|
7
|
-
Edit: t(() => import("./Index-
|
|
6
|
+
Read: t(() => import("./Index-Bx8Dt9rr.js")),
|
|
7
|
+
Edit: t(() => import("./Index-D9S6btwh.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [u(["noOfTimeUnits", "timeUnit"])]
|
|
11
11
|
};
|
|
12
|
-
function c(n, e,
|
|
12
|
+
function c(n, e, f, l, _, E) {
|
|
13
13
|
const s = o("Edit"), a = o("Read");
|
|
14
14
|
return n.canEdit ? (m(), i(s, {
|
|
15
15
|
key: 0,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { m as h } from "./mapFormMixin-
|
|
2
|
-
import { B as C } from "./BlockMedia-
|
|
3
|
-
import { T as y } from "./DocTextEditor-
|
|
4
|
-
import { u as g } from "./DocumentLayout-
|
|
5
|
-
import { f as $ } from "./focusDrawerMixin-
|
|
6
|
-
import { _ as w,
|
|
1
|
+
import { m as h } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { B as C } from "./BlockMedia-CrmRCTpi.js";
|
|
3
|
+
import { T as y } from "./DocTextEditor-CblX6a9b.js";
|
|
4
|
+
import { u as g } from "./DocumentLayout-BMgU3m7Q.js";
|
|
5
|
+
import { f as $ } from "./focusDrawerMixin-Cz1mPbI5.js";
|
|
6
|
+
import { _ as w, n as M, b as t, d, o as n, j as a, e as v, f as l, c as u, F as V, w as c, s as b, t as T, y as E, ad as S, ae as x, af as N, ag as A, ah as D } from "./main-BI2UvBxx.js";
|
|
7
7
|
const F = {
|
|
8
8
|
name: "CoverBlock",
|
|
9
9
|
components: {
|
|
10
10
|
BlockMedia: C,
|
|
11
11
|
TextEditor: y,
|
|
12
12
|
CoverBlockSettings: M(
|
|
13
|
-
() => import("./CoverBlockSettings-
|
|
13
|
+
() => import("./CoverBlockSettings-DqKNt5cM.js")
|
|
14
14
|
)
|
|
15
15
|
},
|
|
16
16
|
emits: ["section-remove"],
|
|
@@ -34,7 +34,7 @@ const F = {
|
|
|
34
34
|
) : D(e, this._document._doc);
|
|
35
35
|
},
|
|
36
36
|
set(e) {
|
|
37
|
-
this.setValue({ key: "text", value:
|
|
37
|
+
this.setValue({ key: "text", value: x(e) });
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
media() {
|
|
@@ -44,7 +44,7 @@ const F = {
|
|
|
44
44
|
},
|
|
45
45
|
methods: {
|
|
46
46
|
setValue({ key: e, value: o }) {
|
|
47
|
-
this.coverBlock =
|
|
47
|
+
this.coverBlock = S(this.coverBlock, e, o);
|
|
48
48
|
},
|
|
49
49
|
onAdd() {
|
|
50
50
|
var e;
|
|
@@ -52,7 +52,7 @@ const F = {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}, W = { class: "cover-base" }, I = { class: "cover-text-wrapper no-drag" }, U = { class: "cover-text" }, P = { class: "footer-button" };
|
|
55
|
-
function j(e, o,
|
|
55
|
+
function j(e, o, z, m, i, r) {
|
|
56
56
|
const p = t("BlockMedia"), k = t("TextEditor"), f = t("CoverBlockSettings"), B = t("CButton"), _ = t("portal");
|
|
57
57
|
return n(), d("div", {
|
|
58
58
|
class: E([{ "is-700-plus": m.docWidth >= 700 }, "cover-root font-inter"]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as g } from "./mapFormMixin-
|
|
2
|
-
import { _ as c, S as y, l, b as r, d as t, o as n, j as a, e as d, f as m, t as V,
|
|
3
|
-
import { f as k } from "./focusDrawerMixin-
|
|
1
|
+
import { m as g } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { _ as c, S as y, n as l, b as r, d as t, o as n, j as a, e as d, f as m, t as V, T as w, y as z, F as C, c as E, w as S } from "./main-BI2UvBxx.js";
|
|
3
|
+
import { f as k } from "./focusDrawerMixin-Cz1mPbI5.js";
|
|
4
4
|
const h = {
|
|
5
5
|
name: "Embed",
|
|
6
6
|
i18nOptions: {
|
|
@@ -15,8 +15,8 @@ const h = {
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
components: {
|
|
18
|
-
EmbedSettings: l(() => import("./EmbedSettings-
|
|
19
|
-
EmbedInput: l(() => import("./EmbedInput-
|
|
18
|
+
EmbedSettings: l(() => import("./EmbedSettings-DwcY0r8D.js")),
|
|
19
|
+
EmbedInput: l(() => import("./EmbedInput-BHy9NMjl.js")),
|
|
20
20
|
Spinner: y
|
|
21
21
|
},
|
|
22
22
|
mixins: [g(["embed", "size"]), k],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "./PlainHtml.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { f as e,
|
|
1
|
+
import { _ as o } from "./PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js";
|
|
2
|
+
import { f as e, s as t } from "./main-BI2UvBxx.js";
|
|
3
3
|
const d = {
|
|
4
4
|
name: "ExtraWorkTimeImpactTextRead",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as U } from "./mapFormMixin-
|
|
2
|
-
import { V as C } from "./PdfViewer-
|
|
3
|
-
import { _ as F,
|
|
4
|
-
const
|
|
1
|
+
import { m as U } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { V as C } from "./PdfViewer-fgokwyxy.js";
|
|
3
|
+
import { _ as F, n as h, b as d, d as t, o as n, v as x, e as m, x as I, y as c, j as a, f as g, t as u, w as P, F as v, s as y, c as V, i as z, z as b } from "./main-BI2UvBxx.js";
|
|
4
|
+
const S = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "pdfBlock",
|
|
7
7
|
messages: {
|
|
@@ -21,10 +21,10 @@ const z = {
|
|
|
21
21
|
components: {
|
|
22
22
|
PdfViewer: C,
|
|
23
23
|
FileIcon: h(
|
|
24
|
-
() => import("./Index-
|
|
24
|
+
() => import("./Index-BfMZgBeX.js")
|
|
25
25
|
),
|
|
26
26
|
BaseUpload: h(
|
|
27
|
-
() => import("./BaseUpload-
|
|
27
|
+
() => import("./BaseUpload-D3vsnEbC.js")
|
|
28
28
|
)
|
|
29
29
|
},
|
|
30
30
|
mixins: [U(["file"])],
|
|
@@ -55,7 +55,7 @@ const z = {
|
|
|
55
55
|
// Fetch the file from API instead of AWS directly
|
|
56
56
|
fileUrl() {
|
|
57
57
|
if (!this.file || !this.file.url) return null;
|
|
58
|
-
const e =
|
|
58
|
+
const e = z.api.baseUrl;
|
|
59
59
|
if (this.file.url.startsWith(e)) return this.file.url;
|
|
60
60
|
try {
|
|
61
61
|
const { hostname: s } = new URL(this.file.url);
|
|
@@ -164,7 +164,7 @@ function O(e, s, f, i, o, l) {
|
|
|
164
164
|
])) : m("", !0)
|
|
165
165
|
], 32);
|
|
166
166
|
}
|
|
167
|
-
const M = /* @__PURE__ */ F(
|
|
167
|
+
const M = /* @__PURE__ */ F(S, [["render", O]]);
|
|
168
168
|
export {
|
|
169
169
|
M as default
|
|
170
170
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { f as t,
|
|
1
|
+
import { _ as a } from "./PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js";
|
|
2
|
+
import { f as t, s as e } from "./main-BI2UvBxx.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "EstimatedTimeToCompleteTextRead",
|
|
5
5
|
props: {
|
|
@@ -24,11 +24,11 @@ const r = {
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
render() {
|
|
27
|
-
const
|
|
27
|
+
const s = this.$tc(`_common:${this.timeUnit}`, {
|
|
28
28
|
count: this.noOfTimeUnits
|
|
29
29
|
});
|
|
30
|
-
return t(
|
|
31
|
-
default: () => [this.$t("text"), e(" "), t("strong", null, [
|
|
30
|
+
return t(a, null, {
|
|
31
|
+
default: () => [this.$t("text"), e(" "), t("strong", null, [s]), e(".")]
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
};
|