@cling-se/widget 0.16.0 → 0.17.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 (128) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AddClientCallout-y-zhsVHD.js → AddClientCallout-TF4dWJwb.js} +4 -4
  3. package/dist/{AnswerModal-D_Xn8vYp.js → AnswerModal-CLHDa2TD.js} +218 -213
  4. package/dist/{AttachmentItem-B_QXPkQd.js → AttachmentItem-ICP5nbhT.js} +4 -4
  5. package/dist/{BaseDatePicker-9mWkLSes.js → BaseDatePicker-wwmiz_b5.js} +2 -2
  6. package/dist/{BaseUpload-BYr9ceyE.js → BaseUpload-CDZOjohX.js} +2 -2
  7. package/dist/{BlockMedia-B7df7mkZ.js → BlockMedia-D1JAYF9F.js} +1 -1
  8. package/dist/{CCallout-PpBctkYi.js → CCallout-dAjcZXrm.js} +1 -1
  9. package/dist/{CCurrencyDropdown-B4r3UK5p.js → CCurrencyDropdown-CKRgncWy.js} +3 -3
  10. package/dist/{CDropdownItem-D9qExYxr.js → CDropdownItem-CkSNbSdj.js} +1 -1
  11. package/dist/{CFormField-CAu3ko8B.js → CFormField-Dw6UM1u6.js} +1 -1
  12. package/dist/{CPhoneFormat-LZmpWJgi.js → CPhoneFormat-Bd-HZuYo.js} +1 -1
  13. package/dist/{CPhoneInput-ChuZrAQD.js → CPhoneInput-Dd6cJ4jg.js} +5 -5
  14. package/dist/{CPriceInput-COrol9j1.js → CPriceInput-CjV95s8E.js} +2 -2
  15. package/dist/{CSelect-kh9nf3qC.js → CSelect-izVnsQME.js} +1 -1
  16. package/dist/{CSkeleton-D_ixq6ml.js → CSkeleton-C0TjtLtY.js} +1 -1
  17. package/dist/{ClientAutocomplete-DHipi8vn.js → ClientAutocomplete-Cfu3abEx.js} +3 -3
  18. package/dist/{ClientModal-BowPWtr4.js → ClientModal-DjSoPQ9x.js} +7 -7
  19. package/dist/{ColorPicker-CzbXZiaY.js → ColorPicker-DZP6FIdn.js} +1 -1
  20. package/dist/{CompanyModal-B9YpDL-m.js → CompanyModal-BYQWdbhG.js} +6 -6
  21. package/dist/{ContentWrapper-DaZYO-TC.js → ContentWrapper-Bci9pSEp.js} +9 -10
  22. package/dist/{CoverBlockSettings-BVjSiXAC.js → CoverBlockSettings-wD55bj3k.js} +6 -6
  23. package/dist/{DocAnswer-D2wP2fWm.js → DocAnswer-B5q-ntKP.js} +2 -2
  24. package/dist/{DocDetails-BZ7Ra1DH.js → DocDetails-BQuaNZ4b.js} +4 -4
  25. package/dist/{DocForm-Bf9B4wgW.js → DocForm-QzZ5wqsS.js} +1052 -3339
  26. package/dist/{DocFormSend-CKgGNEXF.js → DocFormSend-CORtQPhb.js} +2 -2
  27. package/dist/{DocLinks-D62I0vCP.js → DocLinks-DZPzODUe.js} +2 -2
  28. package/dist/{DocModalBase-DPDXjuJL.js → DocModalBase-TTALjv6K.js} +1 -1
  29. package/dist/{DocPrint-RJ0CtTmm.js → DocPrint-BB-KT9ut.js} +1 -1
  30. package/dist/{DocReceipt-BibIkXtI.js → DocReceipt-CGks1GLS.js} +2 -2
  31. package/dist/{DocSendReminder-8mxaYS6a.js → DocSendReminder-BBQXJbsV.js} +1 -1
  32. package/dist/{DocTextEditor-CHSTTDb5.js → DocTextEditor-DFid7uKr.js} +8 -8
  33. package/dist/{DocTimeline-Pb2mDuSl.js → DocTimeline-4jnYDmBI.js} +2 -2
  34. package/dist/{DocumentClient-CBVMXCJk.js → DocumentClient-BAAX7Dxk.js} +5 -5
  35. package/dist/{DocumentLayout-C-wJE5eC.js → DocumentLayout-C4edCFmr.js} +7 -6
  36. package/dist/{DocumentLogotype-DweKx9A7.js → DocumentLogotype-i7YSQKcH.js} +4 -4
  37. package/dist/{DocumentVoided-yGVbvKRa.js → DocumentVoided-BvZoMFB_.js} +1 -1
  38. package/dist/{EmbedInput-Cjfd1wIG.js → EmbedInput-Bij7ER30.js} +3 -3
  39. package/dist/{EmbedSettings-CdKmydes.js → EmbedSettings-D0oyq4-9.js} +3 -3
  40. package/dist/{ErrorCallout-CcZpbmta.js → ErrorCallout-CsW3WTZp.js} +1 -1
  41. package/dist/{FilePreviewModal-Cud7184s.js → FilePreviewModal-Doaawg0l.js} +2 -2
  42. package/dist/{Flag-BNvniHuq.js → Flag-C4Mf2xUU.js} +1 -1
  43. package/dist/{HeaderSettings-BJsebJRd.js → HeaderSettings-DwZ54IsK.js} +21 -22
  44. package/dist/{ImageSelectModal-DLf_eWz1.js → ImageSelectModal-ClFJ5uXM.js} +3 -3
  45. package/dist/{ImageUploadWrapper-w5ZLifwQ.js → ImageUploadWrapper-DtEp_Pg3.js} +2 -2
  46. package/dist/{Index-CSpVwK6k.js → Index-2MwnGZ_4.js} +4 -4
  47. package/dist/{Index-CcPsAtze.js → Index-3CwdeytO.js} +5 -5
  48. package/dist/{Index-BMH-ouw7.js → Index-B-bSVOoh.js} +4 -4
  49. package/dist/{Index-D4-f7mTG.js → Index-BDyMp1ib.js} +7 -7
  50. package/dist/{Index-DY9Tntfh.js → Index-BMgtwHVA.js} +3 -3
  51. package/dist/{Index-VsRsMadr.js → Index-BTD3hWbY.js} +14 -17
  52. package/dist/{Index-uY0XMOKH.js → Index-BUbd06rz.js} +8 -8
  53. package/dist/{Index-DblXQyCy.js → Index-BWnh94_i.js} +2 -2
  54. package/dist/{Index-DYkN8zVO.js → Index-BdJbs8bM.js} +2 -2
  55. package/dist/{Index-C3yLVDgc.js → Index-Bv2XrpgK.js} +4 -4
  56. package/dist/{Index-BlJJ_Hyd.js → Index-BzcZCdHj.js} +2 -2
  57. package/dist/{Index-Cj7YINSC.js → Index-C00Ay-7P.js} +4 -4
  58. package/dist/{Index-Cf2bPdtB.js → Index-CHL_6WQH.js} +13 -17
  59. package/dist/{Index-BQLpCuiY.js → Index-CLyNrkJA.js} +1 -1
  60. package/dist/{Index-BKoxPM7Q.js → Index-CV57PvUE.js} +4 -4
  61. package/dist/{Index-B9C1WkCd.js → Index-CbYLDVU5.js} +3 -3
  62. package/dist/{Index-BDbonb6D.js → Index-Crj4apcP.js} +5 -5
  63. package/dist/{Index-B5iGQq9Y.js → Index-CryBgLTa.js} +7 -7
  64. package/dist/{Index-B83yprTa.js → Index-Cv33nreP.js} +4 -4
  65. package/dist/{Index-CiPhHgfu.js → Index-D0ErQJ2M.js} +33 -34
  66. package/dist/{Index-C-2vPFaj.js → Index-D8ZnVbsP.js} +4 -4
  67. package/dist/{Index-D_wcx3Of.js → Index-DPNIJewY.js} +4 -4
  68. package/dist/{Index-CRM1JC9P.js → Index-DVXhB0Ja.js} +4 -4
  69. package/dist/{Index-f9sVo8jx.js → Index-DWhQwxeB.js} +14 -18
  70. package/dist/{Index-DuO2f-vX.js → Index-DX7tomhl.js} +8 -8
  71. package/dist/{Index-BoHaA_xe.js → Index-D_AdmLWe.js} +13 -21
  72. package/dist/{Index-CF2U1V_D.js → Index-DgTQzlfK.js} +2 -2
  73. package/dist/{Index-BvvwWlpY.js → Index-DhapmO-4.js} +5 -5
  74. package/dist/{Index-DzR0bujJ.js → Index-DjC8joRt.js} +5 -5
  75. package/dist/{Index-P6z5RLSu.js → Index-Dv4l4LKF.js} +6 -6
  76. package/dist/{Index-BlFe_sVA.js → Index-EO0rsTmx.js} +49 -34
  77. package/dist/{Index-BDdcJgub.js → Index-TTFKPIIC.js} +28 -30
  78. package/dist/{Index-DwgpBl9r.js → Index-cT8oYfLR.js} +1 -1
  79. package/dist/{Index-0FsmqoRt.js → Index-igPwrQMu.js} +1 -1
  80. package/dist/{InputToggleRow-CJYPezZy.js → InputToggleRow-BgOubdXs.js} +1 -1
  81. package/dist/{ManualPopover-Cqoi2dQR.js → ManualPopover-8suun-i9.js} +1 -1
  82. package/dist/{MediaWrapper-5ArAcMau.js → MediaWrapper-BadblLbS.js} +3 -3
  83. package/dist/{NotBindingText-DdTbb3O4.js → NotBindingText-D8Blua5a.js} +2 -2
  84. package/dist/{PackageGroup-BTU_pglB.js → PackageGroup-BxmqH6qI.js} +6 -7
  85. package/dist/PdfTerms-C6MRk0Ix.js +31 -0
  86. package/dist/{PdfViewer-DG-MYtZa.js → PdfViewer-DUoiQx_1.js} +26 -17
  87. package/dist/{PlainHtml-SN-qLxLn.js → PlainHtml-DZ9V0Yuf.js} +1 -1
  88. package/dist/{PriceHeader-BWnpaBZ0.js → PriceHeader-C3_CoKrL.js} +11 -12
  89. package/dist/{SearchApi-BnxpIqz-.js → SearchApi-Bg9FwkW0.js} +29 -42
  90. package/dist/{SendForm-CrNnUYWp.js → SendForm-D-OvqCee.js} +11 -11
  91. package/dist/{Setup-BloDBZml.js → Setup-CwK4er2y.js} +1 -1
  92. package/dist/{SmartList-_z7XCf7a.js → SmartList-DofjZjfy.js} +1 -1
  93. package/dist/{TermsSettings-CtijshXK.js → TermsSettings-B4glHd0I.js} +5 -5
  94. package/dist/{ThemeColorRow-DThMA_v6.js → ThemeColorRow-BplIaxA2.js} +3 -3
  95. package/dist/{ToggleBinding-BXdn9i32.js → ToggleBinding-6ntt38Ye.js} +4 -4
  96. package/dist/{UploadModal-CMblLwJF.js → UploadModal-B6jQzsYA.js} +2 -2
  97. package/dist/{VideoPlayerInput-Dpan3me5.js → VideoPlayerInput-ryP77WC0.js} +4 -4
  98. package/dist/{VideoPlayerSettings-Dmmoz0nE.js → VideoPlayerSettings-DJh0JNRI.js} +2 -2
  99. package/dist/{VideoSelectModal-CrFgVTrD.js → VideoSelectModal-8udQ394X.js} +3 -3
  100. package/dist/{answerDocumentMixin-C13fhvoV.js → answerDocumentMixin-CF4J_vsp.js} +3 -3
  101. package/dist/{debounce-4B1-HP-3.js → debounce-CgyZi04Q.js} +1 -1
  102. package/dist/dom-Ds4ypDrd.js +72 -0
  103. package/dist/{focusDrawerMixin-CctNs3Uo.js → focusDrawerMixin-DVCJIsb_.js} +1 -1
  104. package/dist/{formDrawerState-DEg12QaL.js → formDrawerState-BYsq1pB0.js} +1 -1
  105. package/dist/{formValidationMixin-DXSTeLwK.js → formValidationMixin-Dq7aZhBk.js} +2 -2
  106. package/dist/{index-DfRihiRe.js → index-2Q8Ejpof.js} +7 -7
  107. package/dist/{index-4BD0nKeD.js → index-B5-izJkt.js} +1 -1
  108. package/dist/{index-CtLvzhen.js → index-BQb6k0M8.js} +6 -6
  109. package/dist/{index-BTvgCLOL.js → index-CR-KQfRE.js} +1 -1
  110. package/dist/{index-MnjQHyr1.js → index-CogHiXWx.js} +6 -6
  111. package/dist/{index-D7crCb7w.js → index-lZ1sSNWc.js} +1 -1
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +1074 -1074
  114. package/dist/{main-DK3JrX1P.js → main-BpqUyMpC.js} +4689 -4743
  115. package/dist/mapFormMixin-rxtAFyFK.js +3028 -0
  116. package/dist/{omit-CqikFKvF.js → omit-C7FeydiO.js} +1 -1
  117. package/dist/{publicSenderState-DtdMgn5v.js → publicSenderState-C4cIGu3m.js} +1 -1
  118. package/dist/{simplebar.min-BEjSOYoR.js → simplebar.min-Dm388s-3.js} +1 -1
  119. package/dist/style.css +2 -2
  120. package/dist/{throttle-Bbw-Wnk7.js → throttle-CfcsX8nA.js} +2 -2
  121. package/dist/{tippy.esm-DQb1IUux.js → tippy.esm-C9mV-Rzr.js} +5 -5
  122. package/dist/{utils-DSw9IgIG.js → utils-CMs9ODO8.js} +1 -1
  123. package/dist/{vuedraggable.umd-kqbjGStS.js → vuedraggable.umd-CChGnToh.js} +1 -1
  124. package/package.json +1 -1
  125. package/dist/PdfTerms-CltyFwWM.js +0 -31
  126. package/dist/dom-CJxkno7i.js +0 -91
  127. package/dist/mapFormMixin-_bBfKoX9.js +0 -72
  128. package/dist/tinycolor-DxfarVSt.js +0 -633
@@ -1,7 +1,7 @@
1
- import { g as u, p as h, f, i as d, n as m } from "./main-DK3JrX1P.js";
2
- import { d as p } from "./debounce-4B1-HP-3.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-BpqUyMpC.js";
2
+ import { d } from "./debounce-CgyZi04Q.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-_bBfKoX9.js";
2
- import { I as S, a as w } from "./index-MnjQHyr1.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-DK3JrX1P.js";
4
- import { B as f } from "./BaseDatePicker-9mWkLSes.js";
5
- import { C as h, a as y, b as F } from "./CDropdownItem-D9qExYxr.js";
6
- import { E as A } from "./ErrorCallout-CcZpbmta.js";
7
- import { C as O, a as I } from "./ClientModal-BowPWtr4.js";
8
- import { s as B } from "./simplebar.min-BEjSOYoR.js";
1
+ import { m as d } from "./mapFormMixin-rxtAFyFK.js";
2
+ import { I as S, a as w } from "./index-CogHiXWx.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-BpqUyMpC.js";
4
+ import { B as f } from "./BaseDatePicker-wwmiz_b5.js";
5
+ import { C as h, a as y, b as F } from "./CDropdownItem-CkSNbSdj.js";
6
+ import { E as A } from "./ErrorCallout-CsW3WTZp.js";
7
+ import { C as O, a as I } from "./ClientModal-DjSoPQ9x.js";
8
+ import { s as B } from "./simplebar.min-Dm388s-3.js";
9
9
  import { b as P, m as c } from "./vuex.esm-DKGl8mcw.js";
10
- import V from "./AddClientCallout-y-zhsVHD.js";
10
+ import V from "./AddClientCallout-TF4dWJwb.js";
11
11
  function _(n, e) {
12
12
  const t = new Date(n.getTime());
13
13
  return t.setDate(
@@ -974,7 +974,7 @@ var ve = function() {
974
974
  e.setDeliveryMethod("sms", !1), e.setDeliveryMethod("email", !1), e._document.setDirty("isManualDelivery");
975
975
  } } }) : e._e()], 1), !e.useSignOrder && !e.isManualDelivery ? t("div", { staticClass: "psuedo-input relative", attrs: { tabindex: "0" }, on: { click: e.openReminders } }, [t("div", { staticClass: "psuedo-input-label" }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), t("div", [e._v(" " + e._s(e.noOfReminders ? `${e.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()) + " ")]), e.noOfReminders ? t("CButton", { staticClass: "absolute right-3 top-3", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(r) {
976
976
  r.preventDefault(), r.stopPropagation(), e.reminders = [];
977
- } } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || (a = e.$v.isManualDelivery) != null && a.$invalid ? t("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), t("div", { staticClass: "@md:px-8 @xl:px-16 px-4 pb-4" }, [e._t("send", function() {
977
+ } } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || (a = e.$v.isManualDelivery) != null && a.$invalid ? t("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), t("div", { staticClass: "@md:px-8 @xl:px-16 px-4 pb-4" }, [e._t("send-header"), e._t("send", function() {
978
978
  return [t("IsPremiumPreStep", { attrs: { feature: "bankIdAndSms" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: r }) {
979
979
  return [t("div", { staticClass: "flex" }, [e.showSave ? t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("_common:save", {
980
980
  thing: e.$t("_common:document").toLowerCase()
@@ -1015,7 +1015,7 @@ var ve = function() {
1015
1015
  ge,
1016
1016
  !1,
1017
1017
  null,
1018
- "4c23b1ab"
1018
+ "7df6da42"
1019
1019
  );
1020
1020
  const De = fe.exports;
1021
1021
  export {
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-DK3JrX1P.js";
1
+ import { n as s, c as o, e as c } from "./main-BpqUyMpC.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-DK3JrX1P.js";
1
+ import { n as s, s as r } from "./main-BpqUyMpC.js";
2
2
  const o = {
3
3
  name: "SmartList",
4
4
  props: {
@@ -1,8 +1,8 @@
1
- import { f as m, N as o, n as v } from "./main-DK3JrX1P.js";
2
- import { m as c } from "./mapFormMixin-_bBfKoX9.js";
3
- import { C as g } from "./CCallout-PpBctkYi.js";
4
- import { C as p, a as u } from "./CDropdownItem-D9qExYxr.js";
5
- import f from "./Index-P6z5RLSu.js";
1
+ import { f as m, N as o, n as v } from "./main-BpqUyMpC.js";
2
+ import { m as c } from "./mapFormMixin-rxtAFyFK.js";
3
+ import { C as g } from "./CCallout-dAjcZXrm.js";
4
+ import { C as p, a as u } from "./CDropdownItem-CkSNbSdj.js";
5
+ import f from "./Index-Dv4l4LKF.js";
6
6
  const h = {
7
7
  i18nOptions: {
8
8
  namespaces: "terms",
@@ -1,7 +1,7 @@
1
- import { C as n } from "./ColorPicker-CzbXZiaY.js";
2
- import { M as s } from "./ManualPopover-Cqoi2dQR.js";
1
+ import { C as n } from "./ColorPicker-DZP6FIdn.js";
2
+ import { M as s } from "./ManualPopover-8suun-i9.js";
3
3
  import { h as a } from "./color-TdtKxwVa.js";
4
- import { n as i } from "./main-DK3JrX1P.js";
4
+ import { n as i } from "./main-BpqUyMpC.js";
5
5
  const l = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -1,7 +1,7 @@
1
- import { m as i } from "./mapFormMixin-_bBfKoX9.js";
2
- import { I as t } from "./InputToggleRow-CJYPezZy.js";
3
- import { b as s } from "./CDropdownItem-D9qExYxr.js";
4
- import { n as a } from "./main-DK3JrX1P.js";
1
+ import { m as i } from "./mapFormMixin-rxtAFyFK.js";
2
+ import { I as t } from "./InputToggleRow-BgOubdXs.js";
3
+ import { b as s } from "./CDropdownItem-CkSNbSdj.js";
4
+ import { n as a } from "./main-BpqUyMpC.js";
5
5
  const r = {
6
6
  name: "ToggleBinding",
7
7
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import { f as l, h as o, O as c, n as d } from "./main-DK3JrX1P.js";
2
- import m from "./Index-CF2U1V_D.js";
1
+ import { f as l, h as o, O as c, n as d } from "./main-BpqUyMpC.js";
2
+ import m from "./Index-DgTQzlfK.js";
3
3
  import { m as p } from "./vuex.esm-DKGl8mcw.js";
4
4
  const u = {
5
5
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import { C as a } from "./CFormField-CAu3ko8B.js";
2
- import { d as l } from "./debounce-4B1-HP-3.js";
3
- import { v as r } from "./utils-DSw9IgIG.js";
4
- import { n } from "./main-DK3JrX1P.js";
1
+ import { C as a } from "./CFormField-Dw6UM1u6.js";
2
+ import { d as l } from "./debounce-CgyZi04Q.js";
3
+ import { v as r } from "./utils-CMs9ODO8.js";
4
+ import { n } from "./main-BpqUyMpC.js";
5
5
  const o = {
6
6
  name: "VideoPlayerInput",
7
7
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import n from "./VideoPlayerInput-Dpan3me5.js";
2
- import { n as s } from "./main-DK3JrX1P.js";
1
+ import n from "./VideoPlayerInput-ryP77WC0.js";
2
+ import { n as s } from "./main-BpqUyMpC.js";
3
3
  const l = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -1,6 +1,6 @@
1
- import h from "./VideoPlayerInput-Dpan3me5.js";
2
- import { B as v, a as g } from "./index-DfRihiRe.js";
3
- import { c as y, n as x, q as _ } from "./main-DK3JrX1P.js";
1
+ import h from "./VideoPlayerInput-ryP77WC0.js";
2
+ import { B as v, a as g } from "./index-2Q8Ejpof.js";
3
+ import { c as y, n as x, q as _ } from "./main-BpqUyMpC.js";
4
4
  const V = y.pexels.id, w = {
5
5
  name: "VideoSelectModal",
6
6
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import { w as a } from "./CDropdownItem-D9qExYxr.js";
2
- import { b as r } from "./main-DK3JrX1P.js";
1
+ import { w as a } from "./CDropdownItem-CkSNbSdj.js";
2
+ import { b as r } from "./main-BpqUyMpC.js";
3
3
  const m = ({ documentKey: s = "document" } = {}) => ({
4
4
  mixins: [a],
5
5
  inject: {
@@ -23,7 +23,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
23
23
  const e = r(this, s);
24
24
  if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
25
25
  return;
26
- const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-D_Xn8vYp.js");
26
+ const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-CLHDa2TD.js");
27
27
  this.$modal.show(
28
28
  n,
29
29
  {
@@ -1,4 +1,4 @@
1
- import { af as C, o as O, ag as j, l as A } from "./main-DK3JrX1P.js";
1
+ import { af as C, o as O, ag as j, l as A } from "./main-BpqUyMpC.js";
2
2
  var L = C, M = function() {
3
3
  return L.Date.now();
4
4
  }, B = M, F = /\s/;
@@ -0,0 +1,72 @@
1
+ const l = {}, f = {};
2
+ function p(t) {
3
+ if (f[t])
4
+ return;
5
+ if (l[t])
6
+ return l[t];
7
+ const o = new Promise((e, s) => {
8
+ const n = document.createElement("script");
9
+ t.endsWith(".mjs") && (n.type = "module");
10
+ const i = window.setTimeout(() => {
11
+ l[t] = null, s(new Error(`Failed to load ${t} in 20s`));
12
+ }, 2e4);
13
+ n.onload = (a) => {
14
+ i && window.clearTimeout(i), f[t] = !0, l[t] = null, e();
15
+ }, n.onerror = (a) => {
16
+ i && window.clearTimeout(i), l[t] = null, s(a);
17
+ }, n.src = t, document.body.appendChild(n);
18
+ });
19
+ return l[t] = o, o;
20
+ }
21
+ function w(t) {
22
+ const o = t.getBoundingClientRect(), e = window.innerHeight || document.documentElement.clientHeight, s = window.innerWidth || document.documentElement.clientWidth, n = o.top <= e && o.top + o.height >= 0, i = o.left <= s && o.left + o.width >= 0;
23
+ return n && i;
24
+ }
25
+ const u = (t) => {
26
+ const o = /(auto|scroll)/, e = (r, c) => r.parentNode === null ? c : e(r.parentNode, c.concat([r])), s = (r, c) => getComputedStyle(r, null).getPropertyValue(c), n = (r) => s(r, "overflow") + s(r, "overflow-y") + s(r, "overflow-x"), i = (r) => o.test(n(r));
27
+ return ((r) => {
28
+ if (!(r instanceof HTMLElement || r instanceof SVGElement))
29
+ return null;
30
+ const c = e(r.parentNode, []);
31
+ for (let d = 0; d < c.length; d += 1)
32
+ if (i(c[d]))
33
+ return c[d];
34
+ return document.scrollingElement || document.documentElement;
35
+ })(t);
36
+ }, m = (t) => {
37
+ let o = 0;
38
+ for (; t; )
39
+ o += t.offsetTop, t = t.offsetParent;
40
+ return o;
41
+ };
42
+ function h(t, o) {
43
+ let e = t;
44
+ if (typeof e == "string" && (e = document.querySelector(e)), !u(e))
45
+ return;
46
+ const n = {
47
+ offset: 0,
48
+ behavior: "smooth",
49
+ body: u(e),
50
+ // custom option used for choosing parent scroll element
51
+ ...o
52
+ }, i = m(e);
53
+ HTMLElement.prototype.scrollTo ? n.body.scrollTo({
54
+ behavior: n.behavior,
55
+ top: i - n.offset
56
+ }) : n.body.scrollTop = i - n.offset;
57
+ }
58
+ const g = (t) => {
59
+ var s;
60
+ const o = (s = t == null ? void 0 : t.getRootNode) == null ? void 0 : s.call(t), e = (o == null ? void 0 : o.toString()) === "[object ShadowRoot]";
61
+ return {
62
+ isShadow: e,
63
+ el: e ? o : document
64
+ };
65
+ };
66
+ export {
67
+ u as a,
68
+ p as e,
69
+ g,
70
+ w as i,
71
+ h as s
72
+ };
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-DEg12QaL.js";
1
+ import { s as o } from "./formDrawerState-BYsq1pB0.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-DK3JrX1P.js";
1
+ import { V as s } from "./main-BpqUyMpC.js";
2
2
  const e = s.observable({
3
3
  isFixed: !1,
4
4
  // Worded according to CSS property (show as fixed drawer)
@@ -1,5 +1,5 @@
1
- import { h as n } from "./main-DK3JrX1P.js";
2
- import { s as l } from "./dom-CJxkno7i.js";
1
+ import { h as n } from "./main-BpqUyMpC.js";
2
+ import { s as l } from "./dom-Ds4ypDrd.js";
3
3
  const s = (r) => {
4
4
  var i;
5
5
  const t = [];
@@ -1,10 +1,10 @@
1
- import { F as n } from "./Flag-BNvniHuq.js";
2
- import { w as o } from "./CDropdownItem-D9qExYxr.js";
3
- import { n as a } from "./main-DK3JrX1P.js";
4
- import { i as c } from "./dom-CJxkno7i.js";
5
- import { d } from "./debounce-4B1-HP-3.js";
6
- import { t as u } from "./throttle-Bbw-Wnk7.js";
7
- import { s as m } from "./simplebar.min-BEjSOYoR.js";
1
+ import { F as n } from "./Flag-C4Mf2xUU.js";
2
+ import { w as o } from "./CDropdownItem-CkSNbSdj.js";
3
+ import { n as a } from "./main-BpqUyMpC.js";
4
+ import { i as c } from "./dom-Ds4ypDrd.js";
5
+ import { d } from "./debounce-CgyZi04Q.js";
6
+ import { t as u } from "./throttle-CfcsX8nA.js";
7
+ import { s as m } from "./simplebar.min-Dm388s-3.js";
8
8
  const f = {
9
9
  name: "BackgroundsModalList",
10
10
  i18nOptions: {
@@ -1,4 +1,4 @@
1
- import { g as s, U as l, W as r, n as d, V as n } from "./main-DK3JrX1P.js";
1
+ import { g as s, U as l, W as r, n as d, V as n } from "./main-BpqUyMpC.js";
2
2
  import { m as p, a as c } from "./vuex.esm-DKGl8mcw.js";
3
3
  const m = {
4
4
  name: "ClientLinks",
@@ -1,10 +1,10 @@
1
- import { w as m } from "./CDropdownItem-D9qExYxr.js";
2
- import { n as o, M as f, S as v, g as i, h as l } from "./main-DK3JrX1P.js";
1
+ import { w as m } from "./CDropdownItem-CkSNbSdj.js";
2
+ import { n as o, M as f, S as v, g as i, h as l } from "./main-BpqUyMpC.js";
3
3
  import { m as h, a as d, b as _ } from "./vuex.esm-DKGl8mcw.js";
4
- import { C as g } from "./CFormField-CAu3ko8B.js";
5
- import { B as u } from "./DocTextEditor-CHSTTDb5.js";
6
- import { v as r } from "./index-D7crCb7w.js";
7
- import { S as x } from "./SmartList-_z7XCf7a.js";
4
+ import { C as g } from "./CFormField-Dw6UM1u6.js";
5
+ import { B as u } from "./DocTextEditor-DFid7uKr.js";
6
+ import { v as r } from "./index-lZ1sSNWc.js";
7
+ import { S as x } from "./SmartList-DofjZjfy.js";
8
8
  const C = {
9
9
  mixins: [m],
10
10
  props: {
@@ -1,4 +1,4 @@
1
- import { n as i, L as n } from "./main-DK3JrX1P.js";
1
+ import { n as i, L as n } from "./main-BpqUyMpC.js";
2
2
  const o = {
3
3
  name: "DocumentGuide",
4
4
  i18nOptions: {
@@ -1,12 +1,12 @@
1
- import { n as d, bo as F, b as v, be as I, bp as J, bq as K, br as X, bs as tt, V as B, bt as et, $ as L, bu as rt, c as h, t as at, D as P, d as y, bv as nt, g as m, bw as b, L as x, v as it, bx as st, by as ot, bz as lt, bA as D, p as ct, h as H, I as E, bB as R, W as ut, bC as dt, aG as mt } from "./main-DK3JrX1P.js";
1
+ import { n as d, bp as F, b as v, bf as I, bq as J, br as K, bs as X, bt as tt, V as B, bu as et, $ as L, bv as rt, c as h, t as at, D as P, d as y, bw as nt, g as m, bx as b, L as x, v as it, by as st, bz as ot, bA as lt, bB as D, p as ct, h as H, I as E, bC as R, W as ut, bD as dt, aH as mt } from "./main-BpqUyMpC.js";
2
2
  import { m as C, a as $, b as pt } from "./vuex.esm-DKGl8mcw.js";
3
3
  import { a as u } from "./anime.es-BrPTThYb.js";
4
- import { C as ft } from "./CFormField-CAu3ko8B.js";
5
- import { C as ht } from "./CSelect-kh9nf3qC.js";
6
- import { b as gt } from "./CDropdownItem-D9qExYxr.js";
4
+ import { C as ft } from "./CFormField-Dw6UM1u6.js";
5
+ import { C as ht } from "./CSelect-izVnsQME.js";
6
+ import { b as gt } from "./CDropdownItem-CkSNbSdj.js";
7
7
  import { r as S } from "./regions-BdZt9Srn.js";
8
- import { v as _ } from "./index-D7crCb7w.js";
9
- import { a as yt } from "./dom-CJxkno7i.js";
8
+ import { v as _ } from "./index-lZ1sSNWc.js";
9
+ import { a as yt } from "./dom-Ds4ypDrd.js";
10
10
  const vt = {
11
11
  props: {
12
12
  defaultOpen: {
@@ -1,4 +1,4 @@
1
- import { ad as T } from "./main-DK3JrX1P.js";
1
+ import { ad as T } from "./main-BpqUyMpC.js";
2
2
  var pe = {}, P = {}, f = {}, b = {}, O = {};
3
3
  Object.defineProperty(O, "__esModule", {
4
4
  value: !0