@cling-se/widget 0.12.5 → 0.12.7

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.
Files changed (119) hide show
  1. package/dist/{AddClientCallout-d38447e9.js → AddClientCallout-db654e45.js} +5 -5
  2. package/dist/{AnswerModal-60fed10c.js → AnswerModal-d6b61c42.js} +19 -15
  3. package/dist/{AttachmentItem-7a97569e.js → AttachmentItem-d12e0ce3.js} +3 -3
  4. package/dist/{BaseDatePicker-586a3926.js → BaseDatePicker-86e8db95.js} +2 -2
  5. package/dist/{BaseInput-42ac25a2.js → BaseInput-7baacfd4.js} +5 -8
  6. package/dist/{BaseUpload-c295782d.js → BaseUpload-b0b02ba6.js} +2 -2
  7. package/dist/{BlockMedia-11f309cf.js → BlockMedia-1e3a0f94.js} +2 -2
  8. package/dist/{CCallout-d09a7a83.js → CCallout-0afae25b.js} +2 -2
  9. package/dist/{CDropdownItem-8fc4a155.js → CDropdownItem-dbc0c19a.js} +1 -1
  10. package/dist/{CField-30c37bbb.js → CField-4a2de42b.js} +1 -1
  11. package/dist/{CPhoneFormat-19d0676c.js → CPhoneFormat-62266ab8.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js → CSlider.vue_vue_type_style_index_0_lang-f1d09608.js} +1 -1
  13. package/dist/{ClientAutocomplete-52294d98.js → ClientAutocomplete-fa23cafc.js} +2 -2
  14. package/dist/{ClientModal-aa88eb21.js → ClientModal-b35ecbd9.js} +9 -6
  15. package/dist/{ColorPicker-891fa9ff.js → ColorPicker-ca942c8e.js} +1 -1
  16. package/dist/{CompanyModal-0e72aa2e.js → CompanyModal-ef0b7116.js} +3 -3
  17. package/dist/{ContentWrapper-a4ddc5d8.js → ContentWrapper-fdeca026.js} +15 -15
  18. package/dist/{CoverBlockSettings-691d6064.js → CoverBlockSettings-dfcd3846.js} +8 -8
  19. package/dist/{DocAnswer-7fc72be9.js → DocAnswer-2370a1af.js} +4 -4
  20. package/dist/{DocDetails-594b20bf.js → DocDetails-207df31a.js} +4 -4
  21. package/dist/{DocForm-880847a9.js → DocForm-07c9befa.js} +140 -92
  22. package/dist/{DocFormSend-9d282d49.js → DocFormSend-5be47b32.js} +17 -17
  23. package/dist/{DocLinks-9e5d5f96.js → DocLinks-c50287ff.js} +2 -2
  24. package/dist/{DocModalBase-7e1c49aa.js → DocModalBase-270f0ae7.js} +1 -1
  25. package/dist/{DocPrint-1e5e78b5.js → DocPrint-d522fca3.js} +5 -5
  26. package/dist/{DocReceipt-36f6fcaa.js → DocReceipt-f48a1a5d.js} +2 -4
  27. package/dist/{DocSendReminder-14d0bd2b.js → DocSendReminder-c11a77de.js} +1 -1
  28. package/dist/{DocTextEditor-cd03a1fe.js → DocTextEditor-2bd6054e.js} +34 -15
  29. package/dist/{DocTimeline-2c06a4b3.js → DocTimeline-0d67019f.js} +1 -1
  30. package/dist/{DocumentClient-66af4fe0.js → DocumentClient-eb003e96.js} +7 -7
  31. package/dist/{DocumentLayout-46669407.js → DocumentLayout-12013f0e.js} +4 -4
  32. package/dist/{DocumentLogotype-552d8817.js → DocumentLogotype-dec84a74.js} +3 -3
  33. package/dist/{DocumentVoided-d7fc7000.js → DocumentVoided-74504b75.js} +1 -1
  34. package/dist/{EmbedInput-a6a8d0c1.js → EmbedInput-60371f6f.js} +2 -2
  35. package/dist/{EmbedSettings-ecb5415d.js → EmbedSettings-39a23a6f.js} +3 -3
  36. package/dist/{ErrorCallout-385e2432.js → ErrorCallout-cd60b1b6.js} +1 -1
  37. package/dist/{FilePreviewModal-8cded353.js → FilePreviewModal-4cf20b6e.js} +5 -5
  38. package/dist/{Flag-ccc46cd6.js → Flag-89eec963.js} +1 -1
  39. package/dist/{HeaderSettings-297a8e94.js → HeaderSettings-841dea55.js} +17 -17
  40. package/dist/{ImageSelectModal-ebaf75ed.js → ImageSelectModal-38913c8c.js} +8 -8
  41. package/dist/{ImageUploadWrapper-a905ddef.js → ImageUploadWrapper-44991388.js} +2 -2
  42. package/dist/{Index-b910802d.js → Index-049d57c2.js} +4 -4
  43. package/dist/{Index-ab6bac6f.js → Index-09eb1bc3.js} +2 -2
  44. package/dist/{Index-00eebe39.js → Index-0de66a29.js} +6 -6
  45. package/dist/{Index-2e389474.js → Index-12d590c3.js} +11 -11
  46. package/dist/{Index-94c95a58.js → Index-19214bd3.js} +3 -3
  47. package/dist/{Index-76955f5a.js → Index-2108e7a3.js} +4 -4
  48. package/dist/{Index-1cd23b39.js → Index-23232295.js} +1 -1
  49. package/dist/{Index-1f63b613.js → Index-25a427e6.js} +9 -9
  50. package/dist/{Index-928cfa67.js → Index-2930f5f7.js} +2 -2
  51. package/dist/{Index-0d64d6fc.js → Index-359d4c13.js} +24 -22
  52. package/dist/{Index-3d1be851.js → Index-5d40ca7b.js} +2 -2
  53. package/dist/{Index-17d50e25.js → Index-67fa7e4b.js} +7 -7
  54. package/dist/{Index-9d492b13.js → Index-69fac519.js} +2 -2
  55. package/dist/{Index-ec6a2275.js → Index-6effaa7e.js} +2 -2
  56. package/dist/{Index-cebc4b52.js → Index-71865178.js} +2 -2
  57. package/dist/{Index-136ed256.js → Index-720d0674.js} +1 -1
  58. package/dist/{Index-3651364d.js → Index-80d3155c.js} +4 -4
  59. package/dist/{Index-9ea113ee.js → Index-82028cdb.js} +2 -2
  60. package/dist/{Index-cbec68f4.js → Index-857de8ac.js} +2 -2
  61. package/dist/{Index-317eff3e.js → Index-a1ecb679.js} +4 -4
  62. package/dist/{Index-0b001380.js → Index-aaee0e90.js} +7 -7
  63. package/dist/{Index-0c6a6fc0.js → Index-ab9315d7.js} +4 -4
  64. package/dist/{Index-795195ae.js → Index-ad5bf91a.js} +6 -6
  65. package/dist/{Index-6dd45bfc.js → Index-b5463733.js} +15 -13
  66. package/dist/{Index-a6509bbb.js → Index-c0c1bc5d.js} +7 -7
  67. package/dist/{Index-f951187a.js → Index-cab366c3.js} +5 -5
  68. package/dist/{Index-71933eec.js → Index-cd26a74b.js} +30 -23
  69. package/dist/{Index-07a53bf1.js → Index-dc9f3527.js} +15 -15
  70. package/dist/{Index-addb1314.js → Index-dee9495a.js} +4 -4
  71. package/dist/{Index-bce6b732.js → Index-dfc0818d.js} +14 -14
  72. package/dist/{Index-3be2f7bc.js → Index-e155c4e3.js} +4 -4
  73. package/dist/{Index-c90f6095.js → Index-e7735cce.js} +4 -4
  74. package/dist/{Index-16428365.js → Index-fb2e97c2.js} +5 -5
  75. package/dist/{Index-f38d974c.js → Index-fdd9148d.js} +6 -6
  76. package/dist/{InputToggleRow-5ee011ac.js → InputToggleRow-7a7b4c82.js} +1 -1
  77. package/dist/{IsPremiumPreStep-a43d13cb.js → IsPremiumPreStep-849695ae.js} +80 -28
  78. package/dist/{ManualPopover-a8f15584.js → ManualPopover-69439e3e.js} +1 -1
  79. package/dist/{MediaWrapper-b6e26d7e.js → MediaWrapper-77219da5.js} +4 -4
  80. package/dist/{NotBindingText-8ff419f4.js → NotBindingText-b90d4452.js} +2 -2
  81. package/dist/{PackageGroup-08b05fd3.js → PackageGroup-8d49e46e.js} +13 -13
  82. package/dist/{PdfTerms-949c0afc.js → PdfTerms-87f9384b.js} +5 -5
  83. package/dist/{PdfViewer-2ddc01f9.js → PdfViewer-350ebbe7.js} +2 -2
  84. package/dist/{PlainHtml-0b903d46.js → PlainHtml-0b2ee915.js} +1 -1
  85. package/dist/{PriceHeader-693bc152.js → PriceHeader-ce3050ca.js} +14 -14
  86. package/dist/{SearchApi-305bca0e.js → SearchApi-bc82651c.js} +2 -2
  87. package/dist/{Setup-faa481fe.js → Setup-de3bd79c.js} +1 -1
  88. package/dist/{TermsSettings-42e0de5d.js → TermsSettings-ff7062fd.js} +7 -7
  89. package/dist/{ThemeColorRow-a0b0ad20.js → ThemeColorRow-5f43c080.js} +4 -4
  90. package/dist/{ToggleBinding-21d3e533.js → ToggleBinding-4bc48e47.js} +3 -3
  91. package/dist/{UploadModal-364456d3.js → UploadModal-ebf58430.js} +3 -3
  92. package/dist/{VideoPlayerInput-4c6358ac.js → VideoPlayerInput-8c69a459.js} +3 -3
  93. package/dist/{VideoPlayerSettings-0c7ea30b.js → VideoPlayerSettings-fcb2e3a7.js} +4 -4
  94. package/dist/{VideoSelectModal-d97c0d57.js → VideoSelectModal-02928d13.js} +8 -8
  95. package/dist/{answerDocumentMixin-043bdad9.js → answerDocumentMixin-d004b5da.js} +3 -3
  96. package/dist/{color-71c20583.js → color-c1606adc.js} +5 -1
  97. package/dist/{debounce-da1cfff7.js → debounce-d81702a3.js} +1 -1
  98. package/dist/{focusDrawerMixin-72023f17.js → focusDrawerMixin-8069e576.js} +1 -1
  99. package/dist/{formComponentsInstall-63aedf1c.js → formComponentsInstall-3f9f983e.js} +12 -12
  100. package/dist/{formDrawerState-e0ff3ff0.js → formDrawerState-fbc48424.js} +1 -1
  101. package/dist/{formValidationMixin-b8eb5da2.js → formValidationMixin-c5a70b41.js} +1 -1
  102. package/dist/{index-c28a8215.js → index-2ed37de4.js} +3 -3
  103. package/dist/{index-102daf6b.js → index-9d04bffe.js} +1 -1
  104. package/dist/{index-10b258a2.js → index-aea694d9.js} +1 -1
  105. package/dist/{index-0aed1acb.js → index-bb3f9107.js} +5 -5
  106. package/dist/{index-c169ee1b.js → index-d53ad190.js} +10 -10
  107. package/dist/{index-d822374b.js → index-eda08292.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +140 -140
  110. package/dist/{main-e0ec3a1d.js → main-6755bb4b.js} +710 -339
  111. package/dist/{mapFormMixin-d799f9b8.js → mapFormMixin-b16172a1.js} +1 -1
  112. package/dist/{publicSenderState-c9b2f6c7.js → publicSenderState-60237e11.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-cc238be3.js → throttle-f8ca7459.js} +2 -2
  115. package/dist/{tinycolor-8cfd2ec1.js → tinycolor-579f7237.js} +1 -2
  116. package/dist/{tippy.esm-77270ccc.js → tippy.esm-772cdbd7.js} +5 -5
  117. package/dist/{utils-8dc6c03d.js → utils-98fce4e9.js} +1 -1
  118. package/dist/{vuedraggable.umd-3076e893.js → vuedraggable.umd-c7600c5f.js} +1 -1
  119. package/package.json +7 -7
@@ -1,36 +1,36 @@
1
- import { g as m, n as d, v as U, b as u, aE as ae, c as f, C as O, b6 as ne, b7 as se, K as R, L as H, h as D, b8 as oe, b9 as le, B as re, ba as ce, bb as de, b5 as pe, bc as ue, R as p, a8 as h, b0 as y, bd as me, be as he, bf as fe, bg as ge, bh as Ce, bi as ve, F as ye, bj as xe, d as we, i as $, S as be, ay as _e, l as ke, bk as Le, V as A, b2 as G, b3 as W, I as z, bl as B, b4 as $e, bm as Se, j as Te, bn as F, m as De, a as Ve, bo as Be, bp as Me } from "./main-e0ec3a1d.js";
1
+ import { g as m, n as d, v as U, b as u, aE as ae, c as f, C as O, b6 as ne, b7 as se, K as R, L as H, h as D, b8 as oe, b9 as le, B as re, ba as ce, bb as de, b5 as pe, bc as ue, R as p, a8 as h, b0 as y, bd as me, be as he, bf as fe, bg as ge, bh as Ce, bi as ve, F as ye, bj as xe, d as we, i as $, S as be, ay as _e, l as ke, bk as Le, V as A, b2 as G, b3 as W, I as z, bl as B, b4 as $e, bm as Se, j as Te, bn as F, m as De, a as Ve, bo as Be, bp as Me } from "./main-6755bb4b.js";
2
2
  import { m as g, a as x } from "./vuex.esm-4a0fff7c.js";
3
- import "./index-10b258a2.js";
3
+ import "./index-aea694d9.js";
4
4
  import { v as I } from "./index-805c56e4.js";
5
- import { w as b } from "./CDropdownItem-8fc4a155.js";
6
- import { a as _, I as k, b as Fe, c as Ie } from "./IsPremiumPreStep-a43d13cb.js";
7
- import { D as He, l as Ae, g as Pe, W as ze, b as Ee, a as Ze } from "./DocumentLayout-46669407.js";
8
- import { s as L } from "./Flag-ccc46cd6.js";
9
- import { B as Ue } from "./BlockMedia-11f309cf.js";
10
- import { d as P, t as Oe } from "./debounce-da1cfff7.js";
11
- import { a as Re } from "./tinycolor-8cfd2ec1.js";
12
- import { m as S } from "./mapFormMixin-d799f9b8.js";
13
- import { S as Ge, C as q, i as We } from "./formComponentsInstall-63aedf1c.js";
14
- import { f as qe } from "./formValidationMixin-b8eb5da2.js";
15
- import { s as v } from "./formDrawerState-e0ff3ff0.js";
16
- import { F as N, d as Ne } from "./tippy.esm-77270ccc.js";
17
- import { S as je } from "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
18
- import { o as Ke, d as Ye } from "./vuedraggable.umd-3076e893.js";
5
+ import { w as b } from "./CDropdownItem-dbc0c19a.js";
6
+ import { a as _, I as k, b as Fe, c as Ie } from "./IsPremiumPreStep-849695ae.js";
7
+ import { D as He, l as Ae, g as Pe, W as ze, b as Ee, a as Ze } from "./DocumentLayout-12013f0e.js";
8
+ import { s as L } from "./Flag-89eec963.js";
9
+ import { B as Ue } from "./BlockMedia-1e3a0f94.js";
10
+ import { d as P, t as Oe } from "./debounce-d81702a3.js";
11
+ import { t as Re } from "./tinycolor-579f7237.js";
12
+ import { m as S } from "./mapFormMixin-b16172a1.js";
13
+ import { S as Ge, C as q, i as We } from "./formComponentsInstall-3f9f983e.js";
14
+ import { f as qe } from "./formValidationMixin-c5a70b41.js";
15
+ import { s as v } from "./formDrawerState-fbc48424.js";
16
+ import { F as N, d as Ne } from "./tippy.esm-772cdbd7.js";
17
+ import { S as je } from "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
18
+ import { o as Ke, d as Ye } from "./vuedraggable.umd-c7600c5f.js";
19
19
  import { s as Qe } from "./dom-962579a6.js";
20
- import { o as Je } from "./index-d822374b.js";
21
- import Xe from "./AnswerModal-60fed10c.js";
20
+ import { o as Je } from "./index-eda08292.js";
21
+ import Xe from "./AnswerModal-d6b61c42.js";
22
22
  import "./anime.es-e284c852.js";
23
- import "./color-71c20583.js";
24
- import "./BaseDatePicker-586a3926.js";
25
- import "./ErrorCallout-385e2432.js";
26
- import "./AddClientCallout-d38447e9.js";
27
- import "./ClientAutocomplete-52294d98.js";
28
- import "./SearchApi-305bca0e.js";
29
- import "./ClientModal-aa88eb21.js";
30
- import "./CCallout-d09a7a83.js";
31
- import "./CField-30c37bbb.js";
23
+ import "./color-c1606adc.js";
24
+ import "./BaseDatePicker-86e8db95.js";
25
+ import "./ErrorCallout-cd60b1b6.js";
26
+ import "./AddClientCallout-db654e45.js";
27
+ import "./ClientAutocomplete-fa23cafc.js";
28
+ import "./SearchApi-bc82651c.js";
29
+ import "./ClientModal-b35ecbd9.js";
30
+ import "./CCallout-0afae25b.js";
31
+ import "./CField-4a2de42b.js";
32
32
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
33
- import "./ColorPicker-891fa9ff.js";
33
+ import "./ColorPicker-ca942c8e.js";
34
34
  const et = {
35
35
  i18nOptions: {
36
36
  namespaces: "DocumentTemplateFormModal",
@@ -225,9 +225,13 @@ async function st(i) {
225
225
  function K(i, { availableProducts: e }) {
226
226
  var n, s, o;
227
227
  let t = null;
228
- const a = nt(i.templateId, { availableProducts: e });
228
+ const a = nt(i.templateId, {
229
+ availableProducts: e
230
+ });
229
231
  return a && (t = {
230
- price: U((n = a == null ? void 0 : a.prices) == null ? void 0 : n[0].amount, { currency: (s = a == null ? void 0 : a.prices) == null ? void 0 : s[0].currency }),
232
+ price: U((n = a == null ? void 0 : a.prices) == null ? void 0 : n[0].amount, {
233
+ currency: (s = a == null ? void 0 : a.prices) == null ? void 0 : s[0].currency
234
+ }),
231
235
  isPurchased: ((o = i.purchaseInfo) == null ? void 0 : o.isPurchased) || !1,
232
236
  onBuy: async () => st(a)
233
237
  }), t;
@@ -1214,7 +1218,11 @@ const At = (i) => {
1214
1218
  }
1215
1219
  ];
1216
1220
  }, Pt = (i, e = "en") => [
1217
- { key: `title-${i}`, anyOf: [{ type: "string" }, { type: "null" }], defaultValue: h.t("attachment_plural", { lng: e }).capitalize() },
1221
+ {
1222
+ key: `title-${i}`,
1223
+ anyOf: [{ type: "string" }, { type: "null" }],
1224
+ defaultValue: h.t("attachment_plural", { lng: e }).capitalize()
1225
+ },
1218
1226
  {
1219
1227
  key: `files-${i}`,
1220
1228
  type: "array",
@@ -1267,7 +1275,10 @@ const At = (i) => {
1267
1275
  {
1268
1276
  key: "multiGroupPricing-title",
1269
1277
  anyOf: [{ type: "string" }, { type: "null" }],
1270
- defaultValue: h.t("components:document.chapters.multiGroupPricing.title", { lng: i })
1278
+ defaultValue: h.t(
1279
+ "components:document.chapters.multiGroupPricing.title",
1280
+ { lng: i }
1281
+ )
1271
1282
  }
1272
1283
  ], Rt = ({ document: i = null }) => {
1273
1284
  const { language: e } = i || {};
@@ -1354,20 +1365,30 @@ const At = (i) => {
1354
1365
  }
1355
1366
  ];
1356
1367
  }, jt = () => ({
1357
- clients: [{
1358
- name: "Pernilla P.",
1359
- email: "pernilla@mail.se",
1360
- cellphone: "073 123 56 78",
1361
- documentRole: "signee",
1362
- type: "individual",
1363
- deliveryTypes: ["email"],
1364
- answerMethod: { accept: "signature", deny: "button" }
1365
- }]
1368
+ clients: [
1369
+ {
1370
+ name: "Pernilla P.",
1371
+ email: "pernilla@mail.se",
1372
+ cellphone: "073 123 56 78",
1373
+ documentRole: "signee",
1374
+ type: "individual",
1375
+ deliveryTypes: ["email"],
1376
+ answerMethod: { accept: "signature", deny: "button" }
1377
+ }
1378
+ ]
1366
1379
  }), Kt = (i = "en") => [
1367
1380
  { key: "senderString", anyOf: [{ type: "string" }, { type: "null" }] },
1368
1381
  { key: "receiverString", anyOf: [{ type: "string" }, { type: "null" }] },
1369
- { key: "partiesString", anyOf: [{ type: "string" }, { type: "null" }], defaultValue: h.t("components:document.chapters.parties.title", { lng: i }) }
1370
- ], Yt = ({ includeMockData: i = !1, document: e = null, contentData: t = null }) => {
1382
+ {
1383
+ key: "partiesString",
1384
+ anyOf: [{ type: "string" }, { type: "null" }],
1385
+ defaultValue: h.t("components:document.chapters.parties.title", { lng: i })
1386
+ }
1387
+ ], Yt = ({
1388
+ includeMockData: i = !1,
1389
+ document: e = null,
1390
+ contentData: t = null
1391
+ }) => {
1371
1392
  const { language: a } = e || {};
1372
1393
  let n = null;
1373
1394
  return typeof t == "function" ? n = t() : i && (n = jt()), {
@@ -1383,7 +1404,14 @@ const At = (i) => {
1383
1404
  itemId: "estimatedTime",
1384
1405
  itemType: "section",
1385
1406
  value: null,
1386
- isVisible: { and: [{ ">=": [{ var: `data.estimatedTimeComplete-${i}.value` }, 0] }, { "!!": { var: `data.${i}.unitType` } }] },
1407
+ isVisible: {
1408
+ and: [
1409
+ {
1410
+ ">=": [{ var: `data.estimatedTimeComplete-${i}.value` }, 0]
1411
+ },
1412
+ { "!!": { var: `data.${i}.unitType` } }
1413
+ ]
1414
+ },
1387
1415
  parentId: "0",
1388
1416
  nodeId: e[0]
1389
1417
  },
@@ -1414,10 +1442,7 @@ const At = (i) => {
1414
1442
  },
1415
1443
  properties: {
1416
1444
  value: {
1417
- anyOf: [
1418
- { type: "number" },
1419
- { type: "null" }
1420
- ]
1445
+ anyOf: [{ type: "number" }, { type: "null" }]
1421
1446
  },
1422
1447
  unitType: {
1423
1448
  type: "string",
@@ -1431,7 +1456,10 @@ const At = (i) => {
1431
1456
  value: 4,
1432
1457
  unitType: "hour"
1433
1458
  }
1434
- }), e1 = ({ includeMockData: i = !1, contentData: e = null }) => {
1459
+ }), e1 = ({
1460
+ includeMockData: i = !1,
1461
+ contentData: e = null
1462
+ }) => {
1435
1463
  const t = p();
1436
1464
  let a = null;
1437
1465
  return typeof e == "function" ? a = e(t) : i && (a = Xt(t)), {
@@ -1626,13 +1654,7 @@ const At = (i) => {
1626
1654
  { type: "null" },
1627
1655
  {
1628
1656
  type: "object",
1629
- required: [
1630
- "startAt",
1631
- "endAt",
1632
- "unit",
1633
- "noOfUnits",
1634
- "deltaDirection"
1635
- ],
1657
+ required: ["startAt", "endAt", "unit", "noOfUnits", "deltaDirection"],
1636
1658
  properties: {
1637
1659
  startAt: { type: "string" },
1638
1660
  endAt: { type: "string" },
@@ -1654,10 +1676,7 @@ const At = (i) => {
1654
1676
  itemType: "section",
1655
1677
  value: null,
1656
1678
  isVisible: {
1657
- or: [
1658
- { var: "data.miscAgreements" },
1659
- { var: "data.notBinding" }
1660
- ]
1679
+ or: [{ var: "data.miscAgreements" }, { var: "data.notBinding" }]
1661
1680
  },
1662
1681
  parentId: "0",
1663
1682
  nodeId: i[0]
@@ -1728,12 +1747,19 @@ const At = (i) => {
1728
1747
  }
1729
1748
  ];
1730
1749
  }, h1 = (i) => [
1731
- { key: `title-${i}`, anyOf: [{ type: "string" }, { type: "null" }], defaultValue: "" },
1750
+ {
1751
+ key: `title-${i}`,
1752
+ anyOf: [{ type: "string" }, { type: "null" }],
1753
+ defaultValue: ""
1754
+ },
1732
1755
  { key: `content-${i}`, anyOf: [{ type: "string" }, { type: "null" }] }
1733
1756
  ], f1 = (i) => ({
1734
1757
  [`data.title-${i}`]: "My custom text",
1735
1758
  [`data.content-${i}`]: "<p>First impressions matter. Make it count by sending beautiful proposals to your clients. Proposals that look great on any device. Proposals that help you to close with notifications and digital signatures.</p>"
1736
- }), g1 = ({ includeMockData: i = !1, contentData: e = null }) => {
1759
+ }), g1 = ({
1760
+ includeMockData: i = !1,
1761
+ contentData: e = null
1762
+ }) => {
1737
1763
  const t = p();
1738
1764
  let a = null;
1739
1765
  return typeof e == "function" ? a = e(t) : i && (a = f1(t)), {
@@ -1779,7 +1805,11 @@ const At = (i) => {
1779
1805
  blur: 0
1780
1806
  }
1781
1807
  }
1782
- }), x1 = ({ includeMockData: i = !1, document: e = null, contentData: t = null } = {}) => {
1808
+ }), x1 = ({
1809
+ includeMockData: i = !1,
1810
+ document: e = null,
1811
+ contentData: t = null
1812
+ } = {}) => {
1783
1813
  const a = p(), { language: n } = e || {};
1784
1814
  let s = null;
1785
1815
  return typeof t == "function" ? s = t(a) : i && (s = y1(a)), {
@@ -1943,11 +1973,7 @@ const At = (i) => {
1943
1973
  nodeId: p()
1944
1974
  }
1945
1975
  ], _1 = (i, e = null) => {
1946
- const {
1947
- language: t = "en",
1948
- name: a = "",
1949
- theme: n
1950
- } = e || {}, s = a || h.t("_common:proposal", { lng: t }).capitalize();
1976
+ const { language: t = "en", name: a = "", theme: n } = e || {}, s = a || h.t("_common:proposal", { lng: t }).capitalize();
1951
1977
  e && (e.name = s);
1952
1978
  const {
1953
1979
  background: o,
@@ -1985,7 +2011,10 @@ const At = (i) => {
1985
2011
  value: {
1986
2012
  preText: "",
1987
2013
  documentName: `<p data-typography="title">${s}</p>`,
1988
- postText: h.t("components:document.chapters.header.postText", { lng: t, interpolation: { prefix: "__", suffix: "__" } }),
2014
+ postText: h.t("components:document.chapters.header.postText", {
2015
+ lng: t,
2016
+ interpolation: { prefix: "__", suffix: "__" }
2017
+ }),
1989
2018
  showLogo: !0,
1990
2019
  logotype: ""
1991
2020
  }
@@ -2024,7 +2053,11 @@ const At = (i) => {
2024
2053
  }
2025
2054
  ]
2026
2055
  }
2027
- }), L1 = ({ includeMockData: i = !1, document: e = null, contentData: t = null }) => {
2056
+ }), L1 = ({
2057
+ includeMockData: i = !1,
2058
+ document: e = null,
2059
+ contentData: t = null
2060
+ }) => {
2028
2061
  const a = p();
2029
2062
  let n = null;
2030
2063
  return typeof t == "function" ? n = t(a) : i && (n = k1(a)), {
@@ -2251,7 +2284,9 @@ const At = (i) => {
2251
2284
  },
2252
2285
  value: {
2253
2286
  preText: "",
2254
- documentName: e("purpleGossip.documentName"),
2287
+ documentName: e(
2288
+ "purpleGossip.documentName"
2289
+ ),
2255
2290
  postText: e("purpleGossip.postText"),
2256
2291
  showLogo: !0,
2257
2292
  logotype: ""
@@ -2377,7 +2412,11 @@ const S1 = (i) => {
2377
2412
  },
2378
2413
  $ref: `${f.api.baseUrl}/schemas/packageGroups/1.json`
2379
2414
  }
2380
- ], D1 = () => null, V1 = ({ includeMockData: i, document: e = null, contentData: t = null } = {}) => {
2415
+ ], D1 = () => null, V1 = ({
2416
+ includeMockData: i,
2417
+ document: e = null,
2418
+ contentData: t = null
2419
+ } = {}) => {
2381
2420
  const a = p(), { language: n } = e || {};
2382
2421
  let s = null;
2383
2422
  typeof t == "function" ? s = t(a) : i && (s = D1());
@@ -2853,7 +2892,11 @@ const B1 = ({
2853
2892
  size: "small"
2854
2893
  }
2855
2894
  }
2856
- ], I1 = () => null, H1 = ({ includeMockData: i = !1, document: e = null, contentData: t = null } = {}) => {
2895
+ ], I1 = () => null, H1 = ({
2896
+ includeMockData: i = !1,
2897
+ document: e = null,
2898
+ contentData: t = null
2899
+ } = {}) => {
2857
2900
  const a = p();
2858
2901
  let n = null;
2859
2902
  return typeof t == "function" ? n = t(a) : i && (n = I1()), {
@@ -3014,8 +3057,9 @@ const A1 = ({ language: i = "en" } = {}) => [
3014
3057
  })
3015
3058
  },
3016
3059
  // Only show Reco swedish use
3017
- ...["cling", "fortnoxSe"].includes(f.brand) ? [{
3018
- previewUrl: `
3060
+ ...["cling", "fortnoxSe"].includes(f.brand) ? [
3061
+ {
3062
+ previewUrl: `
3019
3063
  <div style="position: relative;">
3020
3064
  <svg viewBox="0 0 400 250" fill="none" xmlns="http://www.w3.org/2000/svg">
3021
3065
  <rect width="400" height="250" fill="white"/>
@@ -3030,21 +3074,22 @@ const A1 = ({ language: i = "en" } = {}) => [
3030
3074
  </div>
3031
3075
  </div>
3032
3076
  `,
3033
- contentData: (e) => ({
3034
- [`data.embed-${e}`]: {
3035
- embed: {
3036
- src: "https://widget.reco.se/v2/widget/1154710?mode=HORIZONTAL_QUOTE",
3037
- height: "280",
3038
- style: "border:0; width: 100%;",
3039
- allowfullscreen: "",
3040
- // Only default value in embed component, override here if needed
3041
- loading: "lazy"
3042
- },
3043
- size: null
3044
- // null will use dimensions set by iframe attributes
3045
- }
3046
- })
3047
- }] : [],
3077
+ contentData: (e) => ({
3078
+ [`data.embed-${e}`]: {
3079
+ embed: {
3080
+ src: "https://widget.reco.se/v2/widget/1154710?mode=HORIZONTAL_QUOTE",
3081
+ height: "280",
3082
+ style: "border:0; width: 100%;",
3083
+ allowfullscreen: "",
3084
+ // Only default value in embed component, override here if needed
3085
+ loading: "lazy"
3086
+ },
3087
+ size: null
3088
+ // null will use dimensions set by iframe attributes
3089
+ }
3090
+ })
3091
+ }
3092
+ ] : [],
3048
3093
  {
3049
3094
  previewUrl: `
3050
3095
  <div style="position: relative;">
@@ -3198,7 +3243,10 @@ const A1 = ({ language: i = "en" } = {}) => [
3198
3243
  id: "166JEb6qkr4"
3199
3244
  }
3200
3245
  }
3201
- }), Z1 = ({ includeMockData: i = !1, contentData: e = null }) => {
3246
+ }), Z1 = ({
3247
+ includeMockData: i = !1,
3248
+ contentData: e = null
3249
+ }) => {
3202
3250
  const t = p();
3203
3251
  let a = null;
3204
3252
  return typeof e == "function" ? a = e(t) : i && (a = E1(t)), {
@@ -5970,7 +6018,7 @@ const N2 = {
5970
6018
  Fields: L2,
5971
6019
  ExtensionTab: V2,
5972
6020
  DocumentGeneralSettings: H2,
5973
- DocumentGuide: () => import("./index-102daf6b.js"),
6021
+ DocumentGuide: () => import("./index-9d04bffe.js"),
5974
6022
  MenuBlocks: q2,
5975
6023
  Simplebar: L
5976
6024
  },
@@ -1,24 +1,24 @@
1
- import { V as n, m as s, a as r, g as l, C as i, n as u } from "./main-e0ec3a1d.js";
2
- import { i as m, S as c } from "./formComponentsInstall-63aedf1c.js";
1
+ import { V as n, m as s, a as r, g as l, C as i, n as u } from "./main-6755bb4b.js";
2
+ import { i as m, S as c } from "./formComponentsInstall-3f9f983e.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./Flag-ccc46cd6.js";
5
- import "./mapFormMixin-d799f9b8.js";
6
- import "./BaseDatePicker-586a3926.js";
7
- import "./CDropdownItem-8fc4a155.js";
8
- import "./ErrorCallout-385e2432.js";
9
- import "./IsPremiumPreStep-a43d13cb.js";
4
+ import "./Flag-89eec963.js";
5
+ import "./mapFormMixin-b16172a1.js";
6
+ import "./BaseDatePicker-86e8db95.js";
7
+ import "./CDropdownItem-dbc0c19a.js";
8
+ import "./ErrorCallout-cd60b1b6.js";
9
+ import "./IsPremiumPreStep-849695ae.js";
10
10
  import "./anime.es-e284c852.js";
11
- import "./index-10b258a2.js";
11
+ import "./index-aea694d9.js";
12
12
  import "./index-805c56e4.js";
13
13
  import "./dom-962579a6.js";
14
- import "./AddClientCallout-d38447e9.js";
15
- import "./ClientAutocomplete-52294d98.js";
16
- import "./SearchApi-305bca0e.js";
17
- import "./debounce-da1cfff7.js";
18
- import "./ClientModal-aa88eb21.js";
19
- import "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
20
- import "./CCallout-d09a7a83.js";
21
- import "./CField-30c37bbb.js";
14
+ import "./AddClientCallout-db654e45.js";
15
+ import "./ClientAutocomplete-fa23cafc.js";
16
+ import "./SearchApi-bc82651c.js";
17
+ import "./debounce-d81702a3.js";
18
+ import "./ClientModal-b35ecbd9.js";
19
+ import "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
20
+ import "./CCallout-0afae25b.js";
21
+ import "./CField-4a2de42b.js";
22
22
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
23
23
  n.use(m);
24
24
  const a = n.observable({
@@ -1,5 +1,5 @@
1
- import { C as o } from "./index-d822374b.js";
2
- import { n as t } from "./main-e0ec3a1d.js";
1
+ import { C as o } from "./index-eda08292.js";
2
+ import { n as t } from "./main-6755bb4b.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  const s = {
5
5
  name: "DocLinks",
@@ -1,4 +1,4 @@
1
- import { n as t } from "./main-e0ec3a1d.js";
1
+ import { n as t } from "./main-6755bb4b.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
1
- import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-e0ec3a1d.js";
1
+ import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-6755bb4b.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -206,7 +206,7 @@ var f = function() {
206
206
  g,
207
207
  !1,
208
208
  null,
209
- "7bcbbf3c",
209
+ "72df919e",
210
210
  null,
211
211
  null
212
212
  );
@@ -227,17 +227,17 @@ var x = function() {
227
227
  return e("div", { staticClass: "h-full w-full overflow-auto px-8 py-12" }, [e("DocumentPrint", { attrs: { document: t.document }, on: { close: function(i) {
228
228
  return t.$router.push("/");
229
229
  } } })], 1);
230
- }, b = [], w = /* @__PURE__ */ d(
230
+ }, w = [], b = /* @__PURE__ */ d(
231
231
  y,
232
232
  x,
233
- b,
233
+ w,
234
234
  !1,
235
235
  null,
236
236
  null,
237
237
  null,
238
238
  null
239
239
  );
240
- const C = w.exports;
240
+ const C = b.exports;
241
241
  export {
242
242
  C as default
243
243
  };
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-e0ec3a1d.js";
1
+ import { g as p, n as u } from "./main-6755bb4b.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-4a0fff7c.js";
3
3
  const f = {
4
4
  sv: {
@@ -153,9 +153,7 @@ var h = function() {
153
153
  "signMethod"
154
154
  ],
155
155
  [
156
- `${t.$t("_common:date").capitalize()} & ${t.$t(
157
- "_common:time"
158
- )}`,
156
+ `${t.$t("_common:date").capitalize()} & ${t.$t("_common:time")}`,
159
157
  t.$formatDate(n.didAnswerAt, "Pp")
160
158
  ],
161
159
  ["IP-" + t.$t("_common:address"), n.ip],
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-e0ec3a1d.js";
1
+ import { g as m, n as a } from "./main-6755bb4b.js";
2
2
  import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",
@@ -1,12 +1,12 @@
1
- import { t as Uo, F as _a, s as $a, d as ys } from "./tippy.esm-77270ccc.js";
2
- import { V as Vn, n as ut, a8 as bs, b as Ds, p as Ha } from "./main-e0ec3a1d.js";
1
+ import { t as Uo, F as _a, s as $a, d as ys } from "./tippy.esm-772cdbd7.js";
2
+ import { V as Vn, n as ut, a8 as bs, b as Ds, p as Ha } from "./main-6755bb4b.js";
3
3
  import { a as ai } from "./dom-962579a6.js";
4
- import { i as Jo, w as Va } from "./CDropdownItem-8fc4a155.js";
5
- import "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
4
+ import { i as Jo, w as Va } from "./CDropdownItem-dbc0c19a.js";
5
+ import "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
- import { M as Go } from "./ManualPopover-a8f15584.js";
8
- import { C as ja } from "./ColorPicker-891fa9ff.js";
9
- import { h as Wa } from "./color-71c20583.js";
7
+ import { M as Go } from "./ManualPopover-69439e3e.js";
8
+ import { C as ja } from "./ColorPicker-ca942c8e.js";
9
+ import { h as Wa } from "./color-c1606adc.js";
10
10
  function ee(n) {
11
11
  this.content = n;
12
12
  }
@@ -13967,7 +13967,7 @@ const Cm = Dm.exports;
13967
13967
  const km = {
13968
13968
  components: {
13969
13969
  FormInputRow: _a,
13970
- TextTemplates: () => import("./index-c169ee1b.js")
13970
+ TextTemplates: () => import("./index-d53ad190.js")
13971
13971
  },
13972
13972
  props: {
13973
13973
  editor: {
@@ -14860,7 +14860,7 @@ const _m = {
14860
14860
  },
14861
14861
  async openPreview() {
14862
14862
  var r;
14863
- const n = () => import("./FilePreviewModal-8cded353.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14863
+ const n = () => import("./FilePreviewModal-4cf20b6e.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14864
14864
  this.$modal.show(
14865
14865
  n,
14866
14866
  {
@@ -14957,23 +14957,34 @@ const jm = Vm.exports, Wm = (n) => zm.extend({
14957
14957
  drop(e, t) {
14958
14958
  if (!(t.dataTransfer && t.dataTransfer.files && t.dataTransfer.files.length))
14959
14959
  return;
14960
- const i = Array.from(t.dataTransfer.files).filter((l) => /image/i.test(l.type));
14960
+ const i = Array.from(t.dataTransfer.files).filter(
14961
+ (l) => /image/i.test(l.type)
14962
+ );
14961
14963
  if (i.length === 0)
14962
14964
  return;
14963
14965
  t.preventDefault();
14964
- const { schema: s } = e.state, o = e.posAtCoords({ left: t.clientX, top: t.clientY });
14966
+ const { schema: s } = e.state, o = e.posAtCoords({
14967
+ left: t.clientX,
14968
+ top: t.clientY
14969
+ });
14965
14970
  i.forEach(async (l) => {
14966
14971
  const a = new FileReader();
14967
14972
  if (n) {
14968
14973
  const u = s.nodes.image.create({
14969
14974
  src: await n(l)
14970
- }), c = e.state.tr.insert(o.pos, u);
14975
+ }), c = e.state.tr.insert(
14976
+ o.pos,
14977
+ u
14978
+ );
14971
14979
  e.dispatch(c);
14972
14980
  } else
14973
14981
  a.onload = (u) => {
14974
14982
  const c = s.nodes.image.create({
14975
14983
  src: u.target.result
14976
- }), d = e.state.tr.insert(o.pos, c);
14984
+ }), d = e.state.tr.insert(
14985
+ o.pos,
14986
+ c
14987
+ );
14977
14988
  e.dispatch(d);
14978
14989
  }, a.readAsDataURL(l);
14979
14990
  });
@@ -16706,7 +16717,9 @@ const gs = qg.extend({
16706
16717
  headerBackground: {
16707
16718
  default: "#eeeef1",
16708
16719
  parseHTML: (n) => n.getAttribute("data-header-background"),
16709
- renderHTML: (n) => ({ "data-header-background": n.headerBackground })
16720
+ renderHTML: (n) => ({
16721
+ "data-header-background": n.headerBackground
16722
+ })
16710
16723
  }
16711
16724
  };
16712
16725
  }
@@ -16727,7 +16740,13 @@ const gs = qg.extend({
16727
16740
  addProseMirrorPlugins() {
16728
16741
  return [];
16729
16742
  }
16730
- }), Kg = gs.configure({ resizable: !0, View: wr }), Ug = za.configure({ resizable: !0, View: wr });
16743
+ }), Kg = gs.configure({
16744
+ resizable: !0,
16745
+ View: wr
16746
+ }), Ug = za.configure({
16747
+ resizable: !0,
16748
+ View: wr
16749
+ });
16731
16750
  gs.configure({ resizable: !0, View: wr }), za.configure({ resizable: !0, View: wr });
16732
16751
  function qo({ types: n, node: e }) {
16733
16752
  return Array.isArray(n) && n.includes(e.type) || e.type === n;
@@ -1,4 +1,4 @@
1
- import { n as u, a8 as b, b as S, a9 as _, aa as f } from "./main-e0ec3a1d.js";
1
+ import { n as u, a8 as b, b as S, a9 as _, aa as f } from "./main-6755bb4b.js";
2
2
  import { m as D } from "./vuex.esm-4a0fff7c.js";
3
3
  const v = {
4
4
  new: {
@@ -1,10 +1,10 @@
1
- import { V as c, n as a } from "./main-e0ec3a1d.js";
2
- import { D as m } from "./DocumentLayout-46669407.js";
3
- import { f as d } from "./formValidationMixin-b8eb5da2.js";
4
- import { a as l } from "./answerDocumentMixin-043bdad9.js";
5
- import { D as f } from "./DocumentVoided-d7fc7000.js";
6
- import "./debounce-da1cfff7.js";
7
- import "./CDropdownItem-8fc4a155.js";
1
+ import { V as c, n as a } from "./main-6755bb4b.js";
2
+ import { D as m } from "./DocumentLayout-12013f0e.js";
3
+ import { f as d } from "./formValidationMixin-c5a70b41.js";
4
+ import { a as l } from "./answerDocumentMixin-d004b5da.js";
5
+ import { D as f } from "./DocumentVoided-74504b75.js";
6
+ import "./debounce-d81702a3.js";
7
+ import "./CDropdownItem-dbc0c19a.js";
8
8
  import "./dom-962579a6.js";
9
9
  const p = (s) => {
10
10
  var e;