@cling-se/widget 0.9.32 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/{AddClientCallout-57195414.js → AddClientCallout-c91ca331.js} +5 -5
  2. package/dist/{AnswerModal-84115064.js → AnswerModal-8a2e1b96.js} +47 -47
  3. package/dist/{AttachmentItem-d5059568.js → AttachmentItem-2fcd4102.js} +15 -10
  4. package/dist/{BaseDatePicker-0f2bbfe0.js → BaseDatePicker-764430e7.js} +2 -2
  5. package/dist/{BaseInput-09fa078c.js → BaseInput-16ff95d4.js} +1 -1
  6. package/dist/{BaseUpload-7ac7f0de.js → BaseUpload-cde6c150.js} +25 -25
  7. package/dist/{BlockMedia-35572b5a.js → BlockMedia-73c89da8.js} +1 -1
  8. package/dist/{CCallout-f4a3000f.js → CCallout-80f62120.js} +2 -2
  9. package/dist/{CDropdownItem-648b13e8.js → CDropdownItem-b703493e.js} +1 -1
  10. package/dist/{CField-c179740e.js → CField-82e3942c.js} +1 -1
  11. package/dist/{CPhoneFormat-06cd312e.js → CPhoneFormat-6f544ea2.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js → CSlider.vue_vue_type_style_index_0_lang-ee3915b1.js} +1 -1
  13. package/dist/{ClientAutocomplete-1aacab81.js → ClientAutocomplete-ea981ce9.js} +2 -2
  14. package/dist/{ClientModal-62cfe454.js → ClientModal-b1f06e4b.js} +5 -5
  15. package/dist/{ColorPicker-c9eadd63.js → ColorPicker-db332e31.js} +1 -1
  16. package/dist/{CompanyModal-1140af13.js → CompanyModal-37d80a52.js} +3 -3
  17. package/dist/{ContentWrapper-5d7221c8.js → ContentWrapper-530ac6c4.js} +13 -13
  18. package/dist/{CoverBlockSettings-668eec29.js → CoverBlockSettings-70f33b4e.js} +9 -9
  19. package/dist/DocAnswer-b3af9c74.js +43 -0
  20. package/dist/{DocDetails-02ab49b6.js → DocDetails-4569f591.js} +46 -37
  21. package/dist/{DocForm-25924bbc.js → DocForm-e6dbd1b7.js} +523 -653
  22. package/dist/{DocFormSend-666669ea.js → DocFormSend-097fad46.js} +51 -38
  23. package/dist/DocLinks-de9a4377.js +41 -0
  24. package/dist/{DocModalBase-ed5f21ca.js → DocModalBase-1d7b3e3a.js} +1 -1
  25. package/dist/{DocPrint-c8e7792f.js → DocPrint-1747a6cc.js} +1 -1
  26. package/dist/{DocReceipt-68bb30bd.js → DocReceipt-a7b28565.js} +1 -1
  27. package/dist/{DocSendReminder-1bb53aa6.js → DocSendReminder-f9861a59.js} +1 -1
  28. package/dist/{DocTextEditor-baf911e4.js → DocTextEditor-5ca1ab49.js} +8 -8
  29. package/dist/{DocTimeline-e80b7d30.js → DocTimeline-fed91a61.js} +1 -1
  30. package/dist/{DocumentClient-e5674987.js → DocumentClient-a10eb849.js} +7 -7
  31. package/dist/{DocumentLayout-bdb661ca.js → DocumentLayout-3a00c75c.js} +5 -5
  32. package/dist/{DocumentLogotype-b47e5d3b.js → DocumentLogotype-47bdfc02.js} +3 -3
  33. package/dist/{DocumentVoided-4689a48a.js → DocumentVoided-10eb3206.js} +1 -1
  34. package/dist/{EmbedInput-4e9f9fdc.js → EmbedInput-a393b7a7.js} +2 -2
  35. package/dist/{EmbedSettings-8e8e772e.js → EmbedSettings-e34184f5.js} +3 -3
  36. package/dist/{ErrorCallout-b48cecf9.js → ErrorCallout-bb4bb30b.js} +1 -1
  37. package/dist/{FilePreviewModal-5ae3179e.js → FilePreviewModal-63bf0717.js} +5 -5
  38. package/dist/{Flag-f21c517c.js → Flag-952ef47c.js} +1 -1
  39. package/dist/{HeaderSettings-dadaba45.js → HeaderSettings-0f324256.js} +21 -21
  40. package/dist/{ImageSelectModal-3079deaf.js → ImageSelectModal-9454fc9b.js} +8 -8
  41. package/dist/{ImageUploadWrapper-92389319.js → ImageUploadWrapper-0f3f712f.js} +2 -2
  42. package/dist/{Index-0d9fc410.js → Index-08b3f0d9.js} +6 -6
  43. package/dist/{Index-83509fc5.js → Index-11417826.js} +1 -1
  44. package/dist/{Index-16e2d1e5.js → Index-11fce018.js} +4 -4
  45. package/dist/{Index-1a6f1fe8.js → Index-1899a59d.js} +14 -14
  46. package/dist/{Index-3855ca38.js → Index-1ad2a354.js} +7 -7
  47. package/dist/{Index-c4184a33.js → Index-22a6ac2c.js} +2 -2
  48. package/dist/{Index-a7d30625.js → Index-2e836913.js} +4 -4
  49. package/dist/{Index-da28cb69.js → Index-3b07edd1.js} +4 -4
  50. package/dist/{Index-18ee40ea.js → Index-445dc171.js} +7 -7
  51. package/dist/{Index-3a7288be.js → Index-4600f943.js} +17 -17
  52. package/dist/{Index-b9535d28.js → Index-496348ea.js} +14 -14
  53. package/dist/{Index-ad7770f7.js → Index-53f5e92b.js} +4 -4
  54. package/dist/{Index-ed57f450.js → Index-5962c5fa.js} +6 -6
  55. package/dist/{Index-aac9dd15.js → Index-5d78cedc.js} +9 -9
  56. package/dist/{Index-93d6b687.js → Index-6052206b.js} +2 -2
  57. package/dist/{Index-a9cfa68b.js → Index-62311015.js} +5 -5
  58. package/dist/{Index-e6b7d574.js → Index-6a0bc652.js} +14 -14
  59. package/dist/{Index-aa9388ac.js → Index-722972c7.js} +4 -4
  60. package/dist/{Index-672648c7.js → Index-733a87b2.js} +8 -8
  61. package/dist/{Index-ea0c9b42.js → Index-7b01d5f3.js} +1 -1
  62. package/dist/{Index-9794be3d.js → Index-7f9f54df.js} +5 -5
  63. package/dist/{Index-469db7d7.js → Index-85ba630b.js} +4 -4
  64. package/dist/{Index-48e502c3.js → Index-89d7293e.js} +4 -4
  65. package/dist/{Index-d0cf8cd4.js → Index-902c62af.js} +2 -2
  66. package/dist/{Index-85b558a8.js → Index-94e5bdd2.js} +6 -6
  67. package/dist/{Index-c704e669.js → Index-9c5778a0.js} +10 -10
  68. package/dist/{Index-ef0a8d46.js → Index-a13a8628.js} +2 -2
  69. package/dist/{Index-21715b96.js → Index-a99bd8f6.js} +2 -2
  70. package/dist/{Index-6d2a08a5.js → Index-ab589ff1.js} +6 -6
  71. package/dist/{Index-c3f4a4b8.js → Index-b320d668.js} +3 -3
  72. package/dist/{Index-25240fbd.js → Index-bbb1eed9.js} +2 -2
  73. package/dist/{Index-85996f2f.js → Index-c3100eb8.js} +2 -2
  74. package/dist/{Index-88aa3f7e.js → Index-e7af00fd.js} +4 -4
  75. package/dist/{Index-adabe428.js → Index-f31c6bf6.js} +2 -2
  76. package/dist/{InputToggleRow-67d34fe0.js → InputToggleRow-04ccd5f2.js} +1 -1
  77. package/dist/{IsPremiumPreStep-f1c4e0f9.js → IsPremiumPreStep-fd71afe7.js} +15 -15
  78. package/dist/{ManualPopover-4641e4de.js → ManualPopover-66e2fbda.js} +1 -1
  79. package/dist/{MediaWrapper-3dbdd7b2.js → MediaWrapper-0895cb0a.js} +3 -3
  80. package/dist/{NotBindingText-3c7f4d55.js → NotBindingText-bbb75490.js} +2 -2
  81. package/dist/{PackageGroup-c935a59b.js → PackageGroup-d0c8c851.js} +15 -15
  82. package/dist/{PdfTerms-6afcf887.js → PdfTerms-3ca871a7.js} +5 -5
  83. package/dist/{PdfViewer-f6d4d126.js → PdfViewer-f8877419.js} +2 -2
  84. package/dist/{PlainHtml-41dde027.js → PlainHtml-70f73857.js} +1 -1
  85. package/dist/{PriceHeader-84ad2639.js → PriceHeader-bd7f2fa0.js} +13 -13
  86. package/dist/{SearchApi-a8d58e7b.js → SearchApi-dfd24f3e.js} +3 -4
  87. package/dist/{Setup-86baa232.js → Setup-67aa6fe8.js} +1 -1
  88. package/dist/{TermsSettings-158e2ba7.js → TermsSettings-fe4e225f.js} +7 -7
  89. package/dist/{ThemeColorRow-af9f1f9f.js → ThemeColorRow-81f8615a.js} +3 -3
  90. package/dist/{ToggleBinding-d80c5b56.js → ToggleBinding-5af2df09.js} +3 -3
  91. package/dist/{UploadModal-64705993.js → UploadModal-8c766ba7.js} +3 -3
  92. package/dist/{VideoPlayerInput-f001a306.js → VideoPlayerInput-0a11df1e.js} +3 -3
  93. package/dist/{VideoPlayerSettings-be3a2a08.js → VideoPlayerSettings-e54bdb5e.js} +4 -4
  94. package/dist/{VideoSelectModal-325ca974.js → VideoSelectModal-023186e1.js} +8 -8
  95. package/dist/{answerDocumentMixin-7b4bd6d8.js → answerDocumentMixin-97203107.js} +3 -3
  96. package/dist/{debounce-2da37622.js → debounce-653d5a89.js} +8 -8
  97. package/dist/{focusDrawerMixin-2593f43c.js → focusDrawerMixin-7f321c15.js} +1 -1
  98. package/dist/{formComponentsInstall-05dc0275.js → formComponentsInstall-fd01cdd2.js} +12 -12
  99. package/dist/{formDrawerState-1279a667.js → formDrawerState-3c299bf6.js} +1 -1
  100. package/dist/{formValidationMixin-b354db95.js → formValidationMixin-c20cb8fe.js} +1 -1
  101. package/dist/{index-20e88d5e.js → index-01437260.js} +3 -3
  102. package/dist/{index-aa52e2dc.js → index-2aa11fa3.js} +5 -5
  103. package/dist/{index-c30544b6.js → index-60e8f1c3.js} +1 -1
  104. package/dist/{index-05ff66b4.js → index-aa0b2a84.js} +13 -13
  105. package/dist/{index-b9ea34e7.js → index-bf9f0618.js} +48 -48
  106. package/dist/{index-88e32902.js → index-dc39dc99.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +160 -171
  109. package/dist/{main-5fada315.js → main-6be1d89a.js} +11707 -14214
  110. package/dist/{mapFormMixin-881590dc.js → mapFormMixin-ab97e85b.js} +1 -1
  111. package/dist/{publicSenderState-b7a68e31.js → publicSenderState-2ca5021f.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-14a46b90.js → throttle-78ffe6e1.js} +2 -2
  114. package/dist/{tinycolor-bcf90a67.js → tinycolor-8972e238.js} +1 -1
  115. package/dist/{tippy.esm-ece926d8.js → tippy.esm-d62237ec.js} +5 -5
  116. package/dist/{utils-482054e4.js → utils-24c33071.js} +1 -1
  117. package/dist/{vuedraggable.umd-0883a75f.js → vuedraggable.umd-78b3c86e.js} +1 -1
  118. package/package.json +4 -4
  119. package/dist/DocAnswer-978f1b34.js +0 -30
  120. package/dist/DocLinks-1b3d8aa7.js +0 -38
@@ -1,48 +1,40 @@
1
- import { V as s, r, m as n, a as i, g as l, C as m, n as c } from "./main-5fada315.js";
2
- import { i as u, S as d } from "./formComponentsInstall-05dc0275.js";
1
+ import { V as n, m as s, a as r, g as l, C as i, n as u } from "./main-6be1d89a.js";
2
+ import { i as m, S as c } from "./formComponentsInstall-fd01cdd2.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./Flag-f21c517c.js";
5
- import "./mapFormMixin-881590dc.js";
6
- import "./BaseDatePicker-0f2bbfe0.js";
7
- import "./CDropdownItem-648b13e8.js";
8
- import "./ErrorCallout-b48cecf9.js";
9
- import "./IsPremiumPreStep-f1c4e0f9.js";
4
+ import "./Flag-952ef47c.js";
5
+ import "./mapFormMixin-ab97e85b.js";
6
+ import "./BaseDatePicker-764430e7.js";
7
+ import "./CDropdownItem-b703493e.js";
8
+ import "./ErrorCallout-bb4bb30b.js";
9
+ import "./IsPremiumPreStep-fd71afe7.js";
10
10
  import "./anime.es-e284c852.js";
11
- import "./index-b9ea34e7.js";
11
+ import "./index-bf9f0618.js";
12
12
  import "./index-805c56e4.js";
13
13
  import "./dom-962579a6.js";
14
- import "./AddClientCallout-57195414.js";
15
- import "./ClientAutocomplete-1aacab81.js";
16
- import "./SearchApi-a8d58e7b.js";
17
- import "./debounce-2da37622.js";
18
- import "./ClientModal-62cfe454.js";
19
- import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
20
- import "./CCallout-f4a3000f.js";
21
- import "./CField-c179740e.js";
14
+ import "./AddClientCallout-c91ca331.js";
15
+ import "./ClientAutocomplete-ea981ce9.js";
16
+ import "./SearchApi-dfd24f3e.js";
17
+ import "./debounce-653d5a89.js";
18
+ import "./ClientModal-b1f06e4b.js";
19
+ import "./CSlider.vue_vue_type_style_index_0_lang-ee3915b1.js";
20
+ import "./CCallout-80f62120.js";
21
+ import "./CField-82e3942c.js";
22
22
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
23
- s.use(u);
24
- const a = s.observable({
23
+ n.use(m);
24
+ const a = n.observable({
25
25
  canEdit: !1,
26
26
  isForm: !0,
27
27
  setFormValue: null,
28
28
  removeFormValue: null
29
- }), p = {
29
+ }), d = {
30
30
  name: "DocFormSend",
31
31
  components: {
32
- SendForm: d
32
+ SendForm: c
33
33
  },
34
34
  provide: () => ({ viewSettings: a, allowSenderSign: !1 }),
35
35
  // TODO maybe not needed
36
- mixins: [
37
- r([
38
- "setFormValue",
39
- "removeFormValue",
40
- "closeFunc",
41
- "beforeSave",
42
- "beforeSend"
43
- ])
44
- ],
45
36
  props: {
37
+ // consumer options
46
38
  showName: {
47
39
  type: Boolean,
48
40
  default: !0
@@ -66,6 +58,27 @@ const a = s.observable({
66
58
  footerSlot: {
67
59
  type: String,
68
60
  default: null
61
+ },
62
+ // widget internals
63
+ setFormValue: {
64
+ type: Function,
65
+ default: null
66
+ },
67
+ removeFormValue: {
68
+ type: Function,
69
+ default: null
70
+ },
71
+ closeFunc: {
72
+ type: Function,
73
+ default: null
74
+ },
75
+ beforeSave: {
76
+ type: Function,
77
+ default: null
78
+ },
79
+ beforeSend: {
80
+ type: Function,
81
+ default: null
69
82
  }
70
83
  },
71
84
  data() {
@@ -74,7 +87,7 @@ const a = s.observable({
74
87
  };
75
88
  },
76
89
  computed: {
77
- ...n({
90
+ ...s({
78
91
  company: "application/company",
79
92
  can: "application/can",
80
93
  rawDoc: "forms/document",
@@ -93,14 +106,14 @@ const a = s.observable({
93
106
  this.setDocValue && (a.setFormValue = this.setDocValue), this.removeDocValue && (a.removeFormValue = this.removeDocValue);
94
107
  },
95
108
  methods: {
96
- ...i({
109
+ ...r({
97
110
  saveDocument: l.SAVE_DYNDOC_FORM
98
111
  // loadCompanyUser: global.LOAD_COMPANY_USER,
99
112
  }),
100
113
  async initDoc() {
101
114
  if (!this.rawDoc)
102
115
  throw new Error("Missing initiated form document");
103
- this.document = new m({
116
+ this.document = new i({
104
117
  data: this.rawDoc,
105
118
  can: this.can,
106
119
  getters: this.$store.getters,
@@ -122,7 +135,7 @@ const a = s.observable({
122
135
  }
123
136
  }
124
137
  };
125
- var f = function() {
138
+ var p = function() {
126
139
  var e = this, o = e._self._c;
127
140
  return e.document ? o("SendForm", { staticClass: "w-full h-full", attrs: { _document: e.document, _value: {
128
141
  expiresAt: "data.expiresAt",
@@ -132,17 +145,17 @@ var f = function() {
132
145
  reminders: "data.reminders",
133
146
  name: "data.name"
134
147
  }, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: { innerHTML: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? o("div", { attrs: { slot: "footer" }, domProps: { innerHTML: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : o("div", { staticClass: "grid w-full h-full place-items-center" }, [o("BaseIcon", { staticClass: "text-gray-400 animate-spin", attrs: { type: "loader", size: 28 } })], 1);
135
- }, h = [], v = /* @__PURE__ */ c(
148
+ }, f = [], h = /* @__PURE__ */ u(
149
+ d,
136
150
  p,
137
151
  f,
138
- h,
139
152
  !1,
140
153
  null,
141
154
  null,
142
155
  null,
143
156
  null
144
157
  );
145
- const T = v.exports;
158
+ const R = h.exports;
146
159
  export {
147
- T as default
160
+ R as default
148
161
  };
@@ -0,0 +1,41 @@
1
+ import { C as o } from "./index-60e8f1c3.js";
2
+ import { n as t } from "./main-6be1d89a.js";
3
+ import "./vuex.esm-4a0fff7c.js";
4
+ const s = {
5
+ name: "DocLinks",
6
+ components: {
7
+ ClientLinks: o
8
+ },
9
+ props: {
10
+ document: {
11
+ type: Object,
12
+ required: !0
13
+ },
14
+ closeFunc: {
15
+ type: Function,
16
+ default: null
17
+ }
18
+ },
19
+ methods: {
20
+ close() {
21
+ this.closeFunc && this.closeFunc();
22
+ }
23
+ }
24
+ };
25
+ var l = function() {
26
+ var n = this, e = n._self._c;
27
+ return e("div", { staticClass: "h-full w-full overflow-auto" }, [e("ClientLinks", { attrs: { id: n.document.id }, on: { close: n.close } })], 1);
28
+ }, c = [], r = /* @__PURE__ */ t(
29
+ s,
30
+ l,
31
+ c,
32
+ !1,
33
+ null,
34
+ null,
35
+ null,
36
+ null
37
+ );
38
+ const f = r.exports;
39
+ export {
40
+ f as default
41
+ };
@@ -1,4 +1,4 @@
1
- import { n as t } from "./main-5fada315.js";
1
+ import { n as t } from "./main-6be1d89a.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
1
- import { n as d, G as h, c, I as l, H as p, J as a, K as m } from "./main-5fada315.js";
1
+ import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-6be1d89a.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-5fada315.js";
1
+ import { g as p, n as u } from "./main-6be1d89a.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-5fada315.js";
1
+ import { g as m, n as a } from "./main-6be1d89a.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-ece926d8.js";
2
- import { V as Vn, n as ut, a9 as bs, b as Ds, p as Ha } from "./main-5fada315.js";
1
+ import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-d62237ec.js";
2
+ import { V as Vn, n as ut, a8 as bs, b as Ds, p as Ha } from "./main-6be1d89a.js";
3
3
  import { a as ai } from "./dom-962579a6.js";
4
- import { i as Jo, w as Va } from "./CDropdownItem-648b13e8.js";
5
- import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
4
+ import { i as Jo, w as Va } from "./CDropdownItem-b703493e.js";
5
+ import "./CSlider.vue_vue_type_style_index_0_lang-ee3915b1.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
- import { M as Go } from "./ManualPopover-4641e4de.js";
8
- import { C as ja } from "./ColorPicker-c9eadd63.js";
7
+ import { M as Go } from "./ManualPopover-66e2fbda.js";
8
+ import { C as ja } from "./ColorPicker-db332e31.js";
9
9
  import { h as Wa } from "./color-71c20583.js";
10
10
  function ee(n) {
11
11
  this.content = n;
@@ -13967,7 +13967,7 @@ const Cm = Dm.exports;
13967
13967
  const km = {
13968
13968
  components: {
13969
13969
  FormInputRow: za,
13970
- TextTemplates: () => import("./index-05ff66b4.js")
13970
+ TextTemplates: () => import("./index-aa0b2a84.js")
13971
13971
  },
13972
13972
  props: {
13973
13973
  editor: {
@@ -14859,7 +14859,7 @@ const zm = {
14859
14859
  },
14860
14860
  async openPreview() {
14861
14861
  var r;
14862
- const n = () => import("./FilePreviewModal-5ae3179e.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14862
+ const n = () => import("./FilePreviewModal-63bf0717.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14863
14863
  this.$modal.show(
14864
14864
  n,
14865
14865
  {
@@ -1,4 +1,4 @@
1
- import { n as u, a9 as b, b as S, aa as _, ab as f } from "./main-5fada315.js";
1
+ import { n as u, a8 as b, b as S, a9 as _, aa as f } from "./main-6be1d89a.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-5fada315.js";
2
- import { D as d } from "./DocumentLayout-bdb661ca.js";
3
- import { f as m } from "./formValidationMixin-b354db95.js";
4
- import { a as l } from "./answerDocumentMixin-7b4bd6d8.js";
5
- import { D as f } from "./DocumentVoided-4689a48a.js";
6
- import "./debounce-2da37622.js";
7
- import "./CDropdownItem-648b13e8.js";
1
+ import { V as c, n as a } from "./main-6be1d89a.js";
2
+ import { D as d } from "./DocumentLayout-3a00c75c.js";
3
+ import { f as m } from "./formValidationMixin-c20cb8fe.js";
4
+ import { a as l } from "./answerDocumentMixin-97203107.js";
5
+ import { D as f } from "./DocumentVoided-10eb3206.js";
6
+ import "./debounce-653d5a89.js";
7
+ import "./CDropdownItem-b703493e.js";
8
8
  import "./dom-962579a6.js";
9
9
  const p = (t) => {
10
10
  var e;
@@ -1,6 +1,6 @@
1
- import { j as _o, n as Pt, Z as wn, c as aa, V as ca, o as la, t as ua, b as da } from "./main-5fada315.js";
2
- import { d as fa } from "./debounce-2da37622.js";
3
- import { a as di, C as pa } from "./CDropdownItem-648b13e8.js";
1
+ import { j as _o, n as Pt, Y as wn, c as aa, V as ca, o as la, s as ua, b as da } from "./main-6be1d89a.js";
2
+ import { d as fa } from "./debounce-653d5a89.js";
3
+ import { a as di, C as pa } from "./CDropdownItem-b703493e.js";
4
4
  var fi = { exports: {} }, ha = fi.exports = {};
5
5
  ha.forEach = function(d, c) {
6
6
  for (var f = 0; f < d.length; f++) {
@@ -4442,7 +4442,7 @@ const tc = /* @__PURE__ */ _o(ec), Si = "data-is-preview", nc = aa.google.fontsK
4442
4442
  class: "truncate-text",
4443
4443
  style: {
4444
4444
  paddingRight: "calc(0.5 * var(--rem))",
4445
- fontFamily: f
4445
+ fontFamily: `'${f}'`
4446
4446
  }
4447
4447
  }]), [f]);
4448
4448
  }
@@ -4808,7 +4808,7 @@ const ui = Pc.exports, Ac = {
4808
4808
  },
4809
4809
  computed: {
4810
4810
  loader() {
4811
- return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-a9cfa68b.js"), "../blocks/attachments/Index.vue": () => import("./Index-1a6f1fe8.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-b9535d28.js"), "../blocks/custom/Index.vue": () => import("./Index-85b558a8.js"), "../blocks/docChapter/Index.vue": () => import("./Index-85996f2f.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-83509fc5.js"), "../blocks/docParties/Index.vue": () => import("./Index-0d9fc410.js"), "../blocks/embed/Index.vue": () => import("./Index-ed57f450.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-16e2d1e5.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-a7d30625.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-469db7d7.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-da28cb69.js"), "../blocks/header/Index.vue": () => import("./Index-aac9dd15.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-ea0c9b42.js"), "../blocks/notBinding/Index.vue": () => import("./Index-48e502c3.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-88aa3f7e.js"), "../blocks/pdf/Index.vue": () => import("./Index-672648c7.js"), "../blocks/presentation/Index.vue": () => import("./Index-3a7288be.js"), "../blocks/terms/Index.vue": () => import("./Index-6d2a08a5.js"), "../blocks/textContent/Index.vue": () => import("./Index-c704e669.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-3855ca38.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-c3f4a4b8.js") }), `../blocks/${this.componentName}/Index.vue`);
4811
+ return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-62311015.js"), "../blocks/attachments/Index.vue": () => import("./Index-1899a59d.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-496348ea.js"), "../blocks/custom/Index.vue": () => import("./Index-94e5bdd2.js"), "../blocks/docChapter/Index.vue": () => import("./Index-c3100eb8.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-11417826.js"), "../blocks/docParties/Index.vue": () => import("./Index-08b3f0d9.js"), "../blocks/embed/Index.vue": () => import("./Index-5962c5fa.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-11fce018.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-2e836913.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-85ba630b.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-3b07edd1.js"), "../blocks/header/Index.vue": () => import("./Index-5d78cedc.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-7b01d5f3.js"), "../blocks/notBinding/Index.vue": () => import("./Index-89d7293e.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-e7af00fd.js"), "../blocks/pdf/Index.vue": () => import("./Index-733a87b2.js"), "../blocks/presentation/Index.vue": () => import("./Index-4600f943.js"), "../blocks/terms/Index.vue": () => import("./Index-ab589ff1.js"), "../blocks/textContent/Index.vue": () => import("./Index-9c5778a0.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-1ad2a354.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-b320d668.js") }), `../blocks/${this.componentName}/Index.vue`);
4812
4812
  },
4813
4813
  isPdfPrintAndPdfBlock() {
4814
4814
  var d, c;
@@ -1,10 +1,10 @@
1
- import { g as s, n as a } from "./main-5fada315.js";
1
+ import { g as s, n as a } from "./main-6be1d89a.js";
2
2
  import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
3
- import { a as r } from "./publicSenderState-b7a68e31.js";
3
+ import { a as r } from "./publicSenderState-2ca5021f.js";
4
4
  const c = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
- ImageUploadWrapper: () => import("./ImageUploadWrapper-92389319.js")
7
+ ImageUploadWrapper: () => import("./ImageUploadWrapper-0f3f712f.js")
8
8
  },
9
9
  props: {
10
10
  value: {
@@ -1,4 +1,4 @@
1
- import { n } from "./main-5fada315.js";
1
+ import { n } from "./main-6be1d89a.js";
2
2
  const s = {
3
3
  name: "DocumentVoided",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { d } from "./debounce-2da37622.js";
2
- import { b as l, n as o } from "./main-5fada315.js";
1
+ import { d } from "./debounce-653d5a89.js";
2
+ import { b as l, n as o } from "./main-6be1d89a.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-4e9f9fdc.js";
2
- import { n as l } from "./main-5fada315.js";
3
- import "./debounce-2da37622.js";
1
+ import n from "./EmbedInput-a393b7a7.js";
2
+ import { n as l } from "./main-6be1d89a.js";
3
+ import "./debounce-653d5a89.js";
4
4
  const o = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-5fada315.js";
1
+ import { n as r } from "./main-6be1d89a.js";
2
2
  const a = {
3
3
  name: "ErrorCallout",
4
4
  props: {
@@ -1,9 +1,9 @@
1
- import { n, S as o } from "./main-5fada315.js";
2
- import { V as r } from "./PdfViewer-f6d4d126.js";
1
+ import { n, S as o } from "./main-6be1d89a.js";
2
+ import { V as r } from "./PdfViewer-f8877419.js";
3
3
  import "./dom-962579a6.js";
4
- import "./DocumentLayout-bdb661ca.js";
5
- import "./debounce-2da37622.js";
6
- import "./CDropdownItem-648b13e8.js";
4
+ import "./DocumentLayout-3a00c75c.js";
5
+ import "./debounce-653d5a89.js";
6
+ import "./CDropdownItem-b703493e.js";
7
7
  const a = {
8
8
  name: "FilesPreviewModal",
9
9
  components: {
@@ -1,4 +1,4 @@
1
- import { O as c, n as o } from "./main-5fada315.js";
1
+ import { N as c, n as o } from "./main-6be1d89a.js";
2
2
  var m = {
3
3
  name: "simplebar-vue",
4
4
  mounted: function() {
@@ -1,20 +1,20 @@
1
- import { m as x } from "./mapFormMixin-881590dc.js";
2
- import { T as _ } from "./ThemeColorRow-af9f1f9f.js";
3
- import { c as v, n as y, o as d, F as w } from "./main-5fada315.js";
4
- import { B as C, a as k } from "./index-aa52e2dc.js";
5
- import b from "./VideoPlayerInput-f001a306.js";
6
- import S from "./ImageUploadWrapper-92389319.js";
7
- import { a as A } from "./tinycolor-bcf90a67.js";
1
+ import { m as x } from "./mapFormMixin-ab97e85b.js";
2
+ import { T as _ } from "./ThemeColorRow-81f8615a.js";
3
+ import { c as v, n as y, o as d, E as w } from "./main-6be1d89a.js";
4
+ import { B as C, a as k } from "./index-2aa11fa3.js";
5
+ import b from "./VideoPlayerInput-0a11df1e.js";
6
+ import S from "./ImageUploadWrapper-0f3f712f.js";
7
+ import { a as A } from "./tinycolor-8972e238.js";
8
8
  import "./color-71c20583.js";
9
- import "./ColorPicker-c9eadd63.js";
10
- import "./ManualPopover-4641e4de.js";
11
- import "./debounce-2da37622.js";
12
- import "./throttle-14a46b90.js";
9
+ import "./ColorPicker-db332e31.js";
10
+ import "./ManualPopover-66e2fbda.js";
11
+ import "./debounce-653d5a89.js";
12
+ import "./throttle-78ffe6e1.js";
13
13
  import "./dom-962579a6.js";
14
- import "./CDropdownItem-648b13e8.js";
15
- import "./Flag-f21c517c.js";
16
- import "./utils-482054e4.js";
17
- import "./BaseUpload-7ac7f0de.js";
14
+ import "./CDropdownItem-b703493e.js";
15
+ import "./Flag-952ef47c.js";
16
+ import "./utils-24c33071.js";
17
+ import "./BaseUpload-cde6c150.js";
18
18
  const g = v.unsplash.id, L = v.pexels.id, z = {
19
19
  name: "MediaSelectModal",
20
20
  i18nOptions: {
@@ -123,15 +123,15 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
123
123
  items: (e.videos || []).map(
124
124
  ({ id: r, image: a, video_files: m = [], user: u }) => {
125
125
  const { sd: h, hd: p } = (m || []).sort(o).reduce(
126
- (c, l) => (c[l.quality] && l.link && c[l.quality].push(l.link), c),
126
+ (n, l) => (n[l.quality] && l.link && n[l.quality].push(l.link), n),
127
127
  { sd: [], hd: [] }
128
128
  ), [f] = h;
129
- let n = s(m);
130
- return n || ([n] = p.length ? p : h.slice(-1)), {
129
+ let c = s(m);
130
+ return c || ([c] = p.length ? p : h.slice(-1)), {
131
131
  id: `${r}`,
132
132
  image: a,
133
133
  minImage: a,
134
- video: n,
134
+ video: c,
135
135
  minVideo: f,
136
136
  userName: u.name,
137
137
  userLink: u.link
@@ -184,7 +184,7 @@ var I = function() {
184
184
  } } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? e("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(o) {
185
185
  t.customVideo = o;
186
186
  }, expression: "customVideo" } }, [e("CButton", { attrs: { disabled: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)]) : e("div", { staticClass: "flex flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": t.setCustomBackground }, scopedSlots: t._u([{ key: "default", fn: function({ progress: o }) {
187
- return [e("div", { staticClass: "relative w-full mb-6" }, [t.customImage ? e("img", { staticClass: "object-cover w-full h-full", attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex flex-col items-center justify-center bg-gray-100 rounded-md aspect-video" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center text-gray-600", staticStyle: { "padding-top": "calc(1 * var(--rem))", "font-size": "14px", "max-width": "40ch" } }, [t._v(" " + t._s(t.$t("minWidth")) + " ")])], 1)])];
187
+ return [e("div", { staticClass: "relative w-full mb-6" }, [t.customImage ? e("img", { staticClass: "object-cover w-full h-full object-scale-down object-top", staticStyle: { "max-height": "500px" }, attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex flex-col items-center justify-center bg-gray-100 rounded-md aspect-video" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center text-gray-600", staticStyle: { "padding-top": "calc(1 * var(--rem))", "font-size": "14px", "max-width": "40ch" } }, [t._v(" " + t._s(t.$t("minWidth")) + " ")])], 1)])];
188
188
  } }]) }), e("div", { staticClass: "flex items-center justify-center" }, [e("CButton", { attrs: { disabled: !t.customImage, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
189
189
  }, V = [], M = /* @__PURE__ */ y(
190
190
  z,
@@ -192,7 +192,7 @@ var I = function() {
192
192
  V,
193
193
  !1,
194
194
  null,
195
- "e4f494fc",
195
+ "41f63261",
196
196
  null,
197
197
  null
198
198
  );
@@ -1,12 +1,12 @@
1
- import { c as r, n as l, o as n, F as i } from "./main-5fada315.js";
2
- import c from "./ImageUploadWrapper-92389319.js";
3
- import { B as m, a as d } from "./index-aa52e2dc.js";
4
- import "./BaseUpload-7ac7f0de.js";
5
- import "./debounce-2da37622.js";
6
- import "./throttle-14a46b90.js";
1
+ import { c as r, n as l, o as n, E as i } from "./main-6be1d89a.js";
2
+ import c from "./ImageUploadWrapper-0f3f712f.js";
3
+ import { B as m, a as d } from "./index-2aa11fa3.js";
4
+ import "./BaseUpload-cde6c150.js";
5
+ import "./debounce-653d5a89.js";
6
+ import "./throttle-78ffe6e1.js";
7
7
  import "./dom-962579a6.js";
8
- import "./CDropdownItem-648b13e8.js";
9
- import "./Flag-f21c517c.js";
8
+ import "./CDropdownItem-b703493e.js";
9
+ import "./Flag-952ef47c.js";
10
10
  const o = r.unsplash.id, p = {
11
11
  name: "ImageSelectModal",
12
12
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import Xt from "./BaseUpload-7ac7f0de.js";
2
- import { V as k, n as _t, M as Yt } from "./main-5fada315.js";
1
+ import Xt from "./BaseUpload-cde6c150.js";
2
+ import { V as k, n as _t, L as Yt } from "./main-6be1d89a.js";
3
3
  function yt(t, e) {
4
4
  var i = Object.keys(t);
5
5
  if (Object.getOwnPropertySymbols) {
@@ -1,6 +1,6 @@
1
- import { n as f, b as h } from "./main-5fada315.js";
2
- import { m as C } from "./mapFormMixin-881590dc.js";
3
- import { C as b } from "./CPhoneFormat-06cd312e.js";
1
+ import { n as f, b as h } from "./main-6be1d89a.js";
2
+ import { m as C } from "./mapFormMixin-ab97e85b.js";
3
+ import { C as b } from "./CPhoneFormat-6f544ea2.js";
4
4
  const $ = {
5
5
  name: "DocPartiesItem",
6
6
  components: {
@@ -44,8 +44,8 @@ var w = function() {
44
44
  );
45
45
  const S = k.exports;
46
46
  const F = {
47
- client: () => import("./ClientModal-62cfe454.js"),
48
- company: () => import("./CompanyModal-1140af13.js")
47
+ client: () => import("./ClientModal-b1f06e4b.js"),
48
+ company: () => import("./CompanyModal-37d80a52.js")
49
49
  }, I = {
50
50
  i18nOptions: {
51
51
  namespaces: "components"
@@ -53,7 +53,7 @@ const F = {
53
53
  name: "DocParties",
54
54
  components: {
55
55
  DocPartiesItem: S,
56
- AddClientCallout: () => import("./AddClientCallout-57195414.js")
56
+ AddClientCallout: () => import("./AddClientCallout-c91ca331.js")
57
57
  },
58
58
  mixins: [C()],
59
59
  props: {
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-5fada315.js";
1
+ import { n as r } from "./main-6be1d89a.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-881590dc.js";
2
- import { n as i } from "./main-5fada315.js";
1
+ import { m as e } from "./mapFormMixin-ab97e85b.js";
2
+ import { n as i } from "./main-6be1d89a.js";
3
3
  const m = {
4
4
  name: "EstimatedTimeToComplete",
5
5
  components: {
6
- Read: () => import("./Index-ef0a8d46.js"),
7
- Edit: () => import("./Index-aa9388ac.js")
6
+ Read: () => import("./Index-a13a8628.js"),
7
+ Edit: () => import("./Index-722972c7.js")
8
8
  },
9
9
  mixins: [e(["noOfTimeUnits", "timeUnit"])]
10
10
  };
@@ -1,11 +1,11 @@
1
- import { n as m, s as p } from "./main-5fada315.js";
2
- import { m as c } from "./mapFormMixin-881590dc.js";
3
- import l from "./FilePreviewModal-5ae3179e.js";
4
- import "./PdfViewer-f6d4d126.js";
1
+ import { n as m, r as p } from "./main-6be1d89a.js";
2
+ import { m as c } from "./mapFormMixin-ab97e85b.js";
3
+ import l from "./FilePreviewModal-63bf0717.js";
4
+ import "./PdfViewer-f8877419.js";
5
5
  import "./dom-962579a6.js";
6
- import "./DocumentLayout-bdb661ca.js";
7
- import "./debounce-2da37622.js";
8
- import "./CDropdownItem-648b13e8.js";
6
+ import "./DocumentLayout-3a00c75c.js";
7
+ import "./debounce-653d5a89.js";
8
+ import "./CDropdownItem-b703493e.js";
9
9
  const d = {
10
10
  name: "FilePreviewWrapper",
11
11
  components: {
@@ -74,8 +74,8 @@ const w = h.exports, v = {
74
74
  name: "AttachmentList",
75
75
  components: {
76
76
  FilePreviewWrapper: w,
77
- BaseUpload: () => import("./BaseUpload-7ac7f0de.js"),
78
- AttachmentItem: () => import("./AttachmentItem-d5059568.js")
77
+ BaseUpload: () => import("./BaseUpload-cde6c150.js"),
78
+ AttachmentItem: () => import("./AttachmentItem-2fcd4102.js")
79
79
  },
80
80
  mixins: [c(["attachments"])],
81
81
  data() {
@@ -129,13 +129,13 @@ const w = h.exports, v = {
129
129
  var g = function() {
130
130
  var e = this, s = e._self._c;
131
131
  return s("div", { staticClass: "font-inter" }, [s("FilePreviewWrapper", { attrs: { list: e.cAttachments }, scopedSlots: e._u([{ key: "default", fn: function({ openModal: n, isImageOrPdf: i }) {
132
- return [s("div", e._l(e.cAttachments, function(o, r) {
133
- return s("AttachmentItem", { key: r, attrs: { "is-image-or-pdf": i(o.mime), attachment: o, "can-edit": e.canEdit, "upload-progress": o.progress }, on: { click: function(a) {
134
- i(o.mime) && n(r);
132
+ return [s("div", e._l(e.cAttachments, function(r, o) {
133
+ return s("AttachmentItem", { key: o, attrs: { "is-image-or-pdf": i(r.mime), attachment: r, "can-edit": e.canEdit, "upload-progress": r.progress }, on: { click: function(a) {
134
+ i(r.mime) && n(o);
135
135
  }, remove: function(a) {
136
- return e.remove(r);
136
+ return e.remove(o);
137
137
  }, input: function(a) {
138
- e.attachments = e.immutable(e.attachments).set(a, r);
138
+ e.attachments = e.immutable(e.attachments).set(a, o);
139
139
  } } });
140
140
  }), 1)];
141
141
  } }]) }), e.canEdit ? [s("BaseUpload", { ref: "uploader", attrs: { "recent-modal": e.showRecentModal, "autostart-upload": !0, extensions: "png,gif,jpg,jpeg,svg,bmp,heic,heif,pdf,txt,odp,ods,odt,rtf,doc,docx,xls,xlsx,ppt,pptx,csv,ogv,mp4,webm,m4v,ogg,mp3,wav,zip,rar,json,7z,mpeg,oga,ogv,vsd,weba,webm,webp,xml,gz,tif,jfif,dwg,dwf,dwfx,dwt,msg,ai,psd,md,markdown,mdown,markdn", accept: "*" }, on: { "upload-success": e.onUploadSuccess }, model: { value: e.newFiles, callback: function(n) {