@cling-se/widget 0.17.0 → 0.17.3

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 (125) hide show
  1. package/dist/{AddClientCallout-BJzBdba1.js → AddClientCallout-Br6IhwGH.js} +4 -4
  2. package/dist/{AnswerModal-frHq1g4s.js → AnswerModal-CsWltR6j.js} +220 -215
  3. package/dist/{AttachmentItem-BaN0OrEV.js → AttachmentItem-BG7FuSCD.js} +4 -4
  4. package/dist/{BaseDatePicker-B-AfdrSb.js → BaseDatePicker-PSNBtUIh.js} +2 -2
  5. package/dist/{BaseUpload-CY3lTcte.js → BaseUpload-BfEurAAV.js} +2 -2
  6. package/dist/{BlockMedia-Bb5wQIDg.js → BlockMedia-Bo3OfNSU.js} +1 -1
  7. package/dist/{CCallout-5quI6yyk.js → CCallout-CAjM8-1X.js} +1 -1
  8. package/dist/{CCurrencyDropdown-C2rXt2cJ.js → CCurrencyDropdown-CXXQu8th.js} +3 -3
  9. package/dist/{CDropdownItem-CaoSQX6X.js → CDropdownItem-CN7gSfgY.js} +1 -1
  10. package/dist/{CFormField-Dd2Y71JG.js → CFormField-Clvcf2Jh.js} +1 -1
  11. package/dist/{CPhoneFormat-C8VPsiK6.js → CPhoneFormat-BtBGl8b4.js} +1 -1
  12. package/dist/{CPhoneInput-BU1t6eo_.js → CPhoneInput-CEHXh5jM.js} +5 -5
  13. package/dist/{CPriceInput-pv2aIVkH.js → CPriceInput-D2c07SXp.js} +2 -2
  14. package/dist/{CSelect-CrM45B7V.js → CSelect-Cz2IPzxS.js} +1 -1
  15. package/dist/{CSkeleton-BkvONMqL.js → CSkeleton-AsnvnD-m.js} +1 -1
  16. package/dist/{ClientAutocomplete-BRXIKQSk.js → ClientAutocomplete-CZ55-DKe.js} +3 -3
  17. package/dist/{ClientModal-CvHAptV2.js → ClientModal-CgUhWZ5L.js} +8 -8
  18. package/dist/{ColorPicker-RgoXRrud.js → ColorPicker-IFGHqH-u.js} +1 -1
  19. package/dist/{CompanyModal-OL4bD9Gk.js → CompanyModal-TLSBFo3U.js} +6 -6
  20. package/dist/{ContentWrapper-8HduCnR4.js → ContentWrapper-HClxKPuT.js} +7 -7
  21. package/dist/{CoverBlockSettings-DUv8AcdX.js → CoverBlockSettings-D99hAa6e.js} +6 -6
  22. package/dist/{DocAnswer-DiyFfpT2.js → DocAnswer-CTV_Bpt7.js} +2 -2
  23. package/dist/{DocDetails-BxNRfBnK.js → DocDetails-CQe5htXj.js} +4 -4
  24. package/dist/{DocForm-MGp-o0pu.js → DocForm-6Efv5_oz.js} +29 -29
  25. package/dist/{DocFormSend-q_QuVCqh.js → DocFormSend-DbXcklxU.js} +2 -2
  26. package/dist/{DocLinks-DGDdp30U.js → DocLinks-BO545zbL.js} +2 -2
  27. package/dist/{DocModalBase-qG4RqwBn.js → DocModalBase-DXHNJ-6i.js} +1 -1
  28. package/dist/{DocPrint-Cln3kt0g.js → DocPrint-Bf2U4FQN.js} +1 -1
  29. package/dist/{DocReceipt-nbsJ-ukZ.js → DocReceipt-CWXvC7bY.js} +2 -2
  30. package/dist/{DocSendReminder-B3qdqduf.js → DocSendReminder-CRzBM2NJ.js} +1 -1
  31. package/dist/{DocTextEditor-CQDnjnRY.js → DocTextEditor-yD9Dt_um.js} +8 -8
  32. package/dist/{DocTimeline-CgKHoDcG.js → DocTimeline-DGVOk8-2.js} +2 -2
  33. package/dist/{DocumentClient-UZlnIlz5.js → DocumentClient-Das9BaJ7.js} +5 -5
  34. package/dist/{DocumentLayout-Dvr4zgyF.js → DocumentLayout-4q8rmTVT.js} +4 -4
  35. package/dist/{DocumentLogotype-mAVgMRHr.js → DocumentLogotype-DLncJJAB.js} +4 -4
  36. package/dist/{DocumentVoided-BXYNrf_6.js → DocumentVoided-CcI9lX27.js} +1 -1
  37. package/dist/{EmbedInput-YRUrw3c6.js → EmbedInput-BPdy0lGS.js} +3 -3
  38. package/dist/{EmbedSettings-DvRreF7H.js → EmbedSettings-L2iwYLQK.js} +3 -3
  39. package/dist/{ErrorCallout-DVknpLVY.js → ErrorCallout-Ds_tBT02.js} +1 -1
  40. package/dist/{FilePreviewModal-DC56FaGy.js → FilePreviewModal-hxUu330p.js} +2 -2
  41. package/dist/{Flag-D5iZLESg.js → Flag-1-HcT5Dz.js} +1 -1
  42. package/dist/{HeaderSettings-DXZnZL7A.js → HeaderSettings-C27fMugK.js} +8 -8
  43. package/dist/{ImageSelectModal-Bu4_xZga.js → ImageSelectModal-BKDIyxF4.js} +3 -3
  44. package/dist/{ImageUploadWrapper-CtZhkAm1.js → ImageUploadWrapper-BiYzUQur.js} +2 -2
  45. package/dist/{Index-CxO4tJ3U.js → Index-5BOWxcPG.js} +4 -4
  46. package/dist/{Index-DAQQQlut.js → Index-B1Odktov.js} +2 -2
  47. package/dist/{Index-CVnD6jo5.js → Index-B3d5BjEn.js} +4 -4
  48. package/dist/{Index-B1dJO6Bk.js → Index-B3sSU_4X.js} +2 -2
  49. package/dist/{Index-B3pz1coY.js → Index-B5Dqsh3K.js} +5 -5
  50. package/dist/{Index-CUSbvjoD.js → Index-B6aO1c_w.js} +4 -4
  51. package/dist/{Index-Dk0KaIKg.js → Index-BGfICxJQ.js} +7 -7
  52. package/dist/{Index-Hkzoh9QR.js → Index-BHopC0hv.js} +3 -3
  53. package/dist/{Index-BW-EtZ1z.js → Index-BJXcSmp_.js} +5 -5
  54. package/dist/{Index-CP17iXT6.js → Index-BQe6QjQZ.js} +4 -4
  55. package/dist/{Index-DX6_D-J-.js → Index-BmXx_x6t.js} +1 -1
  56. package/dist/{Index-C94BL4uU.js → Index-C692qMTG.js} +7 -7
  57. package/dist/{Index-DPuKRwmu.js → Index-CEvbw-3i.js} +3 -3
  58. package/dist/{Index-LzN6dktq.js → Index-CRiATiQn.js} +2 -2
  59. package/dist/{Index-DSy8QG8T.js → Index-CYSULnpn.js} +4 -4
  60. package/dist/{Index-BHJGfHm9.js → Index-C_aIQ908.js} +49 -34
  61. package/dist/{Index-eh909lAz.js → Index-CdtYzwAM.js} +5 -5
  62. package/dist/{Index-D4J4BpHd.js → Index-CetF2FW0.js} +8 -8
  63. package/dist/{Index-BUK-1yVR.js → Index-Ch9r5yhG.js} +2 -2
  64. package/dist/{Index-DNxSR72J.js → Index-Cv6XLM20.js} +4 -4
  65. package/dist/{Index-BNucs2O-.js → Index-Cwy8ff76.js} +6 -6
  66. package/dist/{Index-t_oVV8Rc.js → Index-D34z4UEY.js} +6 -6
  67. package/dist/{Index-otowKI_C.js → Index-DNCei-lp.js} +4 -4
  68. package/dist/{Index-BHgW8EHW.js → Index-DUbxgIYB.js} +27 -28
  69. package/dist/{Index-Ci5zdPeT.js → Index-DVwn_LLf.js} +1 -1
  70. package/dist/{Index-BPUYpfLJ.js → Index-Dfq7egc1.js} +3 -3
  71. package/dist/{Index-YAD39Qvg.js → Index-Dla-mesV.js} +5 -5
  72. package/dist/{Index-CB57haU8.js → Index-KtUkOPI2.js} +4 -4
  73. package/dist/{Index-BjKACpun.js → Index-LjnOTVJk.js} +5 -5
  74. package/dist/{Index-BioOegOO.js → Index-RWMPRDAE.js} +2 -2
  75. package/dist/{Index-KsHJxWAa.js → Index-ky1SRtfY.js} +6 -6
  76. package/dist/{Index-CikqSMjb.js → Index-mceZW2NX.js} +1 -1
  77. package/dist/{Index-vG96oEXZ.js → Index-tD3hZjh8.js} +8 -8
  78. package/dist/{Index-TtItTuv6.js → Index-vM5kDtC2.js} +4 -4
  79. package/dist/{InputToggleRow-CcqJDguN.js → InputToggleRow-BmDuSbE2.js} +1 -1
  80. package/dist/{ManualPopover-BE2IN-XU.js → ManualPopover-CQfjPvFe.js} +1 -1
  81. package/dist/{MediaWrapper-lnGUFiyc.js → MediaWrapper-DDzcjR6V.js} +3 -3
  82. package/dist/{NotBindingText-CM3FN0A6.js → NotBindingText-CC7TxUqg.js} +2 -2
  83. package/dist/{PackageGroup-BsmxOMLW.js → PackageGroup-mAGXfZDv.js} +4 -4
  84. package/dist/PdfTerms-BH_Nwf2h.js +31 -0
  85. package/dist/{PdfViewer-C0lDpjte.js → PdfViewer-mBLxI8bA.js} +4 -4
  86. package/dist/{PlainHtml-5YwYVj1v.js → PlainHtml-B7gUNNZd.js} +1 -1
  87. package/dist/{PriceHeader-CxqhpGS-.js → PriceHeader-DClYMPcq.js} +6 -6
  88. package/dist/{SearchApi-BndaIbri.js → SearchApi-G2Hvp0Dd.js} +29 -42
  89. package/dist/{SendForm-D7U9fG-5.js → SendForm-Cxv_m8Rq.js} +9 -9
  90. package/dist/{Setup-CmAK2_ZT.js → Setup-B90VDZTG.js} +1 -1
  91. package/dist/{SmartList-DhhjSWLO.js → SmartList-BynTuXtB.js} +1 -1
  92. package/dist/{TermsSettings-BEQwmkFH.js → TermsSettings-cA5YAO77.js} +5 -5
  93. package/dist/{ThemeColorRow-BlnhzebY.js → ThemeColorRow-D-Z7w4Wk.js} +3 -3
  94. package/dist/{ToggleBinding-t_58JFya.js → ToggleBinding-DOeTcWzi.js} +4 -4
  95. package/dist/{UploadModal-T-WpYNsN.js → UploadModal-DOPLVEpV.js} +2 -2
  96. package/dist/{VideoPlayerInput-DKHKjMgX.js → VideoPlayerInput-1zG06elO.js} +4 -4
  97. package/dist/{VideoPlayerSettings-DDMlUvSt.js → VideoPlayerSettings-O-4rAYYh.js} +2 -2
  98. package/dist/{VideoSelectModal-B9bbP0dd.js → VideoSelectModal-DzqFrqCg.js} +3 -3
  99. package/dist/{answerDocumentMixin-DXI_E5Kx.js → answerDocumentMixin-HBiNWYCH.js} +3 -3
  100. package/dist/{debounce-D0hKNU85.js → debounce-Ch1d3526.js} +1 -1
  101. package/dist/dom-Ds4ypDrd.js +72 -0
  102. package/dist/{focusDrawerMixin-C_aTLmK0.js → focusDrawerMixin-CximZA1J.js} +1 -1
  103. package/dist/{formDrawerState-Da4mcbab.js → formDrawerState-CkNGdxn5.js} +1 -1
  104. package/dist/{formValidationMixin-WZ2lGndu.js → formValidationMixin-D_MzsHsR.js} +2 -2
  105. package/dist/{index-zXXJrTvv.js → index-BNdbPq4J.js} +1 -1
  106. package/dist/{index-LQ7NztTt.js → index-BXzugeJ6.js} +1 -1
  107. package/dist/{index-COKDjmM2.js → index-C5wcxrC6.js} +7 -7
  108. package/dist/{index-HtKGcIng.js → index-CgDOs7t4.js} +8 -8
  109. package/dist/{index-fx5gR8fM.js → index-Cj-_2coz.js} +6 -6
  110. package/dist/{index-B2l57ilt.js → index-DpqV5y0K.js} +1 -1
  111. package/dist/index.es.js +3 -3
  112. package/dist/index.umd.js +124 -124
  113. package/dist/{main-BgzLHIoo.js → main-BL_yzf2r.js} +4266 -4239
  114. package/dist/{mapFormMixin-CQgSN7dv.js → mapFormMixin-Cu_vkTP-.js} +1 -1
  115. package/dist/{omit-ScS7B6c5.js → omit-Dfe_H1Ft.js} +1 -1
  116. package/dist/{publicSenderState-DB4BHByV.js → publicSenderState-CGEm9EYe.js} +1 -1
  117. package/dist/{simplebar.min-B0cB_p8g.js → simplebar.min-CRlLD1Oz.js} +1 -1
  118. package/dist/style.css +2 -2
  119. package/dist/{throttle-DT2UVOqm.js → throttle-BX_w77tW.js} +2 -2
  120. package/dist/{tippy.esm-CR89mtdY.js → tippy.esm-n4arfVzA.js} +5 -5
  121. package/dist/{utils-nos8CB1L.js → utils-Dr4AcaE9.js} +1 -1
  122. package/dist/{vuedraggable.umd-CkXXkt1b.js → vuedraggable.umd-DW4PJoZ3.js} +1 -1
  123. package/package.json +1 -1
  124. package/dist/PdfTerms-BgYwZoAZ.js +0 -31
  125. package/dist/dom-CWsqMElk.js +0 -71
@@ -1,17 +1,17 @@
1
- import { m as y } from "./mapFormMixin-CQgSN7dv.js";
2
- import { C as W } from "./CCallout-5quI6yyk.js";
3
- import { C as x, a as b, w as B } from "./CDropdownItem-CaoSQX6X.js";
4
- import { E as V } from "./ErrorCallout-DVknpLVY.js";
5
- import { aS as F, aT as D, aU as j, aV as N, aW as H, aX as q, l as U, aY as G, n as u, g as p, D as k, aE as K, aZ as T, aL as Y, r as I, av as f, $ as Z, a_ as J, aw as X, a$ as Q, b0 as ee, b1 as A, p as te, b as o, v as ie, Z as g, H as se, K as ae, b2 as ne, z as re, ae as oe } from "./main-BgzLHIoo.js";
1
+ import { m as y } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { C as W } from "./CCallout-CAjM8-1X.js";
3
+ import { C as x, a as b, w as B } from "./CDropdownItem-CN7gSfgY.js";
4
+ import { E as V } from "./ErrorCallout-Ds_tBT02.js";
5
+ import { aT as F, aU as D, aV as j, aW as N, aX as H, aY as q, l as U, aZ as G, n as u, g as p, D as k, aF as K, a_ as T, aM as Y, r as I, av as f, $ as Z, a$ as J, aw as X, b0 as Q, b1 as ee, b2 as A, p as te, b as o, v as ie, Z as g, H as se, K as ae, b3 as ne, z as re, ae as oe } from "./main-BL_yzf2r.js";
6
6
  import { m as h, a as v } from "./vuex.esm-DKGl8mcw.js";
7
- import { T as ce } from "./DocTextEditor-CQDnjnRY.js";
8
- import { W as le } from "./DocumentLayout-Dvr4zgyF.js";
9
- import { o as R } from "./omit-ScS7B6c5.js";
10
- import { d as ue } from "./vuedraggable.umd-CkXXkt1b.js";
11
- import { C as w } from "./CPriceInput-pv2aIVkH.js";
12
- import { S as de } from "./SearchApi-BndaIbri.js";
13
- import { v as pe } from "./index-zXXJrTvv.js";
14
- import { C as O } from "./CFormField-Dd2Y71JG.js";
7
+ import { T as ce } from "./DocTextEditor-yD9Dt_um.js";
8
+ import { W as le } from "./DocumentLayout-4q8rmTVT.js";
9
+ import { o as R } from "./omit-Dfe_H1Ft.js";
10
+ import { d as ue } from "./vuedraggable.umd-DW4PJoZ3.js";
11
+ import { C as w } from "./CPriceInput-D2c07SXp.js";
12
+ import { S as de } from "./SearchApi-G2Hvp0Dd.js";
13
+ import { v as pe } from "./index-BNdbPq4J.js";
14
+ import { C as O } from "./CFormField-Clvcf2Jh.js";
15
15
  const he = [
16
16
  "unit",
17
17
  "m2",
@@ -63,7 +63,7 @@ function De(s, e) {
63
63
  return s && s.length ? Ve(s, Pe(e)) : [];
64
64
  }
65
65
  var Re = De;
66
- const Oe = /* @__PURE__ */ U(Re), Le = {
66
+ const Oe = /* @__PURE__ */ U(Re), Me = {
67
67
  name: "PackageGroupSelect",
68
68
  i18nOptions: {
69
69
  namespaces: "PackageGroupSelect",
@@ -130,7 +130,7 @@ const Oe = /* @__PURE__ */ U(Re), Le = {
130
130
  };
131
131
  }
132
132
  };
133
- var Me = function() {
133
+ var Le = function() {
134
134
  var e = this, t = e._self._c;
135
135
  return t("div", { staticClass: "font-inter", staticStyle: { padding: "calc(2 * var(--rem)) 0 calc(1 * var(--rem)) 0", color: "#111" } }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600", "text-align": "center", "margin-bottom": "calc(1.5 * var(--rem))" } }, [e._v(" " + e._s(e.$t("title")) + " ")]), t("div", [t("div", { staticClass: "options", class: { "is-700-or-less": e.parentSize.width <= 700 } }, e._l(e.options, function(i, n) {
136
136
  return t("div", { key: n, staticClass: "package-group-option", style: { backgroundColor: i.background }, on: { click: function(a) {
@@ -154,8 +154,8 @@ var Me = function() {
154
154
  var s = this, e = s._self._c;
155
155
  return e("div", { staticStyle: { flex: "1 1 auto" } }, [e("div", { staticClass: "bg-gray-100", staticStyle: { width: "40%", height: "10px", "margin-bottom": "8px" } }), e("div", { staticClass: "bg-gray-100", staticStyle: { width: "80%", height: "10px" } })]);
156
156
  }], ze = /* @__PURE__ */ u(
157
- Le,
158
157
  Me,
158
+ Le,
159
159
  Ee,
160
160
  !1,
161
161
  null,
@@ -290,8 +290,7 @@ var Fe = function() {
290
290
  } } }, [t("SearchApi", { attrs: { "custom-search": {
291
291
  article: !0,
292
292
  extensionArticle: !0,
293
- project: !1,
294
- user: !1
293
+ project: !1
295
294
  } }, scopedSlots: e._u([{ key: "default", fn: function({ fetch: i }) {
296
295
  return [t("CInput", e._b({ ref: "input", staticClass: "r-input", attrs: { value: e.value, type: e.tag, "auto-resize": !0 }, on: { input: function(n) {
297
296
  return e.search(i, n);
@@ -318,9 +317,9 @@ var Fe = function() {
318
317
  je,
319
318
  !1,
320
319
  null,
321
- "aa485cb9"
320
+ "d1cfa974"
322
321
  );
323
- const L = Ne.exports, P = {
322
+ const M = Ne.exports, P = {
324
323
  isDeductable: !1,
325
324
  isRut: !1,
326
325
  greenRot15: !1,
@@ -337,7 +336,7 @@ const L = Ne.exports, P = {
337
336
  ...P,
338
337
  [t]: !0
339
338
  }), K(i.quantity) !== "number" && (i.quantity = 0), T(i);
340
- }, M = ({
339
+ }, L = ({
341
340
  stored: s,
342
341
  current: e,
343
342
  hidePrice: t = !1,
@@ -436,7 +435,7 @@ const L = Ne.exports, P = {
436
435
  },
437
436
  components: {
438
437
  ErrorCallout: V,
439
- ArticleAutocomplete: L,
438
+ ArticleAutocomplete: M,
440
439
  CPriceInput: w
441
440
  },
442
441
  props: {
@@ -484,7 +483,7 @@ const L = Ne.exports, P = {
484
483
  data() {
485
484
  return {
486
485
  updateData: $,
487
- addSavedArticle: M,
486
+ addSavedArticle: L,
488
487
  articleUnitLabel: f,
489
488
  widthCompact: 580,
490
489
  visualDisable: !1
@@ -915,7 +914,7 @@ const ut = lt.exports, dt = {
915
914
  messages: E
916
915
  },
917
916
  components: {
918
- ArticleAutocomplete: L,
917
+ ArticleAutocomplete: M,
919
918
  ArticleUnitSelect: ut,
920
919
  ListModalButtons: et,
921
920
  CPriceInput: w,
@@ -981,7 +980,7 @@ const ut = lt.exports, dt = {
981
980
  return {
982
981
  priceSuffix: He,
983
982
  updateData: $,
984
- addSavedArticle: M,
983
+ addSavedArticle: L,
985
984
  vatOptions: [
986
985
  { value: 25, translation: "25%" },
987
986
  { value: 12, translation: "12%" },
@@ -1716,10 +1715,10 @@ var Dt = function() {
1716
1715
  null,
1717
1716
  "cff30915"
1718
1717
  );
1719
- const Lt = Ot.exports, Mt = {
1718
+ const Mt = Ot.exports, Lt = {
1720
1719
  name: "Pricing",
1721
1720
  components: {
1722
- EditDeduction: Lt
1721
+ EditDeduction: Mt
1723
1722
  },
1724
1723
  props: {
1725
1724
  _document: {
@@ -1827,7 +1826,7 @@ var Et = function() {
1827
1826
  } } }, [t("svg", { attrs: { viewBox: "0 0 24 24", width: "15", height: "15", stroke: "currentColor", "stroke-width": "2.5", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" } }), t("path", { attrs: { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" } })])]) : e._e()]), t("div", { staticClass: "price-value" }, [e._v(" " + e._s(i.prefix) + " " + e._s(i.value) + " ")])]);
1828
1827
  }), 0)]);
1829
1828
  }, zt = [], Wt = /* @__PURE__ */ u(
1830
- Mt,
1829
+ Lt,
1831
1830
  Et,
1832
1831
  zt,
1833
1832
  !1,
@@ -1,4 +1,4 @@
1
- import { u as t, x as o, n as _ } from "./main-BgzLHIoo.js";
1
+ import { u as t, x as o, n as _ } from "./main-BL_yzf2r.js";
2
2
  const p = /* @__PURE__ */ t({
3
3
  __name: "Index",
4
4
  props: {
@@ -1,6 +1,6 @@
1
- import { P as m } from "./PlainHtml-5YwYVj1v.js";
2
- import { Z as c, D as u, n as p } from "./main-BgzLHIoo.js";
3
- import { s as g } from "./dom-CWsqMElk.js";
1
+ import { P as m } from "./PlainHtml-B7gUNNZd.js";
2
+ import { Z as c, D as u, n as p } from "./main-BL_yzf2r.js";
3
+ import { s as g } from "./dom-Ds4ypDrd.js";
4
4
  const h = {
5
5
  name: "ExtraWorkConstructionPricingListRead",
6
6
  props: {
@@ -1,8 +1,8 @@
1
- import { m as o } from "./mapFormMixin-CQgSN7dv.js";
2
- import { C as s } from "./CSelect-CrM45B7V.js";
3
- import { b as l } from "./CDropdownItem-CaoSQX6X.js";
4
- import { n as c, _ as m } from "./main-BgzLHIoo.js";
5
- import { v as a } from "./index-zXXJrTvv.js";
1
+ import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { C as s } from "./CSelect-Cz2IPzxS.js";
3
+ import { b as l } from "./CDropdownItem-CN7gSfgY.js";
4
+ import { n as c, _ as m } from "./main-BL_yzf2r.js";
5
+ import { v as a } from "./index-BNdbPq4J.js";
6
6
  const u = (e, t) => e ? m(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, d = {
7
7
  name: "ExtraWorkTimeImpactTextEdit",
8
8
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-CQgSN7dv.js";
2
- import { I as n } from "./InputToggleRow-CcqJDguN.js";
3
- import { B as s } from "./BaseDatePicker-B-AfdrSb.js";
4
- import { n as l } from "./main-BgzLHIoo.js";
1
+ import { m as r } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { I as n } from "./InputToggleRow-BmDuSbE2.js";
3
+ import { B as s } from "./BaseDatePicker-PSNBtUIh.js";
4
+ import { n as l } from "./main-BL_yzf2r.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -1,6 +1,6 @@
1
- import { m as o } from "./mapFormMixin-CQgSN7dv.js";
2
- import { S as i, n as a } from "./main-BgzLHIoo.js";
3
- import { f as d } from "./focusDrawerMixin-C_aTLmK0.js";
1
+ import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { S as i, n as a } from "./main-BL_yzf2r.js";
3
+ import { f as d } from "./focusDrawerMixin-CximZA1J.js";
4
4
  const r = {
5
5
  // eslint-disable-next-line vue/no-reserved-component-names
6
6
  name: "Embed",
@@ -16,8 +16,8 @@ const r = {
16
16
  }
17
17
  },
18
18
  components: {
19
- EmbedSettings: () => import("./EmbedSettings-DvRreF7H.js"),
20
- EmbedInput: () => import("./EmbedInput-YRUrw3c6.js"),
19
+ EmbedSettings: () => import("./EmbedSettings-L2iwYLQK.js"),
20
+ EmbedInput: () => import("./EmbedInput-BPdy0lGS.js"),
21
21
  Spinner: i
22
22
  },
23
23
  mixins: [o(["embed", "size"]), d],
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-5YwYVj1v.js";
2
- import { n as o } from "./main-BgzLHIoo.js";
1
+ import { P as r } from "./PlainHtml-B7gUNNZd.js";
2
+ import { n as o } from "./main-BL_yzf2r.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-CQgSN7dv.js";
2
- import { f as a } from "./focusDrawerMixin-C_aTLmK0.js";
3
- import { g as r } from "./utils-nos8CB1L.js";
4
- import { n } from "./main-BgzLHIoo.js";
1
+ import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { f as a } from "./focusDrawerMixin-CximZA1J.js";
3
+ import { g as r } from "./utils-Dr4AcaE9.js";
4
+ import { n } from "./main-BL_yzf2r.js";
5
5
  const d = {
6
6
  name: "VideoPlayer",
7
7
  i18nOptions: {
@@ -9,8 +9,8 @@ const d = {
9
9
  keyPrefix: "document.videoPlayer"
10
10
  },
11
11
  components: {
12
- VideoPlayerSettings: () => import("./VideoPlayerSettings-DDMlUvSt.js"),
13
- VideoPlayerInput: () => import("./VideoPlayerInput-DKHKjMgX.js")
12
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-O-4rAYYh.js"),
13
+ VideoPlayerInput: () => import("./VideoPlayerInput-1zG06elO.js")
14
14
  },
15
15
  mixins: [o(["videoPlayer"]), a],
16
16
  data() {
@@ -1,4 +1,4 @@
1
- import { u, Y as d, x as l, n as _ } from "./main-BgzLHIoo.js";
1
+ import { u, Y as d, x as l, n as _ } from "./main-BL_yzf2r.js";
2
2
  const p = /* @__PURE__ */ u({
3
3
  __name: "Index",
4
4
  props: {
@@ -1,13 +1,13 @@
1
- import { m as r } from "./mapFormMixin-CQgSN7dv.js";
2
- import { f as l } from "./focusDrawerMixin-C_aTLmK0.js";
3
- import { d as c } from "./debounce-D0hKNU85.js";
1
+ import { m as r } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { f as l } from "./focusDrawerMixin-CximZA1J.js";
3
+ import { d as c } from "./debounce-Ch1d3526.js";
4
4
  import { s as m, p as u } from "./splitpanes-BHUVsCZF.js";
5
- import { n } from "./main-BgzLHIoo.js";
5
+ import { n } from "./main-BL_yzf2r.js";
6
6
  const d = {
7
7
  name: "HeaderItems",
8
8
  components: {
9
- MediaWrapper: () => import("./MediaWrapper-lnGUFiyc.js"),
10
- ContentWrapper: () => import("./ContentWrapper-8HduCnR4.js"),
9
+ MediaWrapper: () => import("./MediaWrapper-DDzcjR6V.js"),
10
+ ContentWrapper: () => import("./ContentWrapper-HClxKPuT.js"),
11
11
  Splitpanes: m,
12
12
  Pane: u
13
13
  },
@@ -72,8 +72,8 @@ var h = function() {
72
72
  const v = p.exports, f = {
73
73
  name: "HeaderBlock",
74
74
  components: {
75
- PriceHeader: () => import("./PriceHeader-CxqhpGS-.js"),
76
- HeaderSettings: () => import("./HeaderSettings-DXZnZL7A.js"),
75
+ PriceHeader: () => import("./PriceHeader-DClYMPcq.js"),
76
+ HeaderSettings: () => import("./HeaderSettings-C27fMugK.js"),
77
77
  HeaderItems: v
78
78
  },
79
79
  mixins: [r(["header"]), l],
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-CQgSN7dv.js";
2
- import { n as i } from "./main-BgzLHIoo.js";
1
+ import { m as n } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { n as i } from "./main-BL_yzf2r.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-BioOegOO.js"),
7
- Edit: () => import("./Index-YAD39Qvg.js")
6
+ Read: () => import("./Index-RWMPRDAE.js"),
7
+ Edit: () => import("./Index-Dla-mesV.js")
8
8
  },
9
9
  mixins: [
10
10
  n([
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-BgzLHIoo.js";
1
+ import { n as s } from "./main-BL_yzf2r.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-BgzLHIoo.js";
1
+ import { n as s } from "./main-BL_yzf2r.js";
2
2
  const i = {
3
3
  name: "ManualPopover",
4
4
  data() {
@@ -1,6 +1,6 @@
1
- import { m as a } from "./mapFormMixin-CQgSN7dv.js";
2
- import { B as n } from "./BlockMedia-Bb5wQIDg.js";
3
- import { n as m } from "./main-BgzLHIoo.js";
1
+ import { m as a } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { B as n } from "./BlockMedia-Bo3OfNSU.js";
3
+ import { n as m } from "./main-BL_yzf2r.js";
4
4
  const o = {
5
5
  name: "MediaWrapper",
6
6
  components: { BlockMedia: n },
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-5YwYVj1v.js";
2
- import { n } from "./main-BgzLHIoo.js";
1
+ import { P as e } from "./PlainHtml-B7gUNNZd.js";
2
+ import { n } from "./main-BL_yzf2r.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import { m as g, t as m } from "./mapFormMixin-CQgSN7dv.js";
2
- import { E as y } from "./ErrorCallout-DVknpLVY.js";
3
- import { au as f, av as v, D as _, n as d, aw as k, J as w, b as p, d as P, c as $ } from "./main-BgzLHIoo.js";
4
- import { T as b } from "./DocTextEditor-CQDnjnRY.js";
1
+ import { m as g, t as m } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { E as y } from "./ErrorCallout-Ds_tBT02.js";
3
+ import { au as f, av as v, D as _, n as d, aw as k, J as w, b as p, d as P, c as $ } from "./main-BL_yzf2r.js";
4
+ import { T as b } from "./DocTextEditor-yD9Dt_um.js";
5
5
  const x = {
6
6
  name: "ArticleItem",
7
7
  mixins: [g([])],
@@ -0,0 +1,31 @@
1
+ import { u as i, x as r, $ as c, n as l } from "./main-BL_yzf2r.js";
2
+ import { V as _ } from "./PdfViewer-mBLxI8bA.js";
3
+ const f = /* @__PURE__ */ i({
4
+ __name: "PdfTerms",
5
+ props: {
6
+ text: null,
7
+ file: null
8
+ },
9
+ setup(n) {
10
+ const t = n, e = r(() => t.text), s = r(() => {
11
+ var o;
12
+ return (o = t.file) == null ? void 0 : o.url;
13
+ }), a = r(() => c.t("_common:terms.general"));
14
+ return { __sfc: !0, props: t, text: e, src: s, terms: a, VuePdf: _ };
15
+ }
16
+ });
17
+ var m = function() {
18
+ var t = this, e = t._self._c, s = t._self._setupProxy;
19
+ return s.text ? e("div", { staticClass: "root" }, [e("div", { staticClass: "root-title page-break" }, [t._v(" " + t._s(s.terms) + " ")]), e("div", { staticClass: "term-text quill-format", domProps: { innerHTML: t._s(s.text) } })]) : t.file ? e("div", [e(s.VuePdf, { staticClass: "pdf-container", attrs: { src: s.src, "doc-file-path": "data.terms.file.url" } })], 1) : e("div");
20
+ }, d = [], p = /* @__PURE__ */ l(
21
+ f,
22
+ m,
23
+ d,
24
+ !1,
25
+ null,
26
+ "47bb2463"
27
+ );
28
+ const x = p.exports;
29
+ export {
30
+ x as default
31
+ };
@@ -1,7 +1,7 @@
1
- import { n as l, c as n, W as g } from "./main-BgzLHIoo.js";
2
- import { e as d } from "./dom-CWsqMElk.js";
3
- import { W as m } from "./DocumentLayout-Dvr4zgyF.js";
4
- import { w as h } from "./CDropdownItem-CaoSQX6X.js";
1
+ import { n as l, c as n, W as g } from "./main-BL_yzf2r.js";
2
+ import { e as d } from "./dom-Ds4ypDrd.js";
3
+ import { W as m } from "./DocumentLayout-4q8rmTVT.js";
4
+ import { w as h } from "./CDropdownItem-CN7gSfgY.js";
5
5
  let c, u, f, p;
6
6
  function w(a) {
7
7
  return typeof a == "object" && a !== null && a.__PDFDocumentLoadingTask === !0;
@@ -1,4 +1,4 @@
1
- import { u as r, n as s } from "./main-BgzLHIoo.js";
1
+ import { u as r, n as s } from "./main-BL_yzf2r.js";
2
2
  const _ = /* @__PURE__ */ r({
3
3
  __name: "PlainHtml",
4
4
  props: {
@@ -1,8 +1,8 @@
1
- import { m as c, t as l } from "./mapFormMixin-CQgSN7dv.js";
2
- import { B as d } from "./BlockMedia-Bb5wQIDg.js";
3
- import { b as r, D as u, n, ah as m } from "./main-BgzLHIoo.js";
4
- import { s as p } from "./dom-CWsqMElk.js";
5
- import { T as y } from "./DocTextEditor-CQDnjnRY.js";
1
+ import { m as c, t as l } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { B as d } from "./BlockMedia-Bo3OfNSU.js";
3
+ import { b as r, D as u, n, ah as m } from "./main-BL_yzf2r.js";
4
+ import { s as p } from "./dom-Ds4ypDrd.js";
5
+ import { T as y } from "./DocTextEditor-yD9Dt_um.js";
6
6
  import { i as h } from "./i18nMessages-Chz_lxGG.js";
7
7
  const _ = {
8
8
  name: "SummaryBottom",
@@ -137,7 +137,7 @@ const S = f.exports, x = {
137
137
  },
138
138
  components: {
139
139
  TextEditor: y,
140
- DocumentLogotype: () => import("./DocumentLogotype-mAVgMRHr.js")
140
+ DocumentLogotype: () => import("./DocumentLogotype-DLncJJAB.js")
141
141
  },
142
142
  mixins: [c([])],
143
143
  inject: ["parentSize"],
@@ -1,7 +1,7 @@
1
- import { g as u, p as h, f, i as d, n as m } from "./main-BgzLHIoo.js";
2
- import { d as p } from "./debounce-D0hKNU85.js";
3
- import { m as y, a as g } from "./vuex.esm-DKGl8mcw.js";
4
- const A = {
1
+ import { p as u, f as h, i as f, n as m } from "./main-BL_yzf2r.js";
2
+ import { d } from "./debounce-Ch1d3526.js";
3
+ import { m as p } from "./vuex.esm-DKGl8mcw.js";
4
+ const y = {
5
5
  name: "SearchApi",
6
6
  props: {
7
7
  customSearch: {
@@ -13,14 +13,12 @@ const A = {
13
13
  return {
14
14
  defaultSearch: {
15
15
  project: !0,
16
- user: !0,
17
16
  endCustomer: !1,
18
17
  article: !1,
19
18
  extensionArticle: !1,
20
19
  // Articles in any authenticated CRM
21
20
  document: !1
22
21
  },
23
- hasLoadedUsers: !1,
24
22
  isLoading: !1,
25
23
  emptyQuery: null,
26
24
  // String to track last query that was empty, if a new query starts with this string we do not have to search again
@@ -29,8 +27,7 @@ const A = {
29
27
  };
30
28
  },
31
29
  computed: {
32
- ...y({
33
- allUsers: "companyUsers/all",
30
+ ...p({
34
31
  allAuthenticatedCRMs: "settings/allAuthenticatedCRMs",
35
32
  can: "application/can"
36
33
  }),
@@ -43,53 +40,43 @@ const A = {
43
40
  }
44
41
  },
45
42
  methods: {
46
- ...g({
47
- loadUsers: u.LOAD_COMPANY_USERS
48
- }),
49
43
  canFetchType(t) {
50
- return t === "endCustomer" ? this.can("endCustomers", "read") : t === "user" ? this.can("users", "modify") : !0;
44
+ return t === "endCustomer" ? this.can("endCustomers", "read") : !0;
51
45
  },
52
46
  async fetch({ query: t, start: s = null, end: a = null }) {
53
47
  const e = this.typesToFetch.reduce(
54
- (n, c) => ({ ...n, [c]: [] }),
48
+ (i, n) => ({ ...i, [n]: [] }),
55
49
  {}
56
50
  ), r = t.toLowerCase();
57
51
  if (this.emptyQuery && r && r.startsWith(this.emptyQuery) || (this.emptyQuery = null, this.hasSearchedAll = !0, !r))
58
52
  return e;
59
53
  try {
60
- const n = [], c = Object.keys(this.defaultSearch);
61
- (this.typesToFetch || []).forEach((l) => {
62
- c.includes(l) && n.push(
54
+ const i = [], n = Object.keys(this.defaultSearch);
55
+ (this.typesToFetch || []).forEach((c) => {
56
+ n.includes(c) && i.push(
63
57
  (async () => {
64
58
  let o = [];
65
- l === "document" ? o = await this.fetchDocuments(r, s, a) : l === "user" ? o = await this.fetchUsers(r, s, a) : l === "extensionArticle" ? o = await this.fetchExtensionArticles(r, s, a) : o = await this.fetchType(l, r, s, a), e[l] = o;
59
+ c === "document" ? o = await this.fetchDocuments(r, s, a) : c === "extensionArticle" ? o = await this.fetchExtensionArticles(r, s, a) : o = await this.fetchType(c, r, s, a), e[c] = o;
66
60
  })()
67
61
  );
68
- }), await Promise.all(n);
62
+ }), await Promise.all(i);
69
63
  } finally {
70
64
  this.isLoading = !1;
71
65
  }
72
66
  return Object.keys(e).every(
73
- (n) => e[n].length === 0
67
+ (i) => e[i].length === 0
74
68
  ) && this.hasSearchedAll && (this.emptyQuery = r), e;
75
69
  },
76
70
  async fetchType(t, s, a, e) {
77
71
  if (!this.canFetchType(t))
78
72
  return [];
79
- const { data: r } = await h("search", {
73
+ const { data: r } = await u("search", {
80
74
  type: t,
81
75
  query: s,
82
76
  ...a !== null && e !== null && { start: a, end: e }
83
77
  });
84
78
  return r;
85
79
  },
86
- async fetchUsers(t, s, a) {
87
- if (!this.canFetchType("user"))
88
- return [];
89
- this.hasLoadedUsers || (await this.loadUsers(), this.hasLoadedUsers = !0);
90
- const r = Object.values(this.allUsers).filter((i) => !!(i.fullName && i.fullName.toLowerCase().includes(t) || i.email && i.email.toLowerCase().includes(t)));
91
- return s !== null && a !== null ? r.slice(s, a) : r;
92
- },
93
80
  async fetchDocuments(t, s, a) {
94
81
  const e = t.replace(/[-[\]{}()*+?.,\\/^$|#]/g, "\\$&"), r = {
95
82
  $or: [
@@ -98,22 +85,22 @@ const A = {
98
85
  {
99
86
  clients: {
100
87
  $elemMatch: {
101
- $or: ["name", "email", "socialNo", "orgNo"].map((c) => ({
102
- [c]: { $regex: e, $options: "i" }
88
+ $or: ["name", "email", "socialNo", "orgNo"].map((n) => ({
89
+ [n]: { $regex: e, $options: "i" }
103
90
  }))
104
91
  }
105
92
  }
106
93
  }
107
94
  ]
108
- }, { data: i } = await f("/document", {
95
+ }, { data: l } = await h("/document", {
109
96
  params: {
110
97
  lean: !0,
111
98
  filter: encodeURIComponent(JSON.stringify(r)),
112
99
  fields: "clients,data.name,projectId,docNumber,createdAt",
113
100
  ...s !== null && a !== null && { skip: s, limit: a - s }
114
101
  }
115
- }), { items: n = [] } = i || {};
116
- return n;
102
+ }), { items: i = [] } = l || {};
103
+ return i;
117
104
  },
118
105
  async fetchExtensionArticles(t) {
119
106
  const s = [];
@@ -124,7 +111,7 @@ const A = {
124
111
  this.hasSearchedAll = !1;
125
112
  return;
126
113
  }
127
- const { data: e } = await d.search(a, {
114
+ const { data: e } = await f.search(a, {
128
115
  query: t,
129
116
  type: "article"
130
117
  });
@@ -134,10 +121,10 @@ const A = {
134
121
  })
135
122
  ), s;
136
123
  },
137
- triggerSearch: p(async function({ q: s, cb: a, start: e, end: r }) {
124
+ triggerSearch: d(async function({ q: s, cb: a, start: e, end: r }) {
138
125
  this.isLoading = !0;
139
- const i = await this.fetch({ query: s, start: e, end: r });
140
- return this.isLoading = !1, a(i);
126
+ const l = await this.fetch({ query: s, start: e, end: r });
127
+ return this.isLoading = !1, a(l);
141
128
  }, 500)
142
129
  },
143
130
  render() {
@@ -146,16 +133,16 @@ const A = {
146
133
  isLoading: this.isLoading
147
134
  });
148
135
  }
149
- }, S = null, w = null;
150
- var L = /* @__PURE__ */ m(
136
+ }, g = null, A = null;
137
+ var S = /* @__PURE__ */ m(
138
+ y,
139
+ g,
151
140
  A,
152
- S,
153
- w,
154
141
  !1,
155
142
  null,
156
143
  null
157
144
  );
158
- const $ = L.exports;
145
+ const _ = S.exports;
159
146
  export {
160
- $ as S
147
+ _ as S
161
148
  };
@@ -1,13 +1,13 @@
1
- import { m as d } from "./mapFormMixin-CQgSN7dv.js";
2
- import { I as S, a as w } from "./index-HtKGcIng.js";
3
- import { aB as u, h as $, n as o, b as l, aC as b, v as k, z as D, aD as g, aE as M } from "./main-BgzLHIoo.js";
4
- import { B as f } from "./BaseDatePicker-B-AfdrSb.js";
5
- import { C as h, a as y, b as F } from "./CDropdownItem-CaoSQX6X.js";
6
- import { E as A } from "./ErrorCallout-DVknpLVY.js";
7
- import { C as O, a as I } from "./ClientModal-CvHAptV2.js";
8
- import { s as B } from "./simplebar.min-B0cB_p8g.js";
1
+ import { m as d } from "./mapFormMixin-Cu_vkTP-.js";
2
+ import { I as S, a as w } from "./index-CgDOs7t4.js";
3
+ import { aC as u, h as $, n as o, b as l, aD as b, v as k, z as D, aE as g, aF as M } from "./main-BL_yzf2r.js";
4
+ import { B as f } from "./BaseDatePicker-PSNBtUIh.js";
5
+ import { C as h, a as y, b as F } from "./CDropdownItem-CN7gSfgY.js";
6
+ import { E as A } from "./ErrorCallout-Ds_tBT02.js";
7
+ import { C as O, a as I } from "./ClientModal-CgUhWZ5L.js";
8
+ import { s as B } from "./simplebar.min-CRlLD1Oz.js";
9
9
  import { b as P, m as c } from "./vuex.esm-DKGl8mcw.js";
10
- import V from "./AddClientCallout-BJzBdba1.js";
10
+ import V from "./AddClientCallout-Br6IhwGH.js";
11
11
  function _(n, e) {
12
12
  const t = new Date(n.getTime());
13
13
  return t.setDate(
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-BgzLHIoo.js";
1
+ import { n as s, c as o, e as c } from "./main-BL_yzf2r.js";
2
2
  const i = {
3
3
  name: "Setup",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { n as s, s as r } from "./main-BgzLHIoo.js";
1
+ import { n as s, s as r } from "./main-BL_yzf2r.js";
2
2
  const o = {
3
3
  name: "SmartList",
4
4
  props: {