@cling-se/widget 0.9.10 → 0.9.11

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 (147) hide show
  1. package/README.md +35 -35
  2. package/dist/{AddClientCallout-98b5d2c9.js → AddClientCallout-bccc787f.js} +5 -5
  3. package/dist/{AnswerModal-995e7a87.js → AnswerModal-4de1dbc1.js} +7 -7
  4. package/dist/{AttachmentItem-331b9c1e.js → AttachmentItem-800d8c9f.js} +4 -4
  5. package/dist/{BaseDatePicker-7f047527.js → BaseDatePicker-1abafbac.js} +43 -43
  6. package/dist/{BaseInput-c79f0001.js → BaseInput-51ade595.js} +1 -1
  7. package/dist/{BaseUpload-9402cc1b.js → BaseUpload-b9b2fa68.js} +3 -3
  8. package/dist/{BlockMedia-80a082ed.js → BlockMedia-efc20618.js} +2 -2
  9. package/dist/{CCallout-bd314caa.js → CCallout-a357fde2.js} +5 -5
  10. package/dist/{CDropdownItem-ab42f924.js → CDropdownItem-bb7f1de7.js} +1 -1
  11. package/dist/{CField-6da7299b.js → CField-d69fcf46.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-c70342a2.js → CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js} +1 -1
  13. package/dist/{ClientAutocomplete-67fc253c.js → ClientAutocomplete-d126a3bd.js} +6 -6
  14. package/dist/{ClientModal-1709e8c7.js → ClientModal-e2c196c4.js} +5 -5
  15. package/dist/{ColorPicker-4880a624.js → ColorPicker-81f9f778.js} +2 -2
  16. package/dist/{CompanyModal-dbe85884.js → CompanyModal-092999bf.js} +4 -4
  17. package/dist/{ContentWrapper-a602cc3d.js → ContentWrapper-1f930dce.js} +14 -14
  18. package/dist/{CoverBlockSettings-f37fe6e1.js → CoverBlockSettings-5aa513a4.js} +20 -20
  19. package/dist/DocForm-2e9af604.js +7132 -0
  20. package/dist/{DocFormSend-c9b955b9.js → DocFormSend-fadf14c9.js} +18 -19
  21. package/dist/{DocModalBase-8c238a59.js → DocModalBase-4172fbbb.js} +4 -4
  22. package/dist/{DocPrint-2a181ffb.js → DocPrint-edc291ba.js} +5 -5
  23. package/dist/{DocReceipt-00c0f631.js → DocReceipt-bcb8539c.js} +1 -1
  24. package/dist/{DocSendReminder-9effd808.js → DocSendReminder-c75a1906.js} +1 -1
  25. package/dist/{DocTextEditor-0c8a4782.js → DocTextEditor-c9b90281.js} +12 -12
  26. package/dist/{DocTimeline-be5e8b9d.js → DocTimeline-2afee21c.js} +5 -5
  27. package/dist/{DocumentClient-13f55b25.js → DocumentClient-425f6e0b.js} +5 -5
  28. package/dist/{DocumentLayout-2ff55f9f.js → DocumentLayout-0d24ac85.js} +5 -5
  29. package/dist/{DocumentLogotype-80a2521a.js → DocumentLogotype-278b2823.js} +15 -15
  30. package/dist/{EmbedInput-8572a42b.js → EmbedInput-28796e66.js} +2 -2
  31. package/dist/{EmbedSettings-1a60358e.js → EmbedSettings-1e097db9.js} +5 -5
  32. package/dist/{ErrorCallout-84e8168b.js → ErrorCallout-ddbc30af.js} +2 -2
  33. package/dist/{FilePreviewModal-cdafbf1c.js → FilePreviewModal-360216a2.js} +5 -5
  34. package/dist/{HeaderSettings-9f4d182b.js → HeaderSettings-abc9e60f.js} +15 -15
  35. package/dist/{ImageSelectModal-b97c8185.js → ImageSelectModal-2c078df5.js} +10 -10
  36. package/dist/{ImageUploadWrapper-ebcdbc9e.js → ImageUploadWrapper-99a3b0dd.js} +3 -3
  37. package/dist/{Index-4bbfdb2e.js → Index-05d4a173.js} +2 -2
  38. package/dist/{Index-ba4cfb80.js → Index-0a9e95d6.js} +6 -6
  39. package/dist/{Index-623bb993.js → Index-168790bc.js} +4 -4
  40. package/dist/{Index-ddf49640.js → Index-193a4968.js} +6 -6
  41. package/dist/{Index-7b1fd376.js → Index-23c1de88.js} +2 -2
  42. package/dist/{Index-9c5f5d6e.js → Index-44764dbb.js} +7 -7
  43. package/dist/{Index-5428e87c.js → Index-4cae2241.js} +9 -9
  44. package/dist/{Index-11d16691.js → Index-5688e5e1.js} +25 -25
  45. package/dist/{Index-8cba5dac.js → Index-610a54bf.js} +39 -39
  46. package/dist/{Index-6c782bef.js → Index-61786d22.js} +12 -12
  47. package/dist/{Index-3ccc66e4.js → Index-61b794ca.js} +4 -4
  48. package/dist/{Index-dd30bbc5.js → Index-6435f551.js} +12 -12
  49. package/dist/{Index-7f01697f.js → Index-7317f443.js} +7 -7
  50. package/dist/{Index-ffc7dba1.js → Index-7a56c885.js} +5 -5
  51. package/dist/{Index-dca28212.js → Index-81eeecba.js} +2 -2
  52. package/dist/{Index-0bbbe1cf.js → Index-83597574.js} +11 -11
  53. package/dist/{Index-8ecb9aa4.js → Index-8b02f74f.js} +2 -2
  54. package/dist/{Index-b233276b.js → Index-8b57e293.js} +2 -2
  55. package/dist/{Index-039d9c9d.js → Index-901f2f68.js} +6 -6
  56. package/dist/{Index-0bd4a30c.js → Index-942a36d2.js} +6 -6
  57. package/dist/{Index-de93e029.js → Index-a0de23fe.js} +7 -7
  58. package/dist/{Index-c2b2ccd9.js → Index-a8b60741.js} +8 -8
  59. package/dist/{Index-8053871b.js → Index-a8faf552.js} +4 -4
  60. package/dist/{Index-8c4fd5b4.js → Index-abb29c87.js} +27 -27
  61. package/dist/{Index-8755440b.js → Index-ad024dc9.js} +5 -5
  62. package/dist/{Index-8eff4eae.js → Index-aecbccac.js} +2 -2
  63. package/dist/{Index-0022bc40.js → Index-c5b9ad7f.js} +4 -4
  64. package/dist/{Index-341f9388.js → Index-cb10ca9b.js} +8 -8
  65. package/dist/{Index-f9063054.js → Index-cb1efaaa.js} +7 -7
  66. package/dist/{Index-2ecefac2.js → Index-d2d40188.js} +4 -4
  67. package/dist/{Index-95f0dd2f.js → Index-d56d4b7b.js} +19 -19
  68. package/dist/{Index-0306a974.js → Index-d841c396.js} +12 -12
  69. package/dist/{Index-451f5485.js → Index-f3af647f.js} +5 -5
  70. package/dist/{Index-473d0fad.js → Index-f9a97c67.js} +3 -3
  71. package/dist/{InputToggleRow-533651e6.js → InputToggleRow-3bba2a55.js} +2 -2
  72. package/dist/IsPremiumPreStep-1657f1ce.js +2443 -0
  73. package/dist/{MediaWrapper-388589e5.js → MediaWrapper-574eca05.js} +3 -3
  74. package/dist/{NotBindingText-b833c49b.js → NotBindingText-f2acdb51.js} +2 -2
  75. package/dist/{PackageGroup-41b2d524.js → PackageGroup-625d7093.js} +17 -17
  76. package/dist/{PdfTerms-461fcd9e.js → PdfTerms-05e6491e.js} +7 -7
  77. package/dist/{PdfViewer-099b598c.js → PdfViewer-4d32b0f1.js} +2 -2
  78. package/dist/{PlainHtml-37aa5b7b.js → PlainHtml-c2e1feca.js} +1 -1
  79. package/dist/PriceHeader-ce8bb22c.js +337 -0
  80. package/dist/{SearchApi-25909227.js → SearchApi-b7e03288.js} +2 -2
  81. package/dist/Setup-e92daff6.js +50 -0
  82. package/dist/{TermsSettings-c730ac70.js → TermsSettings-de33fad6.js} +10 -10
  83. package/dist/{ThemeColorRow-31d8285b.js → ThemeColorRow-52efe243.js} +3 -3
  84. package/dist/{ToggleBinding-1a98360f.js → ToggleBinding-ec8d351f.js} +3 -3
  85. package/dist/{UploadModal-e0a37c3e.js → UploadModal-463188b1.js} +4 -4
  86. package/dist/{VideoPlayerInput-4d7f302a.js → VideoPlayerInput-9314dfa5.js} +3 -3
  87. package/dist/{VideoPlayerSettings-81168a6b.js → VideoPlayerSettings-e7978498.js} +5 -5
  88. package/dist/{VideoSelectModal-dc429ff0.js → VideoSelectModal-72e1e4e2.js} +26 -26
  89. package/dist/{answerDocumentMixin-3ff2b25d.js → answerDocumentMixin-d65059b8.js} +3 -3
  90. package/dist/assets/article-options-10522.png +0 -0
  91. package/dist/assets/bg-base-11995.png +0 -0
  92. package/dist/assets/bg-pro-89155.png +0 -0
  93. package/dist/assets/bg-start-17372.png +0 -0
  94. package/dist/assets/blank-95062.png +0 -0
  95. package/dist/assets/block-options-11378.png +0 -0
  96. package/dist/assets/columnGallery.image-14820.png +0 -0
  97. package/dist/assets/doc-send-25589.png +0 -0
  98. package/dist/assets/drag-block-21107.png +0 -0
  99. package/dist/assets/headerCircularGradient.image-79345.png +0 -0
  100. package/dist/assets/roiCalculator.image-13673.png +0 -0
  101. package/dist/assets/text-bubble-21606.png +0 -0
  102. package/dist/{cssMode-c6b1b286.js → cssMode-88d0146a.js} +19 -15
  103. package/dist/{focusDrawerMixin-01b547f0.js → focusDrawerMixin-46eade80.js} +1 -1
  104. package/dist/{formComponentsInstall-9e33cb8f.js → formComponentsInstall-0cfab48e.js} +41 -36
  105. package/dist/{formValidationMixin-74c239ee.js → formValidationMixin-94fb3562.js} +1 -1
  106. package/dist/{freemarker2-076519a0.js → freemarker2-fb187d64.js} +23 -19
  107. package/dist/{handlebars-bb155717.js → handlebars-4a1a8024.js} +15 -11
  108. package/dist/{html-1cf008d9.js → html-00e90fc7.js} +18 -14
  109. package/dist/{htmlMode-bf67fa2b.js → htmlMode-cfbebdc7.js} +23 -19
  110. package/dist/{index-7097f05c.js → index-7a30802a.js} +13 -13
  111. package/dist/{index-908333a3.js → index-93fd29b3.js} +9 -9
  112. package/dist/{index-0f09ca1c.js → index-de7702a8.js} +10 -10
  113. package/dist/index-e9d870d0.js +17 -0
  114. package/dist/index.es.js +4 -4
  115. package/dist/index.umd.js +585 -588
  116. package/dist/{javascript-b98377f9.js → javascript-3213b923.js} +15 -11
  117. package/dist/{jsonMode-e9595a57.js → jsonMode-afc781d8.js} +23 -19
  118. package/dist/{liquid-b60636e3.js → liquid-dc5a4df5.js} +18 -14
  119. package/dist/{main-cf622dd3.js → main-abeba7c1.js} +30552 -30687
  120. package/dist/{mapFormMixin-490a1765.js → mapFormMixin-e82f943f.js} +1 -1
  121. package/dist/{publicSenderState-6b369e21.js → publicSenderState-2f11c080.js} +1 -1
  122. package/dist/{python-4e4d18f5.js → python-4bce1745.js} +15 -11
  123. package/dist/{razor-63ead89f.js → razor-f57062fd.js} +22 -18
  124. package/dist/{simplebar.min-3f1edc12.js → simplebar.min-07c0e6b7.js} +1 -1
  125. package/dist/style.css +2 -2
  126. package/dist/template-3600893b.js +528 -0
  127. package/dist/{throttle-2b45d29c.js → throttle-1bf5bb97.js} +2 -2
  128. package/dist/{tinycolor-9f3cc25c.js → tinycolor-0084a04e.js} +1 -1
  129. package/dist/{tippy.esm-dec03596.js → tippy.esm-2bcbed04.js} +7 -7
  130. package/dist/{tsMode-e93504e4.js → tsMode-c0486e4e.js} +19 -15
  131. package/dist/{typescript-111230d0.js → typescript-50a48698.js} +15 -11
  132. package/dist/{utils-fb02e603.js → utils-d907da71.js} +1 -1
  133. package/dist/{vuedraggable.umd-f2d6d3e3.js → vuedraggable.umd-c326d90c.js} +48 -48
  134. package/dist/{xml-987e33cc.js → xml-0ef7a70a.js} +18 -14
  135. package/package.json +8 -10
  136. package/.env +0 -12
  137. package/dist/DocAnswer-081e8239.js +0 -33
  138. package/dist/DocForm-c69281fc.js +0 -7062
  139. package/dist/IsPremiumPreStep-8d46fadc.js +0 -2349
  140. package/dist/PriceHeader-41c48787.js +0 -337
  141. package/dist/index-e37214e9.js +0 -14
  142. package/dist/template-66eba036.js +0 -526
  143. package/jsconfig.json +0 -11
  144. package/postcss.config.cjs +0 -6
  145. package/stats.html +0 -4044
  146. package/tailwind.config.cjs +0 -26
  147. package/vite-plugin-library-asset-external/index.js +0 -134
@@ -1,6 +1,6 @@
1
- import { B as n } from "./BlockMedia-80a082ed.js";
2
- import { m as a } from "./mapFormMixin-490a1765.js";
3
- import { n as m } from "./main-cf622dd3.js";
1
+ import { B as n } from "./BlockMedia-efc20618.js";
2
+ import { m as a } from "./mapFormMixin-e82f943f.js";
3
+ import { n as m } from "./main-abeba7c1.js";
4
4
  import "./color-71c20583.js";
5
5
  const o = {
6
6
  name: "MediaWrapper",
@@ -1,5 +1,5 @@
1
- import { P as t } from "./PlainHtml-37aa5b7b.js";
2
- import { n as e } from "./main-cf622dd3.js";
1
+ import { P as t } from "./PlainHtml-c2e1feca.js";
2
+ import { n as e } from "./main-abeba7c1.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,13 +1,13 @@
1
- import { t as m } from "./tinycolor-9f3cc25c.js";
2
- import { aa as y, ab as v, q as g, n as p, ac as f, t as k, b as u, ad as w, k as P } from "./main-cf622dd3.js";
3
- import { E as x } from "./ErrorCallout-84e8168b.js";
4
- import { m as _ } from "./mapFormMixin-490a1765.js";
5
- import { T as b } from "./DocTextEditor-0c8a4782.js";
6
- import "./tippy.esm-dec03596.js";
7
- import "./ColorPicker-4880a624.js";
8
- import "./DocumentLayout-2ff55f9f.js";
9
- import "./CDropdownItem-ab42f924.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-c70342a2.js";
1
+ import { t as m } from "./tinycolor-0084a04e.js";
2
+ import { a9 as y, aa as v, q as g, n as p, ab as f, s as k, b as u, ac as w, k as P } from "./main-abeba7c1.js";
3
+ import { E as b } from "./ErrorCallout-ddbc30af.js";
4
+ import { m as _ } from "./mapFormMixin-e82f943f.js";
5
+ import { T as x } from "./DocTextEditor-c9b90281.js";
6
+ import "./tippy.esm-2bcbed04.js";
7
+ import "./ColorPicker-81f9f778.js";
8
+ import "./DocumentLayout-0d24ac85.js";
9
+ import "./CDropdownItem-bb7f1de7.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js";
11
11
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
12
12
  import "./color-71c20583.js";
13
13
  const $ = {
@@ -136,7 +136,7 @@ var T = function() {
136
136
  S,
137
137
  !1,
138
138
  null,
139
- "bc7871bf",
139
+ "24e9f828",
140
140
  null,
141
141
  null
142
142
  );
@@ -195,7 +195,7 @@ var A = function() {
195
195
  D,
196
196
  !1,
197
197
  null,
198
- "26311241",
198
+ "0814223b",
199
199
  null,
200
200
  null
201
201
  );
@@ -215,7 +215,7 @@ const B = {
215
215
  },
216
216
  components: {
217
217
  ArticleList: z,
218
- TextEditor: b
218
+ TextEditor: x
219
219
  },
220
220
  inject: {
221
221
  isPdf: {
@@ -335,7 +335,7 @@ var M = function() {
335
335
  W,
336
336
  !1,
337
337
  null,
338
- "c42435a2",
338
+ "1b1d9599",
339
339
  null,
340
340
  null
341
341
  );
@@ -490,7 +490,7 @@ var Z = function() {
490
490
  E,
491
491
  !1,
492
492
  null,
493
- "f918c763",
493
+ "03965578",
494
494
  null,
495
495
  null
496
496
  );
@@ -500,7 +500,7 @@ const N = {
500
500
  components: {
501
501
  PackageItem: q,
502
502
  PackagePricingSummary: j,
503
- ErrorCallout: x
503
+ ErrorCallout: b
504
504
  },
505
505
  mixins: [_([
506
506
  "type",
@@ -581,7 +581,7 @@ var R = function() {
581
581
  H,
582
582
  !1,
583
583
  null,
584
- "5856c27a",
584
+ "949caf8b",
585
585
  null,
586
586
  null
587
587
  );
@@ -1,8 +1,8 @@
1
- import { V as s } from "./PdfViewer-099b598c.js";
2
- import { n as t } from "./main-cf622dd3.js";
1
+ import { V as s } from "./PdfViewer-4d32b0f1.js";
2
+ import { n as t } from "./main-abeba7c1.js";
3
3
  import "./dom-068d1a7b.js";
4
- import "./DocumentLayout-2ff55f9f.js";
5
- import "./CDropdownItem-ab42f924.js";
4
+ import "./DocumentLayout-0d24ac85.js";
5
+ import "./CDropdownItem-bb7f1de7.js";
6
6
  const n = {
7
7
  name: "PdfTerms",
8
8
  functional: !0,
@@ -31,11 +31,11 @@ var a = /* @__PURE__ */ t(
31
31
  l,
32
32
  !1,
33
33
  null,
34
- "6b8c9a48",
34
+ "5d832f2b",
35
35
  null,
36
36
  null
37
37
  );
38
- const c = a.exports;
38
+ const d = a.exports;
39
39
  export {
40
- c as default
40
+ d as default
41
41
  };
@@ -1,6 +1,6 @@
1
- import { n as u, L as g } from "./main-cf622dd3.js";
1
+ import { n as u, K as g } from "./main-abeba7c1.js";
2
2
  import { e as d } from "./dom-068d1a7b.js";
3
- import { W as m } from "./DocumentLayout-2ff55f9f.js";
3
+ import { W as m } from "./DocumentLayout-0d24ac85.js";
4
4
  let o, l, f, c, p;
5
5
  function w(e) {
6
6
  return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-cf622dd3.js";
1
+ import { n as r } from "./main-abeba7c1.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };
@@ -0,0 +1,337 @@
1
+ import { m as c } from "./mapFormMixin-e82f943f.js";
2
+ import { B as l } from "./BlockMedia-efc20618.js";
3
+ import { n, b as r, q as d, a1 as u } from "./main-abeba7c1.js";
4
+ import { T as m } from "./DocTextEditor-c9b90281.js";
5
+ import { i as p } from "./i18nMessages-45c6bfd6.js";
6
+ import { t as _ } from "./tinycolor-0084a04e.js";
7
+ import { s as y } from "./dom-068d1a7b.js";
8
+ import "./color-71c20583.js";
9
+ import "./tippy.esm-2bcbed04.js";
10
+ import "./ColorPicker-81f9f778.js";
11
+ import "./DocumentLayout-0d24ac85.js";
12
+ import "./CDropdownItem-bb7f1de7.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js";
14
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
15
+ const h = {
16
+ name: "SummaryTop",
17
+ i18nOptions: {
18
+ namespaces: "summaryTop",
19
+ messages: p
20
+ },
21
+ components: {
22
+ TextEditor: m,
23
+ DocumentLogotype: () => import("./DocumentLogotype-278b2823.js")
24
+ },
25
+ inject: ["parentSize"],
26
+ mixins: [c([])],
27
+ props: {
28
+ showLogo: {
29
+ type: Boolean,
30
+ default: !0
31
+ },
32
+ logotype: {
33
+ type: String,
34
+ default: null
35
+ },
36
+ companyLogotype: {
37
+ type: String,
38
+ default: null
39
+ },
40
+ senderName: {
41
+ type: String,
42
+ default: null
43
+ },
44
+ docName: {
45
+ type: String,
46
+ default: null
47
+ },
48
+ docType: {
49
+ type: String,
50
+ required: !0
51
+ },
52
+ docNumber: {
53
+ type: [Number, String],
54
+ default: null
55
+ },
56
+ sentAt: {
57
+ type: [String, Number],
58
+ default: null
59
+ // required: true,
60
+ },
61
+ expiresAt: {
62
+ type: String,
63
+ default: null
64
+ },
65
+ estimatedTime: {
66
+ type: String,
67
+ default: null
68
+ },
69
+ validator: {
70
+ type: Object,
71
+ default: () => ({})
72
+ },
73
+ hasHover: {
74
+ type: Boolean,
75
+ default: !1
76
+ }
77
+ },
78
+ computed: {
79
+ logotypeListeners() {
80
+ return {
81
+ ...this.$listeners,
82
+ input: (i) => this.$emit("update:logotype", i)
83
+ };
84
+ }
85
+ }
86
+ };
87
+ var v = function() {
88
+ var e = this, t = e._self._c;
89
+ return t("section", { staticClass: "flex justify-center w-full summary-top" }, [t("div", { staticClass: "doc-summary-top-wrapper" }, [t("div", { staticClass: "doc-summary-top-wrapper__background" }), t("div", { staticClass: "flex justify-between w-full", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [e.showLogo && (e.logotype || e.companyLogotype) || e.canEdit ? t("DocumentLogotype", e._g({ attrs: { value: e.logotype, "show-logo": e.showLogo, "company-logotype": e.companyLogotype, "has-hover": e.hasHover } }, e.logotypeListeners)) : t("div", { staticClass: "company-name" }, [e._v(" " + e._s(e.senderName) + " ")]), t("div", { staticClass: "top-right-text-wrapper" }, [e.sentAt ? t("div", [e._v(e._s(e.$formatDate(e.sentAt)))]) : e._e(), e.docNumber ? t("div", [e._v(" #" + e._s(e.docNumber))]) : e._e()])], 1), t("div", { staticClass: "title-text" }, [e.canEdit ? t("TextEditor", { ref: "editor", staticClass: "no-drag", staticStyle: { "will-change": "opacity" }, attrs: { value: e.docName, placeholder: e.$t("name.placeholder"), extensions: {
90
+ bulletList: !1,
91
+ heading: [1, 2, 3],
92
+ bold: !1,
93
+ link: !1,
94
+ underline: !1,
95
+ blockquote: !0,
96
+ table: !1
97
+ }, unstyled: "", static: "" }, on: { input: function(s) {
98
+ return e.$emit("update:doc-name", s);
99
+ } } }) : t("div", { staticClass: "quill-custom", domProps: { innerHTML: e._s(e.docName) } })], 1), t("div", { staticClass: "flex justify-between w-full" }, [e.expiresAt ? t("div", { staticClass: "data-group" }, [t("div", { staticClass: "label-text caps" }, [e._v(e._s(e._document.$t("replyBy")))]), t("div", { staticClass: "data-text" }, [e._v(e._s(e.$formatDate(e.expiresAt)))])]) : e._e(), e.docType !== "document" ? t("div", { staticClass: "data-group" }, [t("div", { staticClass: "label-text caps" }, [e._v(e._s(e._document.$t("document").capitalize()))]), t("div", { staticClass: "data-text" }, [e._v(e._s(e._document.$t(`series.${e.docType}`).capitalize()))])]) : e._e(), e.parentSize.width >= 576 ? [e.estimatedTime ? t("div", { staticClass: "data-group" }, [t("div", { staticClass: "label-text caps" }, [e._v(e._s(e.$t("time.estimatedTime")))]), t("div", { staticClass: "data-text" }, [e._v(e._s(e._document.$t("approx")) + " " + e._s(e.estimatedTime))])]) : e._e()] : e._e()], 2)])]);
100
+ }, g = [], f = /* @__PURE__ */ n(
101
+ h,
102
+ v,
103
+ g,
104
+ !1,
105
+ null,
106
+ "ec3c14d9",
107
+ null,
108
+ null
109
+ );
110
+ const S = f.exports;
111
+ const x = {
112
+ name: "SummaryBottom",
113
+ mixins: [c([])],
114
+ props: {
115
+ base: {
116
+ type: Object,
117
+ default: null
118
+ },
119
+ options: {
120
+ type: Array,
121
+ default: () => []
122
+ },
123
+ backgroundColor: {
124
+ type: String,
125
+ default: "#4c576d"
126
+ },
127
+ documentCurrency: {
128
+ type: String,
129
+ required: !0
130
+ },
131
+ vatType: {
132
+ type: String,
133
+ required: !0
134
+ }
135
+ },
136
+ inject: ["parentSize"],
137
+ data() {
138
+ return {
139
+ get: r,
140
+ tinycolor: _
141
+ };
142
+ },
143
+ computed: {
144
+ prices() {
145
+ return r(this, "base.prices") || {};
146
+ },
147
+ isIndivid() {
148
+ return r(this.prices, "helpers.isIndivid", !0);
149
+ },
150
+ showIncVat() {
151
+ return this.isIndivid;
152
+ },
153
+ priceTotal() {
154
+ return this.isIndivid ? r(this.prices, "total", null) : r(this.prices, "subTotal", null);
155
+ },
156
+ priceType() {
157
+ return this.prices.type || ["fixed"];
158
+ },
159
+ currency() {
160
+ return this.prices.currency || this.documentCurrency;
161
+ },
162
+ openAccMaxPrice() {
163
+ return this.prices.maxTotal || null;
164
+ },
165
+ houseWorkType() {
166
+ return r(this.prices, "region.houseWorkType", null);
167
+ },
168
+ isReverseVat() {
169
+ return r(this.prices, "region.reverseVat", !1);
170
+ },
171
+ priceTypeString() {
172
+ return this.priceType.includes("openAccMaxPrice") ? this._document.$t("price.openAccMaxPrice") : this.priceType.includes("openAcc") ? this._document.$t("price.openAcc") : this._document.$t("price.price").capitalize();
173
+ },
174
+ priceDeductionVatString() {
175
+ let i = "";
176
+ if (this.isReverseVat && !this.showIncVat) {
177
+ const e = this.priceFormat(0, { currency: this.currency, showZero: !0 });
178
+ return i = this._document.$t("summaryBottom.reverseVat", { amount: e }), i;
179
+ }
180
+ return this.houseWorkType && (i = this._document.$t("deduction.afterType", { type: `${this.houseWorkType}_percentage` })), this.showIncVat && (i += ` ${this._document.$t("vat.incVat", { thing: this._document.$t(`vat.${this.vatType}`) })}`), this.showIncVat || (i += ` ${this._document.$t("vat.exVat", { thing: this._document.$t(`vat.${this.vatType}`) })}`), i.capitalize();
181
+ },
182
+ backgroundSecondary() {
183
+ if (!this.isSmallScreen)
184
+ return { backgroundColor: "transparent" };
185
+ const i = this.backgroundColor.match(/(\d*\.)?\d+/g)[0], e = this.backgroundColor.match(/(\d*\.)?\d+/g)[1], t = this.backgroundColor.match(/(\d*\.)?\d+/g)[2], s = this.backgroundColor.match(/(\d*\.)?\d+/g)[3];
186
+ return {
187
+ backgroundColor: `hsla(${i}, ${e ** 0.9}%, ${t ** 0.9}%, ${s})`
188
+ };
189
+ },
190
+ isSmallScreen() {
191
+ return this.parentSize.width <= 576;
192
+ }
193
+ },
194
+ methods: {
195
+ priceFormat: d,
196
+ scrollToPricing() {
197
+ const i = document.querySelector("#price");
198
+ i && y(i);
199
+ }
200
+ }
201
+ };
202
+ var b = function() {
203
+ var e = this, t = e._self._c;
204
+ return t("section", { staticClass: "summary-bottom-root" }, [t("div", { staticClass: "summary-bottom", style: [
205
+ {
206
+ backgroundColor: e.backgroundColor,
207
+ color: e.tinycolor.readability(e.backgroundColor, "#FFF") > 2.2 ? "#FFF" : "#000"
208
+ },
209
+ e.options.length && {
210
+ overflow: "hidden",
211
+ padding: 0
212
+ }
213
+ ] }, [e.options.length ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { height: "108px" } }, [t("div", { staticStyle: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, [e._v(e._s(e._document.$t("price.proposal")))]), t("div", [e._v(e._s(e._document.$t("summaryBottom.chooseFrom")))])]), t("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, [e.base ? t("div", { staticStyle: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" } }, [t("div", { staticStyle: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } }, [e._v(e._s(e.priceFormat(e.base.prices.total, { currency: e.currency, decimals: 2, hideZeroDecimals: !0 })))]), t("div", [e._v("+ " + e._s(e._document.$tc("summaryBottom.option", { count: e.options.length })))])]) : t("div", { staticStyle: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" } }, [e._v(" " + e._s(e._document.$t("summaryBottom.noOfOptions", { count: e.options.length })) + " ")])]), t("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } })]) : t("div", { staticClass: "flex justify-between w-full", class: [
214
+ {
215
+ column: e.isSmallScreen,
216
+ sm: e.isSmallScreen
217
+ }
218
+ ], staticStyle: { position: "relative" } }, [t("div", { staticClass: "flex flex-col w-full", class: [{ "fixed-price-type-string": e.isSmallScreen }], staticStyle: { "background-color": "hsl(224, 57%, 39%)" }, style: [e.backgroundSecondary] }, [t("div", { staticClass: "price-type-string data-text" }, [e._v(" " + e._s(e.priceTypeString) + " ")]), e.isSmallScreen ? e._e() : t("div", { staticClass: "price-deduction-text" }, [e._v(" " + e._s(e.priceDeductionVatString) + " ")])]), e.priceType.some((s) => ["openAcc", "openAccMaxPrice"].includes(s)) ? t("div", { staticClass: "open-acc-wrapper" }, [e.openAccMaxPrice ? t("div", { staticClass: "open-acc-item" }, [t("div", [e._v(e._s(e._document.$t("price.maxPrice").capitalize()) + " " + e._s(e._document.$t("vat.exVat", { thing: e._document.$t(`vat.${e.vatType}`) })) + ":")]), t("div", [e._v(e._s(e.priceFormat(e.openAccMaxPrice, { currency: e.currency })))])]) : e._e(), t("div", { staticClass: "open-acc-link" }, [e._v(" " + e._s(e._document.$t("see").capitalize()) + " "), t("span", { staticStyle: { color: "inherit", cursor: "pointer" }, on: { click: e.scrollToPricing } }, [t("u", [e._v(e._s(e._document.$t("price.price_plural")))])]), e._v(" " + e._s(e._document.$t("summaryBottom.forDetails")) + " ")])]) : t("div", { staticClass: "flex items-center w-full", class: [{ "justify-end": !e.isSmallScreen }] }, [t("div", { staticClass: "data-text", staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" } }, [e._v(" " + e._s(e.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + e._s(e.priceFormat(e.priceTotal, { currency: e.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")])]), e.isSmallScreen ? t("div", { staticClass: "label-text caps price-deduction-text", staticStyle: { "margin-top": "4px" } }, [e._v(" " + e._s(e.priceDeductionVatString) + " ")]) : e._e()])])]);
219
+ }, C = [], $ = /* @__PURE__ */ n(
220
+ x,
221
+ b,
222
+ C,
223
+ !1,
224
+ null,
225
+ "8ace9bc8",
226
+ null,
227
+ null
228
+ );
229
+ const w = $.exports;
230
+ const T = {
231
+ name: "PriceHeader",
232
+ components: {
233
+ SummaryTop: S,
234
+ SummaryBottom: w,
235
+ BlockMedia: l
236
+ },
237
+ mixins: [c([
238
+ "media",
239
+ "backgroundColor",
240
+ "documentName",
241
+ "showPriceSummary",
242
+ "showLogo",
243
+ "logotype"
244
+ ])],
245
+ props: {
246
+ _document: {
247
+ type: Object,
248
+ default: () => ({})
249
+ },
250
+ _value: {
251
+ type: Object,
252
+ default: () => ({})
253
+ },
254
+ hasHover: {
255
+ type: Boolean,
256
+ default: !1
257
+ }
258
+ },
259
+ computed: {
260
+ internalName: {
261
+ get() {
262
+ return this.documentName;
263
+ },
264
+ set(i) {
265
+ this.documentName = i, this.$emit("input", { key: "data.name", value: u(i).trim().slice(0, 255) });
266
+ }
267
+ },
268
+ company() {
269
+ return this._document.sender.company;
270
+ },
271
+ prices() {
272
+ return this._document.prices;
273
+ },
274
+ estimatedTimeString() {
275
+ var t, s;
276
+ const { value: i, unitType: e } = ((s = (t = this._document) == null ? void 0 : t.data) == null ? void 0 : s.estimatedTime) || {};
277
+ return !i || !e ? null : this.$tc(`${e}`, { count: i });
278
+ },
279
+ sendAtShowDate() {
280
+ const { sentAt: i, scheduledFirstDelivery: e } = this._document;
281
+ return i || (e ? e.sendAt : null);
282
+ },
283
+ summaryBottom() {
284
+ var s;
285
+ let i = {
286
+ show: !1,
287
+ backgroundColor: this.backgroundColor || this._document.theme.priceSummaryBackground,
288
+ documentCurrency: this._document.currency,
289
+ vatType: this._document.vatType
290
+ }, { showPriceSummary: e } = this;
291
+ typeof e != "boolean" && ({ showPriceSummary: e } = this._document.theme);
292
+ const t = ((s = this._document.packageGroups) == null ? void 0 : s.packages) || [];
293
+ return t.length > 1 ? i = {
294
+ ...i,
295
+ show: e,
296
+ base: { prices: this.prices },
297
+ options: t.filter(({ toggable: a }) => a).map(({ prices: a }) => ({ prices: a }))
298
+ } : i = {
299
+ ...i,
300
+ show: e && this._document.readPrices && (this.prices.total || this.prices.type.some((a) => ["openAccMaxPrice", "openAcc"].includes(a))),
301
+ base: { prices: this.prices }
302
+ }, this.canEdit && e && (i.show = !0), i.documentCurrency || (i.show = !1), i;
303
+ }
304
+ }
305
+ };
306
+ var k = function() {
307
+ var s, a;
308
+ var e = this, t = e._self._c;
309
+ return t("div", [t("div", { staticClass: "doc-jumbotron-wrapper" }, [t("BlockMedia", { staticClass: "price-media-wrapper", attrs: { media: {
310
+ ...e.media,
311
+ resourceUrl: ((s = e.media) == null ? void 0 : s.resourceUrl) || e._document.theme.background,
312
+ overlayColor: ((a = e.media) == null ? void 0 : a.overlayColor) || e._document.theme.backgroundFilter
313
+ } } }), t("SummaryTop", { attrs: { _document: e._document, "show-logo": e.showLogo, logotype: e.logotype, "company-logotype": e.company.logotype, "sender-name": e.company.name, "doc-type": e._document.docNumber.series, "doc-name": e.internalName, "doc-number": e._document.docNumber.value, "sent-at": e.sendAtShowDate, "expires-at": e._document.expiresAt, "estimated-time": e.estimatedTimeString, "has-hover": e.hasHover }, on: { "update:showLogo": function(o) {
314
+ e.showLogo = o;
315
+ }, "update:show-logo": function(o) {
316
+ e.showLogo = o;
317
+ }, "update:logotype": function(o) {
318
+ e.logotype = o;
319
+ }, "update:docName": function(o) {
320
+ e.internalName = o;
321
+ }, "update:doc-name": function(o) {
322
+ e.internalName = o;
323
+ } } })], 1), e.summaryBottom.show ? t("SummaryBottom", e._b({ attrs: { _document: e._document } }, "SummaryBottom", e.summaryBottom, !1)) : e._e()], 1);
324
+ }, A = [], B = /* @__PURE__ */ n(
325
+ T,
326
+ k,
327
+ A,
328
+ !1,
329
+ null,
330
+ "4a30cbe0",
331
+ null,
332
+ null
333
+ );
334
+ const R = B.exports;
335
+ export {
336
+ R as default
337
+ };
@@ -1,5 +1,5 @@
1
- import { g as u, p as h, d as f, e as d, n as m } from "./main-cf622dd3.js";
2
- import { d as p } from "./CDropdownItem-ab42f924.js";
1
+ import { g as u, p as h, d as f, e as d, n as m } from "./main-abeba7c1.js";
2
+ import { d as p } from "./CDropdownItem-bb7f1de7.js";
3
3
  import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
4
4
  const A = {
5
5
  name: "SearchApi",
@@ -0,0 +1,50 @@
1
+ import { n } from "./main-abeba7c1.js";
2
+ const s = {
3
+ // eslint-disable-next-line vue/multi-word-component-names
4
+ name: "Setup",
5
+ props: {
6
+ partnerName: {
7
+ type: String,
8
+ default: "Partner"
9
+ }
10
+ },
11
+ computed: {
12
+ baseAppUrl() {
13
+ return "http://localhost:8080";
14
+ },
15
+ iframeUrl() {
16
+ return `${this.baseAppUrl}/partner/connect?partnerName=${this.partnerName}`;
17
+ }
18
+ },
19
+ mounted() {
20
+ window.addEventListener("message", this.onRecieveMessage);
21
+ },
22
+ beforeDestroy() {
23
+ window.removeEventListener("message", this.onRecieveMessage);
24
+ },
25
+ methods: {
26
+ onRecieveMessage({ data: e, origin: r }) {
27
+ if (console.log(e, r), r !== this.baseAppUrl)
28
+ return;
29
+ const t = e == null ? void 0 : e.value;
30
+ window.alert(t);
31
+ }
32
+ }
33
+ };
34
+ var o = function() {
35
+ var r = this, t = r._self._c;
36
+ return t("iframe", { staticClass: "w-full h-full", attrs: { title: "Partner Connect", src: r.iframeUrl, frameborder: "0" } });
37
+ }, a = [], l = /* @__PURE__ */ n(
38
+ s,
39
+ o,
40
+ a,
41
+ !1,
42
+ null,
43
+ null,
44
+ null,
45
+ null
46
+ );
47
+ const c = l.exports;
48
+ export {
49
+ c as default
50
+ };
@@ -1,9 +1,9 @@
1
- import { d as m, z as o, n as v } from "./main-cf622dd3.js";
2
- import { m as c } from "./mapFormMixin-490a1765.js";
3
- import g from "./Index-6c782bef.js";
4
- import "./DocModalBase-8c238a59.js";
5
- import "./DocumentLayout-2ff55f9f.js";
6
- import "./CDropdownItem-ab42f924.js";
1
+ import { d as m, y as o, n as v } from "./main-abeba7c1.js";
2
+ import { m as c } from "./mapFormMixin-e82f943f.js";
3
+ import g from "./Index-61786d22.js";
4
+ import "./DocModalBase-4172fbbb.js";
5
+ import "./DocumentLayout-0d24ac85.js";
6
+ import "./CDropdownItem-bb7f1de7.js";
7
7
  const p = {
8
8
  i18nOptions: {
9
9
  namespaces: "terms",
@@ -91,17 +91,17 @@ var u = function() {
91
91
  } } }, [t._v(t._s(t.$t("notSet")))]), t.terms.ids.length ? t._e() : e("CDropdownItem", { attrs: { disabled: "" } }, [t._v(t._s(t.$t("noResults")))])], 2), t.viewSettings.isPublicForm ? e("CCallout", { staticStyle: { margin: "1em 0" }, attrs: { title: t.$t("publicFormCalloutTitle"), size: "small" } }, [t._v(" " + t._s(t.$t("publicFormCallout")) + " ")]) : t._e(), t.term ? e("TermsDisclaimer", { attrs: { _document: t._document, "term-type": t.term.type, href: t.term.href, text: t.term.text, file: t.term.file }, scopedSlots: t._u([{ key: "default", fn: function({ openTerms: a }) {
92
92
  return [e("CButton", { staticStyle: { "margin-top": "5px" }, attrs: { type: "none", pattern: "secondary", size: "small", "icon-left": "eye" }, on: { click: a } }, [t._v(" " + t._s(t.$t("show")) + " ")])];
93
93
  } }], null, !1, 1475186016) }) : t._e()], 1);
94
- }, h = [], f = /* @__PURE__ */ v(
94
+ }, f = [], h = /* @__PURE__ */ v(
95
95
  p,
96
96
  u,
97
- h,
97
+ f,
98
98
  !1,
99
99
  null,
100
- "c638afcb",
100
+ "d64f938f",
101
101
  null,
102
102
  null
103
103
  );
104
- const C = f.exports;
104
+ const C = h.exports;
105
105
  export {
106
106
  C as default
107
107
  };
@@ -1,6 +1,6 @@
1
1
  import { h as a } from "./color-71c20583.js";
2
- import { C as l } from "./ColorPicker-4880a624.js";
3
- import { n as i } from "./main-cf622dd3.js";
2
+ import { C as l } from "./ColorPicker-81f9f778.js";
3
+ import { n as i } from "./main-abeba7c1.js";
4
4
  const f = (o, e = {}) => {
5
5
  if (!o || !o.startsWith("https://images.unsplash.com/") || !Object.keys(e || {}).length)
6
6
  return o;
@@ -61,7 +61,7 @@ var p = function() {
61
61
  u,
62
62
  !1,
63
63
  null,
64
- "49bdae6b",
64
+ "066e85b2",
65
65
  null,
66
66
  null
67
67
  );
@@ -1,6 +1,6 @@
1
- import { m as i } from "./mapFormMixin-490a1765.js";
2
- import { I as t } from "./InputToggleRow-533651e6.js";
3
- import { n as l } from "./main-cf622dd3.js";
1
+ import { m as i } from "./mapFormMixin-e82f943f.js";
2
+ import { I as t } from "./InputToggleRow-3bba2a55.js";
3
+ import { n as l } from "./main-abeba7c1.js";
4
4
  const s = {
5
5
  name: "ToggleBinding",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import l from "./Index-4bbfdb2e.js";
2
- import { d as o, h as c, A as d, n as m } from "./main-cf622dd3.js";
1
+ import l from "./Index-05d4a173.js";
2
+ import { d as o, h as c, z as d, n as m } from "./main-abeba7c1.js";
3
3
  import { m as p } from "./vuex.esm-4a0fff7c.js";
4
- import "./tinycolor-9f3cc25c.js";
4
+ import "./tinycolor-0084a04e.js";
5
5
  const u = {
6
6
  i18nOptions: {
7
7
  namespaces: "uploadModal",
@@ -86,7 +86,7 @@ var _ = function() {
86
86
  h,
87
87
  !1,
88
88
  null,
89
- "8f3a44fa",
89
+ "a82ceaee",
90
90
  null,
91
91
  null
92
92
  );
@@ -1,6 +1,6 @@
1
- import { d as a } from "./CDropdownItem-ab42f924.js";
2
- import { v as l } from "./utils-fb02e603.js";
3
- import { n } from "./main-cf622dd3.js";
1
+ import { d as a } from "./CDropdownItem-bb7f1de7.js";
2
+ import { v as l } from "./utils-d907da71.js";
3
+ import { n } from "./main-abeba7c1.js";
4
4
  const r = {
5
5
  name: "VideoPlayerInput",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import n from "./VideoPlayerInput-4d7f302a.js";
2
- import { n as s } from "./main-cf622dd3.js";
3
- import "./CDropdownItem-ab42f924.js";
4
- import "./utils-fb02e603.js";
1
+ import n from "./VideoPlayerInput-9314dfa5.js";
2
+ import { n as s } from "./main-abeba7c1.js";
3
+ import "./CDropdownItem-bb7f1de7.js";
4
+ import "./utils-d907da71.js";
5
5
  const l = {
6
6
  i18nOptions: {
7
7
  namespaces: "components",
@@ -55,7 +55,7 @@ var r = function() {
55
55
  d,
56
56
  !1,
57
57
  null,
58
- "62d734bc",
58
+ "2190dbf6",
59
59
  null,
60
60
  null
61
61
  );