@cling-se/widget 0.9.17 → 0.9.19

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 (131) hide show
  1. package/dist/{AddClientCallout-064aede9.js → AddClientCallout-56062c9e.js} +5 -5
  2. package/dist/{AnswerModal-f00b2576.js → AnswerModal-89282157.js} +3 -3
  3. package/dist/{AttachmentItem-614ed2ea.js → AttachmentItem-62102ff9.js} +3 -3
  4. package/dist/{BaseDatePicker-99d99f2b.js → BaseDatePicker-c236b147.js} +1 -1
  5. package/dist/{BaseInput-4ee00e7a.js → BaseInput-a23a8bff.js} +1 -1
  6. package/dist/{BaseUpload-7d9dd124.js → BaseUpload-1eb2faf5.js} +2 -2
  7. package/dist/{BlockMedia-354eff33.js → BlockMedia-a5e9227b.js} +1 -1
  8. package/dist/{CCallout-764d08cd.js → CCallout-e4abad1f.js} +2 -2
  9. package/dist/{CDropdownItem-ef2d7897.js → CDropdownItem-55d36127.js} +2 -1
  10. package/dist/{CField-f8b8481d.js → CField-1825b939.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-4a1c5561.js → CSlider.vue_vue_type_style_index_0_lang-e3343543.js} +1 -1
  12. package/dist/{ClientAutocomplete-04d85a96.js → ClientAutocomplete-8286e949.js} +2 -2
  13. package/dist/{ClientModal-56731bee.js → ClientModal-368445f8.js} +4 -4
  14. package/dist/{ColorPicker-15579f77.js → ColorPicker-ec8e8175.js} +1 -1
  15. package/dist/{CompanyModal-49b3f20e.js → CompanyModal-ca53bda3.js} +3 -3
  16. package/dist/{ContentWrapper-6315056f.js → ContentWrapper-7cb9d1c6.js} +26 -26
  17. package/dist/{CoverBlockSettings-34313ba7.js → CoverBlockSettings-08f56770.js} +8 -8
  18. package/dist/{DocAnswer-a53c34f6.js → DocAnswer-ced017c1.js} +4 -4
  19. package/dist/{DocForm-bf97c67e.js → DocForm-2db2db45.js} +618 -553
  20. package/dist/{DocFormSend-1247c216.js → DocFormSend-2e9c1718.js} +23 -22
  21. package/dist/{DocLinks-8bbcbd46.js → DocLinks-c4862422.js} +2 -2
  22. package/dist/{DocModalBase-e1dee9d6.js → DocModalBase-2711130a.js} +1 -1
  23. package/dist/{DocPrint-dcb6b719.js → DocPrint-48195954.js} +48 -29
  24. package/dist/{DocReceipt-d03ff3f1.js → DocReceipt-10e465b3.js} +1 -1
  25. package/dist/{DocSendReminder-ecc36aca.js → DocSendReminder-c4e0228f.js} +1 -1
  26. package/dist/{DocTextEditor-f4b51510.js → DocTextEditor-fa8bf4e1.js} +14 -14
  27. package/dist/{DocTimeline-28430a90.js → DocTimeline-445eca6e.js} +1 -1
  28. package/dist/{DocumentClient-ade9af67.js → DocumentClient-9e7c6344.js} +6 -6
  29. package/dist/{DocumentLayout-632a6f98.js → DocumentLayout-48c2d8a7.js} +3 -3
  30. package/dist/{DocumentLogotype-dacee892.js → DocumentLogotype-124c8aa4.js} +3 -3
  31. package/dist/{EmbedInput-a3868460.js → EmbedInput-70967810.js} +2 -2
  32. package/dist/{EmbedSettings-4e3d8c41.js → EmbedSettings-5b7849f2.js} +3 -3
  33. package/dist/{ErrorCallout-d05d6cc2.js → ErrorCallout-aba1259b.js} +1 -1
  34. package/dist/{FilePreviewModal-31b883c3.js → FilePreviewModal-d6641d5a.js} +5 -5
  35. package/dist/{HeaderSettings-131840ed.js → HeaderSettings-927fc995.js} +16 -16
  36. package/dist/{ImageSelectModal-7706f79f.js → ImageSelectModal-b0f47a70.js} +9 -9
  37. package/dist/{ImageUploadWrapper-65d04b72.js → ImageUploadWrapper-d6824c36.js} +2 -2
  38. package/dist/{Index-e9c20129.js → Index-04f97514.js} +7 -7
  39. package/dist/{Index-8c45d1e8.js → Index-0ce48100.js} +4 -4
  40. package/dist/{Index-b7ee6604.js → Index-1176ba23.js} +1 -1
  41. package/dist/{Index-a6deb4ef.js → Index-11df2c1a.js} +3 -3
  42. package/dist/{Index-1ec70336.js → Index-1a3b0017.js} +4 -4
  43. package/dist/{Index-63a45208.js → Index-26266d8f.js} +14 -14
  44. package/dist/{Index-0dbc20a5.js → Index-29e20c7b.js} +9 -9
  45. package/dist/{Index-d4b5163a.js → Index-29f59b0b.js} +4 -4
  46. package/dist/{Index-ca586e17.js → Index-38b6a5b2.js} +14 -14
  47. package/dist/{Index-c5d2a3f3.js → Index-52fae967.js} +2 -2
  48. package/dist/{Index-d3789f66.js → Index-5c3393a7.js} +5 -5
  49. package/dist/{Index-4ecb48f7.js → Index-5d4f7700.js} +4 -4
  50. package/dist/{Index-c217198e.js → Index-5f8f46d7.js} +6 -6
  51. package/dist/{Index-fb7d681c.js → Index-6610cff8.js} +6 -6
  52. package/dist/{Index-eb5ab752.js → Index-723b56fd.js} +2 -2
  53. package/dist/{Index-860706da.js → Index-800624cc.js} +10 -10
  54. package/dist/{Index-6a2c0245.js → Index-86c7faa0.js} +4 -4
  55. package/dist/{Index-c1782811.js → Index-89fde246.js} +2 -2
  56. package/dist/{Index-d54abcde.js → Index-8c47aae3.js} +6 -6
  57. package/dist/{Index-3a278b14.js → Index-8e7dad66.js} +4 -4
  58. package/dist/{Index-d54ff9f5.js → Index-97f8832c.js} +9 -9
  59. package/dist/{Index-51f43342.js → Index-9db9f33d.js} +2 -2
  60. package/dist/{Index-c3cf1a7a.js → Index-b21fc0d5.js} +25 -25
  61. package/dist/{Index-ffb5b6ae.js → Index-b3d8c89b.js} +4 -4
  62. package/dist/{Index-de220060.js → Index-b476e19e.js} +2 -2
  63. package/dist/{Index-5204e965.js → Index-b79b46ed.js} +6 -6
  64. package/dist/{Index-f465338a.js → Index-b93d220a.js} +4 -4
  65. package/dist/{Index-d9dd3c6b.js → Index-c1f81c5d.js} +8 -8
  66. package/dist/{Index-21b9ef50.js → Index-c6475ab6.js} +2 -2
  67. package/dist/{Index-c5a2140d.js → Index-c89d4517.js} +1 -1
  68. package/dist/{Index-9275b550.js → Index-e16918b8.js} +3 -3
  69. package/dist/{Index-17db3981.js → Index-e7cb0094.js} +2 -2
  70. package/dist/{Index-f7e348e2.js → Index-f9e6924b.js} +13 -13
  71. package/dist/{Index-275a26f3.js → Index-fa1cebef.js} +4 -4
  72. package/dist/{InputToggleRow-281e90c1.js → InputToggleRow-e0f2f03d.js} +1 -1
  73. package/dist/{IsPremiumPreStep-b1384bb4.js → IsPremiumPreStep-19c21cf9.js} +67 -59
  74. package/dist/{ManualPopover-d5ea2774.js → ManualPopover-dfa0e9ab.js} +1 -1
  75. package/dist/{MediaWrapper-a0b4ebe8.js → MediaWrapper-0141ada8.js} +3 -3
  76. package/dist/{NotBindingText-67a1409e.js → NotBindingText-0d2714ed.js} +2 -2
  77. package/dist/{PackageGroup-29439e17.js → PackageGroup-47bcb0de.js} +12 -12
  78. package/dist/{PdfTerms-2e6c0285.js → PdfTerms-31e6e4d8.js} +5 -5
  79. package/dist/{PdfViewer-371b5058.js → PdfViewer-05cdae7d.js} +6 -6
  80. package/dist/{PlainHtml-c70dc350.js → PlainHtml-25f86c0e.js} +1 -1
  81. package/dist/{PriceHeader-5ff405b6.js → PriceHeader-2dd6a207.js} +15 -15
  82. package/dist/{SearchApi-b14c893f.js → SearchApi-e4822fb0.js} +2 -2
  83. package/dist/{Setup-4d84f86a.js → Setup-7acab382.js} +1 -1
  84. package/dist/{TermsSettings-7072778d.js → TermsSettings-2e29c7b5.js} +6 -6
  85. package/dist/{ThemeColorRow-37a17ce4.js → ThemeColorRow-fc8942b5.js} +3 -3
  86. package/dist/{ToggleBinding-e04d9dfc.js → ToggleBinding-4eeba32c.js} +3 -3
  87. package/dist/{UploadModal-39f04624.js → UploadModal-4a1b0129.js} +3 -3
  88. package/dist/{VideoPlayerInput-55ab9dd1.js → VideoPlayerInput-627a5cdf.js} +3 -3
  89. package/dist/{VideoPlayerSettings-1d2507e8.js → VideoPlayerSettings-46355f8b.js} +4 -4
  90. package/dist/{VideoSelectModal-c158c88b.js → VideoSelectModal-c9d739eb.js} +8 -8
  91. package/dist/{answerDocumentMixin-5711c3ae.js → answerDocumentMixin-b844a10e.js} +3 -3
  92. package/dist/{cssMode-b85ed111.js → cssMode-5aedeee4.js} +7 -7
  93. package/dist/{dom-d4731032.js → dom-962579a6.js} +7 -6
  94. package/dist/{focusDrawerMixin-5139ff2d.js → focusDrawerMixin-9627614a.js} +1 -1
  95. package/dist/{formComponentsInstall-ea9fe0f1.js → formComponentsInstall-a9269119.js} +12 -12
  96. package/dist/{formDrawerState-872f6c63.js → formDrawerState-876f57b6.js} +1 -1
  97. package/dist/{formValidationMixin-20797066.js → formValidationMixin-ed233af0.js} +2 -2
  98. package/dist/{freemarker2-db773dc4.js → freemarker2-60ee9aee.js} +7 -7
  99. package/dist/{handlebars-f4e59d92.js → handlebars-694dfedf.js} +7 -7
  100. package/dist/{html-60722cac.js → html-a2234a8c.js} +7 -7
  101. package/dist/{htmlMode-699d17ac.js → htmlMode-caaf687c.js} +7 -7
  102. package/dist/{image-c4536036.js → image-a8004950.js} +1 -1
  103. package/dist/{index-b6204795.js → index-7c059780.js} +1 -1
  104. package/dist/{index-1f9bf410.js → index-a0048c9d.js} +9 -9
  105. package/dist/{index-b5312c69.js → index-c504f71f.js} +5 -5
  106. package/dist/index-c9bc377d.js +15 -0
  107. package/dist/{index-a0dcb949.js → index-da2125a0.js} +1 -1
  108. package/dist/{index-01a9890c.js → index-ef7204d4.js} +2 -2
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +472 -472
  111. package/dist/{javascript-10d90d6d.js → javascript-f139d6eb.js} +8 -8
  112. package/dist/{jsonMode-7689792e.js → jsonMode-63fc85d2.js} +7 -7
  113. package/dist/{liquid-d3d3f6d5.js → liquid-b7a8bbf7.js} +7 -7
  114. package/dist/{main-9daa18a1.js → main-73b04297.js} +674 -675
  115. package/dist/{mapFormMixin-1236b266.js → mapFormMixin-eca2705b.js} +1 -1
  116. package/dist/{publicSenderState-5036fa9a.js → publicSenderState-aa1142cf.js} +1 -1
  117. package/dist/{python-29472e5e.js → python-d3a01852.js} +7 -7
  118. package/dist/{razor-2dfcf495.js → razor-cdee010d.js} +7 -7
  119. package/dist/{simplebar.min-8422a634.js → simplebar.min-c240d344.js} +1 -1
  120. package/dist/style.css +2 -2
  121. package/dist/{template-282dfd7f.js → template-6d164806.js} +1 -1
  122. package/dist/{throttle-d4af9020.js → throttle-5aa94034.js} +2 -2
  123. package/dist/{tinycolor-e750ced7.js → tinycolor-7e30d091.js} +1 -1
  124. package/dist/{tippy.esm-ae169d52.js → tippy.esm-eb9486e0.js} +5 -5
  125. package/dist/{tsMode-af13fa75.js → tsMode-af4d2070.js} +7 -7
  126. package/dist/{typescript-278dd0a0.js → typescript-b453757b.js} +7 -7
  127. package/dist/{utils-a1170d9a.js → utils-ad6484bb.js} +1 -1
  128. package/dist/{vuedraggable.umd-e860e729.js → vuedraggable.umd-045dd09e.js} +1 -1
  129. package/dist/{xml-2214e1d4.js → xml-3f196cee.js} +7 -7
  130. package/package.json +1 -1
  131. package/dist/index-d9683bc3.js +0 -14
@@ -1,23 +1,24 @@
1
- import { V as r, r as n, m as l, a as i, g as a, C as m, n as c } from "./main-9daa18a1.js";
2
- import { i as u, S as d } from "./formComponentsInstall-ea9fe0f1.js";
1
+ import { V as r, r as n, m as i, a as l, g as a, C as m, n as c } from "./main-73b04297.js";
2
+ import { i as u, S as d } from "./formComponentsInstall-a9269119.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./simplebar.min-8422a634.js";
5
- import "./mapFormMixin-1236b266.js";
6
- import "./BaseDatePicker-99d99f2b.js";
7
- import "./ErrorCallout-d05d6cc2.js";
8
- import "./IsPremiumPreStep-b1384bb4.js";
4
+ import "./simplebar.min-c240d344.js";
5
+ import "./mapFormMixin-eca2705b.js";
6
+ import "./BaseDatePicker-c236b147.js";
7
+ import "./ErrorCallout-aba1259b.js";
8
+ import "./IsPremiumPreStep-19c21cf9.js";
9
9
  import "./anime.es-e284c852.js";
10
- import "./image-c4536036.js";
11
- import "./index-a0dcb949.js";
10
+ import "./image-a8004950.js";
11
+ import "./index-da2125a0.js";
12
12
  import "./index-805c56e4.js";
13
- import "./AddClientCallout-064aede9.js";
14
- import "./ClientAutocomplete-04d85a96.js";
15
- import "./SearchApi-b14c893f.js";
16
- import "./CDropdownItem-ef2d7897.js";
17
- import "./ClientModal-56731bee.js";
18
- import "./CSlider.vue_vue_type_style_index_0_lang-4a1c5561.js";
19
- import "./CCallout-764d08cd.js";
20
- import "./CField-f8b8481d.js";
13
+ import "./dom-962579a6.js";
14
+ import "./AddClientCallout-56062c9e.js";
15
+ import "./ClientAutocomplete-8286e949.js";
16
+ import "./SearchApi-e4822fb0.js";
17
+ import "./CDropdownItem-55d36127.js";
18
+ import "./ClientModal-368445f8.js";
19
+ import "./CSlider.vue_vue_type_style_index_0_lang-e3343543.js";
20
+ import "./CCallout-e4abad1f.js";
21
+ import "./CField-1825b939.js";
21
22
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
22
23
  r.use(u);
23
24
  const s = r.observable({
@@ -64,7 +65,7 @@ const s = r.observable({
64
65
  };
65
66
  },
66
67
  computed: {
67
- ...l({
68
+ ...i({
68
69
  company: "application/company",
69
70
  can: "application/can",
70
71
  rawDoc: "forms/document",
@@ -83,7 +84,7 @@ const s = r.observable({
83
84
  this.setFormValue && (s.setFormValue = this.setDocValue);
84
85
  },
85
86
  methods: {
86
- ...i({
87
+ ...l({
87
88
  setFormValue: a.SET_FORM_VALUE,
88
89
  removeFormValue: a.REMOVE_FORM_VALUE,
89
90
  saveDocument: a.SAVE_DYNDOC_FORM
@@ -106,7 +107,7 @@ const s = r.observable({
106
107
  return this.removeFormValue(`document2.${t}`);
107
108
  },
108
109
  async onSaveDocument({ doSend: t = !1 } = {}) {
109
- typeof this.beforeSave == "function" && await this.beforeSave(), t && typeof this.beforeSend == "function" && await this.beforeSend(), await this.saveDocument({ doSend: t }), this.close();
110
+ typeof this.beforeSave == "function" && await this.beforeSave(), t && typeof this.beforeSend == "function" && await this.beforeSend(), await this.saveDocument({ doSend: t }) && this.close();
110
111
  },
111
112
  close() {
112
113
  this.closeFunc();
@@ -133,7 +134,7 @@ var f = function() {
133
134
  null,
134
135
  null
135
136
  );
136
- const $ = v.exports;
137
+ const z = v.exports;
137
138
  export {
138
- $ as default
139
+ z as default
139
140
  };
@@ -1,5 +1,5 @@
1
- import { C as e } from "./index-b6204795.js";
2
- import { r as o, n as t } from "./main-9daa18a1.js";
1
+ import { C as e } from "./index-7c059780.js";
2
+ import { r as o, n as t } from "./main-73b04297.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  const r = {
5
5
  name: "DocLinks",
@@ -1,4 +1,4 @@
1
- import { n as t } from "./main-9daa18a1.js";
1
+ import { n as t } from "./main-73b04297.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,5 +1,5 @@
1
- import { n as d, D as h, c, I as l, E as p, F as a, G as m } from "./main-9daa18a1.js";
2
- const f = {
1
+ import { n as d, D as h, c, I as l, E as p, F as a, G as m } from "./main-73b04297.js";
2
+ const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
5
5
  messages: {
@@ -57,7 +57,11 @@ const f = {
57
57
  showVerification: !0,
58
58
  showEvents: !0,
59
59
  showLast4ssn: !0,
60
- forceDoCreatePdf: !1
60
+ forceDoCreatePdf: !1,
61
+ // Only for superuser
62
+ debugPage: !1,
63
+ // Only for superuser
64
+ extraTimeout: 0
61
65
  // Only for superuser
62
66
  },
63
67
  showMoreOptions: !1,
@@ -74,10 +78,18 @@ const f = {
74
78
  };
75
79
  },
76
80
  computed: {
81
+ extraTimeout: {
82
+ get() {
83
+ return this.options.extraTimeout || null;
84
+ },
85
+ set(s) {
86
+ s ? this.options.extraTimeout = parseInt(s, 10) : this.options.extraTimeout = 0;
87
+ }
88
+ },
77
89
  allowVerification() {
78
90
  return this.document && this.document.allowVerification;
79
91
  },
80
- showForceCreatePDF() {
92
+ showAdminOptions() {
81
93
  return c.showAdminSettings || this.isSuperUser;
82
94
  },
83
95
  hasBankIdSignatures() {
@@ -85,8 +97,8 @@ const f = {
85
97
  const { clients: s, senderClient: t } = this.document;
86
98
  return t != null && t.socialNo && ((e = t.answerMethod) == null ? void 0 : e.accept) === "bankId" ? !0 : s.some(
87
99
  (i) => {
88
- var o;
89
- return i.socialNo && ((o = i.answerMethod) == null ? void 0 : o.accept) === "bankId";
100
+ var n;
101
+ return i.socialNo && ((n = i.answerMethod) == null ? void 0 : n.accept) === "bankId";
90
102
  }
91
103
  );
92
104
  }
@@ -115,20 +127,20 @@ const f = {
115
127
  });
116
128
  let t, e;
117
129
  const i = async () => {
118
- const { data: n } = await p.get(s) || {};
119
- ({ status: t, url: e } = n);
120
- }, o = async () => {
130
+ const { data: o } = await p.get(s) || {};
131
+ ({ status: t, url: e } = o);
132
+ }, n = async () => {
121
133
  try {
122
134
  if (await i(), t === "canceled")
123
135
  throw new Error(
124
136
  `Canceled preparing document pdf for publicId: ${this.document.publicId}`
125
137
  );
126
138
  if (t === "completed" && e) {
127
- const n = () => {
139
+ const o = () => {
128
140
  const r = window.open(e, "_blank");
129
141
  return r ? (r.focus(), !0) : !1;
130
142
  };
131
- return n() || a({
143
+ return o() || a({
132
144
  type: "success",
133
145
  message: this.$t("preparingPdfDone"),
134
146
  time: null,
@@ -137,29 +149,29 @@ const f = {
137
149
  actions: {
138
150
  submit: {
139
151
  text: this.$t("_common:download"),
140
- callback: n
152
+ callback: o
141
153
  }
142
154
  }
143
155
  }), "close";
144
156
  }
145
- return await m(3e3), o();
146
- } catch (n) {
157
+ return await m(3e3), n();
158
+ } catch (o) {
147
159
  return a({
148
160
  type: "error",
149
161
  message: this.$t("preparingPdfError")
150
- }), this.$error(n, { showMessage: !1 }), "close";
162
+ }), this.$error(o, { showMessage: !1 }), "close";
151
163
  }
152
164
  };
153
165
  await a({
154
166
  type: "spinner",
155
167
  message: this.$t("preparingPdf"),
156
- time: o,
168
+ time: n,
157
169
  closeButton: !0
158
170
  }), this.$emit("close");
159
171
  }
160
172
  }
161
173
  };
162
- var u = function() {
174
+ var f = function() {
163
175
  var t = this, e = t._self._c;
164
176
  return e("div", [e("div", { staticClass: "options-wrapper" }, [e("div", { staticClass: "pb-4 text-lg font-semibold" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "print-options" }, [e("div", { staticClass: "pb-1 text-sm font-medium text-gray-800 select-none" }, [t._v(" " + t._s(t.$t("_common:document")) + " ")]), e("div", { staticClass: "option-item" }, [e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", class: { disabled: !t.document.attachedFiles.length }, on: { click: function(i) {
165
177
  t.options.appendAttachments = !t.options.appendAttachments;
@@ -175,23 +187,30 @@ var u = function() {
175
187
  t.showMoreOptions = !t.showMoreOptions;
176
188
  } } }, [t._v(" " + t._s(t.$t("_common:more").capitalize()) + " "), e("BaseIcon", { staticClass: "ml-0.5 transition-transform", class: { "rotate-90": t.showMoreOptions }, attrs: { type: "chevron-right", "stroke-width": "2.25", size: "12" } })], 1), e("Animation", [t.showMoreOptions ? e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", on: { click: function(i) {
177
189
  t.options.showLast4ssn = !t.options.showLast4ssn;
178
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showForceCreatePDF ? e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", "margin-top": "20px", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
190
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "pb-1 text-sm font-medium text-gray-800 select-none" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
179
191
  t.options.forceDoCreatePdf = !t.options.forceDoCreatePdf;
180
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1) : t._e()])]), e("CButton", { attrs: { type: "secondary", size: "medium", wide: "" }, on: { click: t.generatePdf } }, [t._v(" " + t._s(t.$t("buttonText")) + " ")])], 1);
181
- }, v = [function() {
192
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
193
+ t.options.debugPage = !t.options.debugPage;
194
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.debugPage, type: "secondary", size: "small" } }), t._m(1)], 1), e("div", { staticClass: "bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" } }, [e("CInput", { attrs: { type: "number", filled: "", size: "small", placeholder: "Optional extra timeout (ms)" }, model: { value: t.extraTimeout, callback: function(i) {
195
+ t.extraTimeout = t._n(i);
196
+ }, expression: "extraTimeout" } })], 1)]) : t._e()])]), e("CButton", { attrs: { type: "secondary", size: "medium", wide: "" }, on: { click: t.generatePdf } }, [t._v(" " + t._s(t.$t("buttonText")) + " ")])], 1);
197
+ }, g = [function() {
182
198
  var s = this, t = s._self._c;
183
- return t("div", [t("div", [s._v("Superuser + VPN: Force re-create PDF")])]);
184
- }], g = /* @__PURE__ */ d(
185
- f,
199
+ return t("div", [t("div", [s._v("Force re-create PDF")])]);
200
+ }, function() {
201
+ var s = this, t = s._self._c;
202
+ return t("div", [t("div", [s._v("Debug page output")])]);
203
+ }], v = /* @__PURE__ */ d(
186
204
  u,
187
- v,
205
+ f,
206
+ g,
188
207
  !1,
189
208
  null,
190
- "8fa798ef",
209
+ "87e6a850",
191
210
  null,
192
211
  null
193
212
  );
194
- const _ = g.exports, w = {
213
+ const _ = v.exports, y = {
195
214
  name: "DocPrint",
196
215
  components: {
197
216
  DocumentPrint: _
@@ -203,13 +222,13 @@ const _ = g.exports, w = {
203
222
  }
204
223
  }
205
224
  };
206
- var y = function() {
225
+ var x = function() {
207
226
  var t = this, e = t._self._c;
208
227
  return e("div", { staticClass: "h-full w-full overflow-auto px-8 py-12" }, [e("DocumentPrint", { attrs: { document: t.document } })], 1);
209
- }, x = [], b = /* @__PURE__ */ d(
210
- w,
228
+ }, w = [], b = /* @__PURE__ */ d(
211
229
  y,
212
230
  x,
231
+ w,
213
232
  !1,
214
233
  null,
215
234
  null,
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-9daa18a1.js";
1
+ import { g as p, n as u } from "./main-73b04297.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-4a0fff7c.js";
3
3
  const f = {
4
4
  sv: {
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-9daa18a1.js";
1
+ import { g as m, n as a } from "./main-73b04297.js";
2
2
  import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",
@@ -1,11 +1,11 @@
1
- import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-ae169d52.js";
2
- import { V as Vn, n as ut, a4 as bs, b as Ds, p as Ha } from "./main-9daa18a1.js";
3
- import { g as ai } from "./dom-d4731032.js";
4
- import { i as Jo } from "./CDropdownItem-ef2d7897.js";
5
- import "./CSlider.vue_vue_type_style_index_0_lang-4a1c5561.js";
1
+ import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-eb9486e0.js";
2
+ import { V as Vn, n as ut, a4 as bs, b as Ds, p as Ha } from "./main-73b04297.js";
3
+ import { a as ai } from "./dom-962579a6.js";
4
+ import { i as Jo } from "./CDropdownItem-55d36127.js";
5
+ import "./CSlider.vue_vue_type_style_index_0_lang-e3343543.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
- import { M as Go } from "./ManualPopover-d5ea2774.js";
8
- import { C as Va } from "./ColorPicker-15579f77.js";
7
+ import { M as Go } from "./ManualPopover-dfa0e9ab.js";
8
+ import { C as Va } from "./ColorPicker-ec8e8175.js";
9
9
  import { h as ja } from "./color-71c20583.js";
10
10
  function ee(n) {
11
11
  this.content = n;
@@ -13959,7 +13959,7 @@ const Dm = bm.exports;
13959
13959
  const Cm = {
13960
13960
  components: {
13961
13961
  FormInputRow: za,
13962
- TextTemplates: () => import("./index-1f9bf410.js")
13962
+ TextTemplates: () => import("./index-a0048c9d.js")
13963
13963
  },
13964
13964
  props: {
13965
13965
  editor: {
@@ -14811,7 +14811,7 @@ const _m = {
14811
14811
  },
14812
14812
  async openPreview() {
14813
14813
  var r;
14814
- const n = () => import("./FilePreviewModal-31b883c3.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14814
+ const n = () => import("./FilePreviewModal-d6641d5a.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14815
14815
  this.$modal.show(
14816
14816
  n,
14817
14817
  {
@@ -16931,16 +16931,16 @@ const Ko = async (n) => {
16931
16931
  // TODO: Could ideally be moved to tiptap extension
16932
16932
  // TODO: Handling create/destroy of tippy instances etc
16933
16933
  createTooltips() {
16934
- var r;
16935
- const { el: n, isShadow: e } = ai((r = this.$root) == null ? void 0 : r.$el), t = e ? n : n.body;
16936
- this.dynamicTooltips = ys(this.$el, {
16934
+ var i;
16935
+ const { el: n, isShadow: e } = ai((i = this.$root) == null ? void 0 : i.$el), t = e ? n : n.body, r = e ? this.$el : `.uid-${this._uid}`;
16936
+ this.dynamicTooltips = ys(r, {
16937
16937
  target: "span[data-tooltip]",
16938
16938
  appendTo: t,
16939
- content(i) {
16939
+ content(s) {
16940
16940
  return `
16941
16941
  <div class="tooltip">
16942
16942
  <div class="tooltip-inner">
16943
- ${i.getAttribute("data-tooltip")}
16943
+ ${s.getAttribute("data-tooltip")}
16944
16944
  </div>
16945
16945
  </div>
16946
16946
  `;
@@ -1,4 +1,4 @@
1
- import { n as u, a4 as b, b as S, a5 as _, a6 as f } from "./main-9daa18a1.js";
1
+ import { n as u, a4 as b, b as S, a5 as _, a6 as f } from "./main-73b04297.js";
2
2
  import { m as D } from "./vuex.esm-4a0fff7c.js";
3
3
  const x = {
4
4
  new: {
@@ -1,9 +1,9 @@
1
- import { n, V as d } from "./main-9daa18a1.js";
2
- import { D as u } from "./DocumentLayout-632a6f98.js";
3
- import { f as m } from "./formValidationMixin-20797066.js";
4
- import { a as l } from "./answerDocumentMixin-5711c3ae.js";
5
- import "./CDropdownItem-ef2d7897.js";
6
- import "./dom-d4731032.js";
1
+ import { n, V as d } from "./main-73b04297.js";
2
+ import { D as u } from "./DocumentLayout-48c2d8a7.js";
3
+ import { f as m } from "./formValidationMixin-ed233af0.js";
4
+ import { a as l } from "./answerDocumentMixin-b844a10e.js";
5
+ import "./CDropdownItem-55d36127.js";
6
+ import "./dom-962579a6.js";
7
7
  const f = (s) => {
8
8
  var e;
9
9
  return (e = window == null ? void 0 : window.parent) == null ? void 0 : e.postMessage(s, "*");
@@ -1,5 +1,5 @@
1
- import { j as _o, n as Pt, R as wn, c as aa, V as ca, l as la, q as ua, b as da } from "./main-9daa18a1.js";
2
- import { b as di, C as fa, d as pa } from "./CDropdownItem-ef2d7897.js";
1
+ import { j as _o, n as Pt, R as wn, c as aa, V as ca, l as la, q as ua, b as da } from "./main-73b04297.js";
2
+ import { b as di, C as fa, d as pa } from "./CDropdownItem-55d36127.js";
3
3
  var fi = { exports: {} }, ha = fi.exports = {};
4
4
  ha.forEach = function(d, c) {
5
5
  for (var f = 0; f < d.length; f++) {
@@ -4778,7 +4778,7 @@ const ui = Pc.exports, Ac = {
4778
4778
  },
4779
4779
  computed: {
4780
4780
  loader() {
4781
- return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-c217198e.js"), "../blocks/attachments/Index.vue": () => import("./Index-d54ff9f5.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-63a45208.js"), "../blocks/custom/Index.vue": () => import("./Index-c3cf1a7a.js").then((d) => d.I), "../blocks/docChapter/Index.vue": () => import("./Index-c5d2a3f3.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-b7ee6604.js"), "../blocks/docParties/Index.vue": () => import("./Index-d3789f66.js"), "../blocks/embed/Index.vue": () => import("./Index-fb7d681c.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-6a2c0245.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-3a278b14.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-f465338a.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-d4b5163a.js"), "../blocks/header/Index.vue": () => import("./Index-0dbc20a5.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-c5a2140d.js"), "../blocks/notBinding/Index.vue": () => import("./Index-4ecb48f7.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-1ec70336.js"), "../blocks/pdf/Index.vue": () => import("./Index-d9dd3c6b.js"), "../blocks/presentation/Index.vue": () => import("./Index-f7e348e2.js"), "../blocks/terms/Index.vue": () => import("./Index-5204e965.js"), "../blocks/textContent/Index.vue": () => import("./Index-860706da.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-e9c20129.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-9275b550.js") }), `../blocks/${this.componentName}/Index.vue`);
4781
+ return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-5f8f46d7.js"), "../blocks/attachments/Index.vue": () => import("./Index-97f8832c.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-26266d8f.js"), "../blocks/custom/Index.vue": () => import("./Index-b21fc0d5.js").then((d) => d.I), "../blocks/docChapter/Index.vue": () => import("./Index-52fae967.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-1176ba23.js"), "../blocks/docParties/Index.vue": () => import("./Index-5c3393a7.js"), "../blocks/embed/Index.vue": () => import("./Index-6610cff8.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-86c7faa0.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-8e7dad66.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-b93d220a.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-29f59b0b.js"), "../blocks/header/Index.vue": () => import("./Index-29e20c7b.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-c89d4517.js"), "../blocks/notBinding/Index.vue": () => import("./Index-5d4f7700.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-1a3b0017.js"), "../blocks/pdf/Index.vue": () => import("./Index-c1f81c5d.js"), "../blocks/presentation/Index.vue": () => import("./Index-f9e6924b.js"), "../blocks/terms/Index.vue": () => import("./Index-b79b46ed.js"), "../blocks/textContent/Index.vue": () => import("./Index-800624cc.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-04f97514.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-e16918b8.js") }), `../blocks/${this.componentName}/Index.vue`);
4782
4782
  },
4783
4783
  isPdfPrintAndPdfBlock() {
4784
4784
  var d, c;
@@ -1,10 +1,10 @@
1
- import { g as a, n as s } from "./main-9daa18a1.js";
1
+ import { g as a, n as s } from "./main-73b04297.js";
2
2
  import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
3
- import { a as r } from "./publicSenderState-5036fa9a.js";
3
+ import { a as r } from "./publicSenderState-aa1142cf.js";
4
4
  const c = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
- ImageUploadWrapper: () => import("./ImageUploadWrapper-65d04b72.js")
7
+ ImageUploadWrapper: () => import("./ImageUploadWrapper-d6824c36.js")
8
8
  },
9
9
  props: {
10
10
  value: {
@@ -1,5 +1,5 @@
1
- import { d } from "./CDropdownItem-ef2d7897.js";
2
- import { b as l, n as o } from "./main-9daa18a1.js";
1
+ import { d } from "./CDropdownItem-55d36127.js";
2
+ import { b as l, n as o } from "./main-73b04297.js";
3
3
  const m = (t) => {
4
4
  const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
5
5
  return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
@@ -1,6 +1,6 @@
1
- import n from "./EmbedInput-a3868460.js";
2
- import { n as l } from "./main-9daa18a1.js";
3
- import "./CDropdownItem-ef2d7897.js";
1
+ import n from "./EmbedInput-70967810.js";
2
+ import { n as l } from "./main-73b04297.js";
3
+ import "./CDropdownItem-55d36127.js";
4
4
  const o = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-9daa18a1.js";
1
+ import { n as r } from "./main-73b04297.js";
2
2
  const s = {
3
3
  name: "ErrorCallout",
4
4
  props: {
@@ -1,8 +1,8 @@
1
- import { n, S as o } from "./main-9daa18a1.js";
2
- import { V as r } from "./PdfViewer-371b5058.js";
3
- import "./dom-d4731032.js";
4
- import "./DocumentLayout-632a6f98.js";
5
- import "./CDropdownItem-ef2d7897.js";
1
+ import { n, S as o } from "./main-73b04297.js";
2
+ import { V as r } from "./PdfViewer-05cdae7d.js";
3
+ import "./dom-962579a6.js";
4
+ import "./DocumentLayout-48c2d8a7.js";
5
+ import "./CDropdownItem-55d36127.js";
6
6
  const a = {
7
7
  name: "FilesPreviewModal",
8
8
  components: {
@@ -1,20 +1,20 @@
1
- import { m as x } from "./mapFormMixin-1236b266.js";
2
- import { T as _ } from "./ThemeColorRow-37a17ce4.js";
3
- import { c as v, n as y, l as d } from "./main-9daa18a1.js";
4
- import { a as w } from "./image-c4536036.js";
5
- import { B as C, a as k } from "./index-b5312c69.js";
6
- import b from "./VideoPlayerInput-55ab9dd1.js";
7
- import S from "./ImageUploadWrapper-65d04b72.js";
8
- import { a as A } from "./tinycolor-e750ced7.js";
1
+ import { m as x } from "./mapFormMixin-eca2705b.js";
2
+ import { T as _ } from "./ThemeColorRow-fc8942b5.js";
3
+ import { c as v, n as y, l as d } from "./main-73b04297.js";
4
+ import { a as w } from "./image-a8004950.js";
5
+ import { B as C, a as k } from "./index-c504f71f.js";
6
+ import b from "./VideoPlayerInput-627a5cdf.js";
7
+ import S from "./ImageUploadWrapper-d6824c36.js";
8
+ import { a as A } from "./tinycolor-7e30d091.js";
9
9
  import "./color-71c20583.js";
10
- import "./ColorPicker-15579f77.js";
11
- import "./ManualPopover-d5ea2774.js";
12
- import "./CDropdownItem-ef2d7897.js";
13
- import "./throttle-d4af9020.js";
14
- import "./dom-d4731032.js";
15
- import "./simplebar.min-8422a634.js";
16
- import "./utils-a1170d9a.js";
17
- import "./BaseUpload-7d9dd124.js";
10
+ import "./ColorPicker-ec8e8175.js";
11
+ import "./ManualPopover-dfa0e9ab.js";
12
+ import "./CDropdownItem-55d36127.js";
13
+ import "./throttle-5aa94034.js";
14
+ import "./dom-962579a6.js";
15
+ import "./simplebar.min-c240d344.js";
16
+ import "./utils-ad6484bb.js";
17
+ import "./BaseUpload-1eb2faf5.js";
18
18
  const g = v.unsplash.id, L = v.pexels.id, z = {
19
19
  name: "MediaSelectModal",
20
20
  i18nOptions: {
@@ -1,12 +1,12 @@
1
- import { c as r, n as l, l as n } from "./main-9daa18a1.js";
2
- import { a as i } from "./image-c4536036.js";
3
- import c from "./ImageUploadWrapper-65d04b72.js";
4
- import { B as m, a as p } from "./index-b5312c69.js";
5
- import "./BaseUpload-7d9dd124.js";
6
- import "./CDropdownItem-ef2d7897.js";
7
- import "./throttle-d4af9020.js";
8
- import "./dom-d4731032.js";
9
- import "./simplebar.min-8422a634.js";
1
+ import { c as r, n as l, l as n } from "./main-73b04297.js";
2
+ import { a as i } from "./image-a8004950.js";
3
+ import c from "./ImageUploadWrapper-d6824c36.js";
4
+ import { B as m, a as p } from "./index-c504f71f.js";
5
+ import "./BaseUpload-1eb2faf5.js";
6
+ import "./CDropdownItem-55d36127.js";
7
+ import "./throttle-5aa94034.js";
8
+ import "./dom-962579a6.js";
9
+ import "./simplebar.min-c240d344.js";
10
10
  const o = r.unsplash.id, d = {
11
11
  name: "ImageSelectModal",
12
12
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import Xt from "./BaseUpload-7d9dd124.js";
2
- import { V as k, n as _t, H as Yt } from "./main-9daa18a1.js";
1
+ import Xt from "./BaseUpload-1eb2faf5.js";
2
+ import { V as k, n as _t, H as Yt } from "./main-73b04297.js";
3
3
  function yt(t, e) {
4
4
  var i = Object.keys(t);
5
5
  if (Object.getOwnPropertySymbols) {
@@ -1,8 +1,8 @@
1
- import { m as o } from "./mapFormMixin-1236b266.js";
2
- import { f as r } from "./focusDrawerMixin-5139ff2d.js";
3
- import { g as n } from "./utils-a1170d9a.js";
4
- import { n as a } from "./main-9daa18a1.js";
5
- import "./formDrawerState-872f6c63.js";
1
+ import { m as o } from "./mapFormMixin-eca2705b.js";
2
+ import { f as r } from "./focusDrawerMixin-9627614a.js";
3
+ import { g as n } from "./utils-ad6484bb.js";
4
+ import { n as a } from "./main-73b04297.js";
5
+ import "./formDrawerState-876f57b6.js";
6
6
  const d = {
7
7
  name: "VideoPlayer",
8
8
  i18nOptions: {
@@ -10,8 +10,8 @@ const d = {
10
10
  keyPrefix: "document.videoPlayer"
11
11
  },
12
12
  components: {
13
- VideoPlayerSettings: () => import("./VideoPlayerSettings-1d2507e8.js"),
14
- VideoPlayerInput: () => import("./VideoPlayerInput-55ab9dd1.js")
13
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-46355f8b.js"),
14
+ VideoPlayerInput: () => import("./VideoPlayerInput-627a5cdf.js")
15
15
  },
16
16
  mixins: [o(["videoPlayer"]), r],
17
17
  data() {
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-1236b266.js";
2
- import { I as i } from "./InputToggleRow-281e90c1.js";
3
- import { B as a } from "./BaseInput-4ee00e7a.js";
4
- import { n as l } from "./main-9daa18a1.js";
1
+ import { m as o } from "./mapFormMixin-eca2705b.js";
2
+ import { I as i } from "./InputToggleRow-e0f2f03d.js";
3
+ import { B as a } from "./BaseInput-a23a8bff.js";
4
+ import { n as l } from "./main-73b04297.js";
5
5
  const m = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeToCompleteText",
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-9daa18a1.js";
1
+ import { n as r } from "./main-73b04297.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -1,6 +1,6 @@
1
- import { K as c, s as u, n as m } from "./main-9daa18a1.js";
2
- import { P as p } from "./PlainHtml-c70dc350.js";
3
- import { s as g } from "./dom-d4731032.js";
1
+ import { K as c, s as u, n as m } from "./main-73b04297.js";
2
+ import { P as p } from "./PlainHtml-25f86c0e.js";
3
+ import { s as g } from "./dom-962579a6.js";
4
4
  const f = {
5
5
  name: "ExtraWorkConstructionPricingListRead",
6
6
  props: {
@@ -1,10 +1,10 @@
1
- import { m as s } from "./mapFormMixin-1236b266.js";
2
- import { n as o } from "./main-9daa18a1.js";
1
+ import { m as s } from "./mapFormMixin-eca2705b.js";
2
+ import { n as o } from "./main-73b04297.js";
3
3
  const u = {
4
4
  name: "PackageGroupBlock",
5
5
  components: {
6
- PackageGroupRead: () => import("./PackageGroup-29439e17.js"),
7
- PackageGroupEdit: () => import("./Index-ca586e17.js")
6
+ PackageGroupRead: () => import("./PackageGroup-47bcb0de.js"),
7
+ PackageGroupEdit: () => import("./Index-38b6a5b2.js")
8
8
  },
9
9
  mixins: [s([
10
10
  "type",