@cling-se/widget 0.15.2 → 0.15.5

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 (137) hide show
  1. package/README.md +43 -43
  2. package/dist/{AddClientCallout-CSxN7XFh.js → AddClientCallout-CrZF5j7A.js} +15 -13
  3. package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-C3r9vyki.js} +71 -71
  4. package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BVXrxCnv.js} +20 -13
  5. package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-DxL2l3QC.js} +561 -557
  6. package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-B7259IaQ.js} +3 -3
  7. package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-BSKtZMwa.js} +2 -2
  8. package/dist/{CCallout-_k7FPbsE.js → CCallout-BNvM6gNJ.js} +4 -5
  9. package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-xmqmb8gW.js} +24 -20
  10. package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-DiLisSei.js} +139 -37
  11. package/dist/{CFormField-BjGICSv5.js → CFormField-DcZVdj3a.js} +3 -4
  12. package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-BeYxRN0i.js} +1 -1
  13. package/dist/CPhoneInput-UzZkxbC6.js +138 -0
  14. package/dist/{CPriceInput-myrETXfz.js → CPriceInput-C2y_3PM7.js} +20 -16
  15. package/dist/CSelect-BmP1UsQA.js +91 -0
  16. package/dist/CSkeleton-BNbft-NE.js +55 -0
  17. package/dist/ClientAutocomplete-BnredOme.js +438 -0
  18. package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DNcf4APF.js} +92 -51
  19. package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-BupC4jvI.js} +2 -2
  20. package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Bh8mEHE1.js} +25 -19
  21. package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-Bs3nrJda.js} +63 -55
  22. package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
  23. package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer--FfsnnTB.js} +2 -2
  24. package/dist/{DocDetails-C9EEpNg2.js → DocDetails-Ce7bj-qO.js} +43 -39
  25. package/dist/{DocForm-Dww8Ust9.js → DocForm-FR_Vlq_C.js} +801 -755
  26. package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-DcSv3JNg.js} +18 -15
  27. package/dist/{DocLinks-DFUO03dk.js → DocLinks-Bvhc62aJ.js} +2 -2
  28. package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-DkfUBRi3.js} +2 -2
  29. package/dist/{DocPrint--T278pDE.js → DocPrint-BrKY6rOy.js} +3 -3
  30. package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-oGrM6t_k.js} +29 -22
  31. package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-veEC_yHK.js} +19 -16
  32. package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-CNRwxPEx.js} +72 -70
  33. package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-e2Xf_QZ7.js} +38 -34
  34. package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-Dx4Uyxkh.js} +5 -5
  35. package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-DmjmsTcx.js} +1506 -1538
  36. package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-ddYHM9wn.js} +25 -20
  37. package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-WCk7XuxH.js} +1 -1
  38. package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-CMueXdFs.js} +25 -21
  39. package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BRuLCWr0.js} +13 -11
  40. package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CDtZceLU.js} +6 -6
  41. package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-BzAUuY58.js} +3 -3
  42. package/dist/Flag-DkJgyDQK.js +46 -0
  43. package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-CoKK5Mbt.js} +159 -110
  44. package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-De64vGSr.js} +15 -13
  45. package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
  46. package/dist/{Index-DS1PwlDq.js → Index-50KxppUS.js} +4 -4
  47. package/dist/{Index-DJeZiYxr.js → Index-B7vVIRFn.js} +7 -7
  48. package/dist/{Index-ivhPuQy5.js → Index-BUQ75xOU.js} +6 -6
  49. package/dist/{Index-BUEXgHEE.js → Index-BVKCCkQY.js} +57 -50
  50. package/dist/{Index-BBTn35Kj.js → Index-BiGT3iEX.js} +21 -17
  51. package/dist/{Index-B-UWz1IM.js → Index-BoDKKVvL.js} +4 -4
  52. package/dist/{Index-DrSgVUyo.js → Index-BotY9nbP.js} +2 -2
  53. package/dist/{Index-B-YqdbQX.js → Index-BwaJW9CY.js} +3 -3
  54. package/dist/{Index-BepvyGqo.js → Index-ByqCyUgx.js} +9 -9
  55. package/dist/{Index-Bsv15ctO.js → Index-C7pge7E9.js} +23 -21
  56. package/dist/{Index-CEaZgZqg.js → Index-CBRJ-AZi.js} +2 -2
  57. package/dist/{Index-GrrsUUz1.js → Index-CFQMtx5w.js} +5 -5
  58. package/dist/{Index-CtQo0b8t.js → Index-CJKyHWiO.js} +15 -15
  59. package/dist/{Index-Dv1fkHWQ.js → Index-CK_5l1kP.js} +2 -2
  60. package/dist/{Index-BVt3pj58.js → Index-CLc_11Bc.js} +276 -232
  61. package/dist/{Index-cPIqnY80.js → Index-CTokKHJA.js} +5 -5
  62. package/dist/Index-Cf45UGbc.js +28 -0
  63. package/dist/{Index-B51tj7qY.js → Index-CfLPq-yA.js} +5 -5
  64. package/dist/{Index-B_ta4yT_.js → Index-Ci7y3O0G.js} +7 -7
  65. package/dist/{Index-ZKkQzVOj.js → Index-CmV8oF4Q.js} +4 -4
  66. package/dist/{Index-C6tGNKAk.js → Index-CoRuYEYW.js} +5 -5
  67. package/dist/Index-CtKNyVUB.js +56 -0
  68. package/dist/{Index-rL3fz1Ew.js → Index-DCf6_Zd2.js} +2 -2
  69. package/dist/{Index-CEHhYmLe.js → Index-DGdlZzVO.js} +7 -7
  70. package/dist/{Index-B5XaBVyJ.js → Index-DbKB8sTh.js} +18 -12
  71. package/dist/{Index-9PMrT3eB.js → Index-DgBOq2MJ.js} +3 -3
  72. package/dist/{Index-BBOJRRgx.js → Index-DvNxOHHu.js} +6 -6
  73. package/dist/{Index-DS7xellB.js → Index-M2Mce2_m.js} +124 -123
  74. package/dist/{Index-2PGn8Pnv.js → Index-QMkjG7hk.js} +4 -4
  75. package/dist/{Index-oKRUWCcJ.js → Index-QmX5pv-V.js} +17 -15
  76. package/dist/{Index-0aZtDWyk.js → Index-h5xDFYM9.js} +4 -4
  77. package/dist/{Index-CtZMlBfK.js → Index-hkGYloih.js} +5 -5
  78. package/dist/{Index-DK3b6Cv-.js → Index-q3gLm4b1.js} +6 -6
  79. package/dist/{Index-BQ3kapHk.js → Index-sqI1TF7Z.js} +2 -2
  80. package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-DLFIMIdx.js} +2 -2
  81. package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-Cf8DotlW.js} +13 -11
  82. package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-BgWmA3kS.js} +3 -3
  83. package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-DhsHxvkX.js} +2 -2
  84. package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-EbOSxv69.js} +26 -20
  85. package/dist/PdfTerms-im6uTd5E.js +31 -0
  86. package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-DY0rcZjo.js} +22 -22
  87. package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-o031pfp-.js} +1 -1
  88. package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-NdFa0Sqs.js} +15 -15
  89. package/dist/{SearchApi-knNqVduO.js → SearchApi-Bw5E9IPj.js} +2 -2
  90. package/dist/SendForm-BDY5VDkS.js +1023 -0
  91. package/dist/{Setup-7HIAWuiK.js → Setup-BsYqPmOm.js} +1 -1
  92. package/dist/{SmartList-cSmGbybV.js → SmartList-CP2wHig-.js} +1 -1
  93. package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-CUlSayCJ.js} +20 -13
  94. package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-D3fav4Sl.js} +14 -12
  95. package/dist/ToggleBinding-B715OVl2.js +42 -0
  96. package/dist/{UploadModal-CvoSMExA.js → UploadModal-THDJ-UNp.js} +6 -6
  97. package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
  98. package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
  99. package/dist/VideoSelectModal-CzO8EMg9.js +104 -0
  100. package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-D12xJRhx.js} +3 -3
  101. package/dist/{debounce-B2lqFJg2.js → debounce-DLiv1sQX.js} +16 -16
  102. package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-khaScuSu.js} +1 -1
  103. package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-CJ6kjaD_.js} +1 -1
  104. package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Bri1WflH.js} +1 -1
  105. package/dist/{index-Dk6sZCYv.js → index-B0Zu30kF.js} +2 -2
  106. package/dist/{index-twnaU4rC.js → index-C1Ngv-v3.js} +1 -1
  107. package/dist/{index-BCrDgR_4.js → index-CMT3coT-.js} +785 -2001
  108. package/dist/{index-H1Kx9sJM.js → index-DJOUQneq.js} +42 -38
  109. package/dist/{index-BaGtbWcA.js → index-DLa3QER7.js} +18 -17
  110. package/dist/{index-kV9OZ5y0.js → index-Dygy9XlG.js} +1 -1
  111. package/dist/index.es.js +10 -10
  112. package/dist/index.umd.js +179 -175
  113. package/dist/{main-CerYX9PA.js → main-U22_wtg0.js} +13008 -11358
  114. package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-BZf4RJIE.js} +1 -1
  115. package/dist/omit-RBXmF_Fo.js +31 -0
  116. package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-DKuvxj4_.js} +1 -1
  117. package/dist/regions-BdZt9Srn.js +1250 -0
  118. package/dist/simplebar.min-Bnrne5ZK.js +71 -0
  119. package/dist/style.css +2 -2
  120. package/dist/{throttle-B8hI9bkk.js → throttle-Fkuqk26x.js} +2 -2
  121. package/dist/{tinycolor-BaK26Ky-.js → tinycolor-BZ8wGctU.js} +1 -1
  122. package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-BJe845c1.js} +246 -240
  123. package/dist/{utils-Pmm0DT8o.js → utils-BOWVR87A.js} +1 -1
  124. package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
  125. package/package.json +2 -11
  126. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
  127. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
  128. package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
  129. package/dist/CoverBlockSettings-7Ivt9zN0.js +0 -275
  130. package/dist/Flag-CwnrA4SV.js +0 -114
  131. package/dist/Index-B0pgh8nR.js +0 -21
  132. package/dist/Index-Ccx9wHcb.js +0 -52
  133. package/dist/PdfTerms-ChtDfzne.js +0 -36
  134. package/dist/ToggleBinding-CTTYdrkp.js +0 -38
  135. package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
  136. package/dist/formComponentsInstall-CdjgjI6y.js +0 -2495
  137. package/dist/omit-DGBewD2h.js +0 -31
@@ -1,11 +1,13 @@
1
- import { m as x } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { T as w } from "./ThemeColorRow-DxcMvBGq.js";
3
- import C from "./VideoPlayerInput-X5baUH3q.js";
4
- import _ from "./ImageUploadWrapper-BaLjUZF5.js";
5
- import { B as k, a as b } from "./index-BaGtbWcA.js";
6
- import { c as v, n as y, o as d, J as S } from "./main-CerYX9PA.js";
7
- import { t as A } from "./tinycolor-BaK26Ky-.js";
8
- const g = v.unsplash.id, L = v.pexels.id, z = {
1
+ import { m as x } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { T as _ } from "./ThemeColorRow-D3fav4Sl.js";
3
+ import C from "./VideoPlayerInput-Cm3KoRnR.js";
4
+ import w from "./ImageUploadWrapper-CE6KTze0.js";
5
+ import { B as k, a as b } from "./index-DLa3QER7.js";
6
+ import { c as y, n as u, q as d, P as S, k as V, ai as A } from "./main-U22_wtg0.js";
7
+ import { C as L } from "./CFormField-DcZVdj3a.js";
8
+ import { b as z } from "./CDropdownItem-DiLisSei.js";
9
+ import { t as $ } from "./tinycolor-BZ8wGctU.js";
10
+ const v = y.unsplash.id, I = y.pexels.id, B = {
9
11
  name: "MediaSelectModal",
10
12
  i18nOptions: {
11
13
  namespaces: "mediaSelectModal",
@@ -28,7 +30,7 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
28
30
  BackgroundModal: k,
29
31
  BackgroundList: b,
30
32
  VideoPlayerInput: C,
31
- ImageUploadWrapper: _
33
+ ImageUploadWrapper: w
32
34
  },
33
35
  props: {
34
36
  currentType: {
@@ -77,117 +79,164 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
77
79
  this.currentType === "video" && (this.activeTab = "pexels");
78
80
  },
79
81
  methods: {
80
- async fetchImage({ query: i, page: t }) {
82
+ async fetchImage({ query: o, page: t }) {
81
83
  const { data: e } = await d.get(
82
84
  "https://api.unsplash.com/search/photos",
83
85
  {
84
86
  params: {
85
87
  page: t,
86
88
  per_page: 12,
87
- client_id: g,
88
- query: i
89
+ client_id: v,
90
+ query: o
89
91
  }
90
92
  }
91
93
  );
92
94
  return {
93
- items: (e.results || []).map((o) => ({
94
- ...o,
95
- image: o.urls.regular,
96
- minImage: o.urls.thumb
95
+ items: (e.results || []).map((i) => ({
96
+ ...i,
97
+ image: i.urls.regular,
98
+ minImage: i.urls.thumb
97
99
  })),
98
100
  total: e.total
99
101
  };
100
102
  },
101
- async fetchVideo({ query: i, page: t }) {
103
+ async fetchVideo({ query: o, page: t }) {
102
104
  const { data: e } = await d.get("https://api.pexels.com/videos/search", {
103
105
  headers: {
104
- Authorization: L
106
+ Authorization: I
105
107
  },
106
108
  params: {
107
109
  page: t,
108
110
  per_page: 12,
109
- query: i
111
+ query: o
110
112
  }
111
- }), o = (s, a) => s.height < a.height || s.width < a.width ? -1 : 1, r = (s) => (s.find(({ height: a }) => a > 1e3 && a < 1200) || {}).link;
113
+ }), i = (s, a) => s.height < a.height || s.width < a.width ? -1 : 1, r = (s) => (s.find(({ height: a }) => a > 1e3 && a < 1200) || {}).link;
112
114
  return {
113
115
  items: (e.videos || []).map(
114
- ({ id: s, image: a, video_files: u = [], user: m }) => {
115
- const { sd: h, hd: p } = (u || []).sort(o).reduce(
116
- (n, l) => (n[l.quality] && l.link && n[l.quality].push(l.link), n),
116
+ ({ id: s, image: a, video_files: m = [], user: h }) => {
117
+ const { sd: p, hd: g } = (m || []).sort(i).reduce(
118
+ (c, l) => (c[l.quality] && l.link && c[l.quality].push(l.link), c),
117
119
  { sd: [], hd: [] }
118
- ), [f] = h;
119
- let c = r(u);
120
- return c || ([c] = p.length ? p : h.slice(-1)), {
120
+ ), [f] = p;
121
+ let n = r(m);
122
+ return n || ([n] = g.length ? g : p.slice(-1)), {
121
123
  id: `${s}`,
122
124
  image: a,
123
125
  minImage: a,
124
- video: c,
126
+ video: n,
125
127
  minVideo: f,
126
- userName: m.name,
127
- userLink: m.link
128
+ userName: h.name,
129
+ userLink: h.link
128
130
  };
129
131
  }
130
132
  ),
131
133
  total: e.total_results
132
134
  };
133
135
  },
134
- selectImage({ image: i, links: t, color: e }) {
135
- this.selectedImage = S(i, { w: 1800 }), e && (this.preferredColor = e);
136
- const o = new Image();
137
- o.src = this.selectedImage, d.get(t.download_location, {
136
+ selectImage({ image: o, links: t, color: e }) {
137
+ this.selectedImage = S(o, { w: 1800 }), e && (this.preferredColor = e);
138
+ const i = new Image();
139
+ i.src = this.selectedImage, d.get(t.download_location, {
138
140
  params: {
139
- client_id: g
141
+ client_id: v
140
142
  }
141
143
  });
142
144
  },
143
- setCustomBackground({ response: i }) {
144
- this.customImage = i.url;
145
+ setCustomBackground({ response: o }) {
146
+ this.customImage = o.url;
145
147
  },
146
- selectVideo({ id: i, image: t, video: e }) {
148
+ selectVideo({ id: o, image: t, video: e }) {
147
149
  this.selectedVideo = {
148
- id: i,
150
+ id: o,
149
151
  url: e,
150
152
  thumbnail: t,
151
153
  provider: "pexels"
152
154
  };
153
155
  },
154
156
  onSave() {
155
- let i;
156
- this.isImage ? i = {
157
+ let o;
158
+ this.isImage ? o = {
157
159
  type: "image",
158
160
  value: this.activeTab === "unsplash" ? this.selectedImage : this.customImage
159
- } : i = {
161
+ } : o = {
160
162
  type: "video",
161
163
  value: this.activeTab === "pexels" ? this.selectedVideo : this.customVideo
162
- }, this.preferredColor && (i.preferredColor = this.preferredColor), this.$emit("input", i), this.$parent && this.$parent.$emit("input", i), this.$emit("close");
164
+ }, this.preferredColor && (o.preferredColor = this.preferredColor), this.$emit("input", o), this.$parent && this.$parent.$emit("input", o), this.$emit("close");
163
165
  }
164
166
  }
165
167
  };
166
- var I = function() {
168
+ var M = function() {
167
169
  var t = this, e = t._self._c;
168
- return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o, r) {
169
- return e("CButton", { key: r, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(s) {
170
- t.activeTab = o.value;
171
- } } }, [e("span", { staticClass: "inline-flex items-center justify-center" }, [e("div", { domProps: { innerHTML: t._s(o.icon) } }), e("span", { staticClass: "max-md:!hidden" }, [t._v(t._s(o.label))])])]);
172
- }), 1), ["unsplash", "pexels"].includes(t.activeTab) ? e("BackgroundList", { key: t.activeTab, attrs: { fetch: t.isImage ? t.fetchImage : t.fetchVideo, "credit-text": t.$t("creditVideos", { thing: t.activeTab.capitalize() }), "default-query": "nature" }, on: { select: function(o) {
173
- t.isImage ? t.selectImage(o) : t.selectVideo(o);
174
- } } }, [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 w-full flex-col items-center justify-center" }, [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) {
175
- t.customVideo = o;
176
- }, 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 }) {
177
- return [e("div", { staticClass: "relative mb-6 w-full" }, [t.customImage ? e("img", { staticClass: "h-full w-full object-cover object-scale-down object-top", staticStyle: { "max-height": "500px" }, attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex aspect-video flex-col items-center justify-center rounded-md bg-gray-100" }, [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)])];
170
+ return e("BackgroundModal", t._g({ scopedSlots: t._u([{ key: "header", fn: function() {
171
+ return [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" } }, t._l(t.tabs, function(i, r) {
172
+ return e("CButton", { key: r, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === i.value && { opacity: 1 }, on: { click: function(s) {
173
+ t.activeTab = i.value;
174
+ } } }, [e("span", { staticClass: "inline-flex items-center justify-center" }, [e("div", { domProps: { innerHTML: t._s(i.icon) } }), e("span", { staticClass: "max-md:!hidden" }, [t._v(t._s(i.label))])])]);
175
+ }), 1)];
176
+ }, proxy: !0 }]) }, t.$listeners), [["unsplash", "pexels"].includes(t.activeTab) ? e("BackgroundList", { key: t.activeTab, attrs: { fetch: t.isImage ? t.fetchImage : t.fetchVideo, "credit-text": t.$t("creditVideos", { thing: t.activeTab.capitalize() }), "default-query": "nature" }, on: { select: function(i) {
177
+ t.isImage ? t.selectImage(i) : t.selectVideo(i);
178
+ } }, scopedSlots: t._u([{ key: "footer", fn: function() {
179
+ return [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])];
180
+ }, proxy: !0 }], null, !1, 782343106) }) : t.activeTab === "customVideo" ? e("div", { staticClass: "flex w-full flex-col items-center justify-center" }, [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(i) {
181
+ t.customVideo = i;
182
+ }, 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: i }) {
183
+ return [e("div", { staticClass: "relative mb-6 w-full" }, [t.customImage ? e("img", { staticClass: "h-full w-full object-cover object-scale-down object-top", staticStyle: { "max-height": "500px" }, attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex aspect-video flex-col items-center justify-center rounded-md bg-gray-100" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!i && i < 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)])];
178
184
  } }]) }), 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);
179
- }, V = [], M = /* @__PURE__ */ y(
180
- z,
181
- I,
182
- V,
185
+ }, T = [], F = /* @__PURE__ */ u(
186
+ B,
187
+ M,
188
+ T,
183
189
  !1,
184
190
  null,
185
- "459dc015"
191
+ "ebce44fe"
186
192
  );
187
- const T = M.exports, $ = {
193
+ const P = F.exports, R = {
194
+ name: "CRadioButton",
195
+ components: {
196
+ CButton: V
197
+ },
198
+ mixins: [A],
199
+ props: {
200
+ type: {
201
+ type: String,
202
+ default: "primary"
203
+ },
204
+ expanded: Boolean
205
+ },
206
+ data() {
207
+ return {
208
+ isFocused: !1
209
+ };
210
+ }
211
+ };
212
+ var j = function() {
213
+ var t = this, e = t._self._c;
214
+ return e("div", { staticClass: "control", class: { "is-expanded": t.expanded } }, [e("CButton", { ref: "label", staticClass: "c-radio radio button", class: [{ "is-disabled": t.disabled, "is-focused": t.isFocused }], attrs: { tag: "label", type: t.newValue === t.nativeValue ? t.type : null, size: t.size, disabled: t.disabled }, on: { click: t.focus, keydown: function(i) {
215
+ return !i.type.indexOf("key") && t._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : (i.preventDefault(), t.$refs.$el.label.click());
216
+ } } }, [t._t("default"), e("input", { directives: [{ name: "model", rawName: "v-model", value: t.computedValue, expression: "computedValue" }], ref: "input", attrs: { disabled: t.disabled, required: t.required, name: t.name, type: "radio" }, domProps: { value: t.nativeValue, checked: t._q(t.computedValue, t.nativeValue) }, on: { click: function(i) {
217
+ i.stopPropagation();
218
+ }, focus: function(i) {
219
+ t.isFocused = !0;
220
+ }, blur: function(i) {
221
+ t.isFocused = !1;
222
+ }, change: function(i) {
223
+ t.computedValue = t.nativeValue;
224
+ } } })], 2)], 1);
225
+ }, H = [], q = /* @__PURE__ */ u(
226
+ R,
227
+ j,
228
+ H,
229
+ !1,
230
+ null,
231
+ null
232
+ );
233
+ const D = q.exports, O = {
188
234
  name: "HeaderSettings",
189
235
  components: {
190
- ThemeColorRow: w
236
+ ThemeColorRow: _,
237
+ CRadioButton: D,
238
+ CSwitch: z,
239
+ CField: L
191
240
  },
192
241
  mixins: [
193
242
  x(
@@ -251,29 +300,29 @@ const T = M.exports, $ = {
251
300
  computed: {
252
301
  layoutOptions() {
253
302
  var t;
254
- const { type: i } = ((t = this.items) == null ? void 0 : t[0]) || {};
303
+ const { type: o } = ((t = this.items) == null ? void 0 : t[0]) || {};
255
304
  return [
256
305
  {
257
306
  // left
258
- isActive: this.layout === "vertical" && i === "media",
307
+ isActive: this.layout === "vertical" && o === "media",
259
308
  icon: '<rect x="3" y="6" width="18" height="14" rx="1"></rect><rect x="3" y="6" width="8" height="14" rx="1" fill="currentColor"></rect>',
260
309
  onClick: () => this.setLayout({ layout: "vertical", type: "media" })
261
310
  },
262
311
  {
263
312
  // right
264
- isActive: this.layout === "vertical" && i === "content",
313
+ isActive: this.layout === "vertical" && o === "content",
265
314
  icon: '<rect x="3" y="6" width="18" height="14" rx="1"></rect><rect x="13" y="6" width="8" height="14" rx="1" fill="currentColor"></rect>',
266
315
  onClick: () => this.setLayout({ layout: "vertical", type: "content" })
267
316
  },
268
317
  {
269
318
  // top
270
- isActive: this.layout === "horizontal" && i === "media",
319
+ isActive: this.layout === "horizontal" && o === "media",
271
320
  icon: '<rect x="3" y="6" width="18" height="14" rx="1"></rect><rect x="3" y="6" width="18" height="7" rx="1" fill="currentColor"></rect>',
272
321
  onClick: () => this.setLayout({ layout: "horizontal", type: "media" })
273
322
  },
274
323
  {
275
324
  // bottom
276
- isActive: this.layout === "horizontal" && i === "content",
325
+ isActive: this.layout === "horizontal" && o === "content",
277
326
  icon: '<rect x="3" y="6" width="18" height="14" rx="1"></rect><rect x="3" y="14" width="18" height="5" rx="1" fill="currentColor"></rect>',
278
327
  onClick: () => this.setLayout({ layout: "horizontal", type: "content" })
279
328
  },
@@ -293,100 +342,100 @@ const T = M.exports, $ = {
293
342
  },
294
343
  overlayColor: {
295
344
  get() {
296
- var i;
297
- return ((i = this.media) == null ? void 0 : i.overlayColor) || "";
345
+ var o;
346
+ return ((o = this.media) == null ? void 0 : o.overlayColor) || "";
298
347
  },
299
- set(i) {
300
- this.media = { ...this.media, overlay: !0, overlayColor: i };
348
+ set(o) {
349
+ this.media = { ...this.media, overlay: !0, overlayColor: o };
301
350
  }
302
351
  },
303
352
  background() {
304
- let i = "";
305
- const { type: t, resourceUrl: e, video: o = {} } = this.media || {};
306
- return t === "image" && e ? i = e : t === "video" && o.thumbnail && (i = o.thumbnail), i;
353
+ let o = "";
354
+ const { type: t, resourceUrl: e, video: i = {} } = this.media || {};
355
+ return t === "image" && e ? o = e : t === "video" && i.thumbnail && (o = i.thumbnail), o;
307
356
  },
308
357
  theme() {
309
- var i;
310
- return ((i = this._document) == null ? void 0 : i.theme) || {};
358
+ var o;
359
+ return ((o = this._document) == null ? void 0 : o.theme) || {};
311
360
  },
312
361
  showPriceToggle: {
313
362
  get() {
314
363
  return !!(typeof this.showPriceSummary == "boolean" ? this.showPriceSummary : this.theme.showPriceSummary);
315
364
  },
316
- set(i) {
317
- this.showPriceSummary = i;
365
+ set(o) {
366
+ this.showPriceSummary = o;
318
367
  }
319
368
  }
320
369
  },
321
370
  watch: {
322
- layout(i) {
323
- this._document.isDirty(this._value.textAlign) || (this.textAlign = i === "center" ? i : "left");
371
+ layout(o) {
372
+ this._document.isDirty(this._value.textAlign) || (this.textAlign = o === "center" ? o : "left");
324
373
  },
325
- backgroundColor(i) {
326
- this._document.isDirty(this._value.textColor) || (this.textColor = A.readability(i, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
374
+ backgroundColor(o) {
375
+ this._document.isDirty(this._value.textColor) || (this.textColor = $.readability(o, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
327
376
  }
328
377
  },
329
378
  methods: {
330
379
  // Used for setting the correct array item order for specific layouts
331
380
  // will place the given item type first in items
332
- setLayout({ layout: i, type: t = "" }) {
333
- const e = (o) => (r) => r.type === o ? -1 : 1;
334
- t && (this.items = [...this.items].sort(e(t))), this.layout = i;
381
+ setLayout({ layout: o, type: t = "" }) {
382
+ const e = (i) => (r) => r.type === i ? -1 : 1;
383
+ t && (this.items = [...this.items].sort(e(t))), this.layout = o;
335
384
  },
336
385
  openBgModal() {
337
- const { type: i = "image" } = this.media || {};
386
+ const { type: o = "image" } = this.media || {};
338
387
  this.$modal.show(
339
- T,
388
+ P,
340
389
  {
341
- currentType: i
390
+ currentType: o
342
391
  },
343
392
  {},
344
393
  {
345
- input: ({ type: t, value: e, preferredColor: o }) => {
394
+ input: ({ type: t, value: e, preferredColor: i }) => {
346
395
  const r = t === "image" ? "resourceUrl" : "video";
347
396
  this.media = {
348
397
  ...this.media,
349
398
  type: t,
350
399
  [r]: e
351
- }, o && !this._document.isDirty(this._value.backgroundColor) && (this.backgroundColor = o);
400
+ }, i && !this._document.isDirty(this._value.backgroundColor) && (this.backgroundColor = i);
352
401
  }
353
402
  }
354
403
  );
355
404
  }
356
405
  }
357
406
  };
358
- var B = function() {
407
+ var U = function() {
359
408
  var t = this, e = t._self._c;
360
- return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: o, onClick: r, icon: s }, a) {
361
- return e("CButton", { key: a, staticStyle: { padding: "6px 10px", "border-radius": "3px", height: "initial" }, attrs: { type: o ? "secondary" : "none", pattern: o ? "primary" : "secondary", size: "normal" }, on: { click: r } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(s) } })]);
409
+ return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: i, onClick: r, icon: s }, a) {
410
+ return e("CButton", { key: a, staticStyle: { padding: "6px 10px", "border-radius": "3px", height: "initial" }, attrs: { type: i ? "secondary" : "none", pattern: i ? "primary" : "secondary", size: "normal" }, on: { click: r } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(s) } })]);
362
411
  }), 1)]), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:background").capitalize()) + " ")]), e("div", { staticClass: "d-option-button-image", style: {
363
412
  backgroundImage: `url(${t.background || t.theme.background})`
364
- }, on: { click: t.openBgModal } })]), e("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.overlayColor || t.theme.backgroundFilter || "", placement: "auto" }, on: { change: function(o) {
365
- t.overlayColor = o;
366
- } } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.backgroundFilter")) + " ")])], 1), t.layout === "price" ? e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title" }, [e("div", { staticStyle: { flex: "1 1 auto" } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.priceSummaryBackground")) + " ")]), e("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { size: "small", type: "secondary" }, model: { value: t.showPriceToggle, callback: function(o) {
367
- t.showPriceToggle = o;
368
- }, expression: "showPriceToggle" } })], 1), t.showPriceToggle ? e("div", { staticClass: "d-option-row", staticStyle: { "padding-top": "1em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
369
- t.backgroundColor = o;
370
- } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e()]) : [t.layout !== "center" ? e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
371
- t.backgroundColor = o, t._document.setDirty(t._value.backgroundColor);
372
- } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" }, attrs: { value: t.textColor || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
373
- t.textColor = o, t._document.setDirty(t._value.textColor);
374
- } } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "d-option flex w-full" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: o, icon: r }, s) {
375
- return e("CRadioButton", { key: s, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
413
+ }, on: { click: t.openBgModal } })]), e("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.overlayColor || t.theme.backgroundFilter || "", placement: "auto" }, on: { change: function(i) {
414
+ t.overlayColor = i;
415
+ } } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.backgroundFilter")) + " ")])], 1), t.layout === "price" ? e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title" }, [e("div", { staticStyle: { flex: "1 1 auto" } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.priceSummaryBackground")) + " ")]), e("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { size: "small", type: "secondary" }, model: { value: t.showPriceToggle, callback: function(i) {
416
+ t.showPriceToggle = i;
417
+ }, expression: "showPriceToggle" } })], 1), t.showPriceToggle ? e("div", { staticClass: "d-option-row", staticStyle: { "padding-top": "1em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(i) {
418
+ t.backgroundColor = i;
419
+ } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e()]) : [t.layout !== "center" ? e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(i) {
420
+ t.backgroundColor = i, t._document.setDirty(t._value.backgroundColor);
421
+ } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" }, attrs: { value: t.textColor || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(i) {
422
+ t.textColor = i, t._document.setDirty(t._value.textColor);
423
+ } } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "d-option flex w-full" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: i, icon: r }, s) {
424
+ return e("CRadioButton", { key: s, class: !t.textAlign && "text-gray-400", attrs: { "native-value": i, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
376
425
  return t._document.setDirty(t._value.textAlign);
377
426
  } }, model: { value: t.textAlign, callback: function(a) {
378
427
  t.textAlign = a;
379
428
  }, expression: "textAlign" } }, [e("svg", { staticStyle: { margin: "0" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 48 48", fill: "currentColor", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(r) } })]);
380
429
  }), 1)], 1)]], 2);
381
- }, P = [], F = /* @__PURE__ */ y(
382
- $,
383
- B,
384
- P,
430
+ }, W = [], E = /* @__PURE__ */ u(
431
+ O,
432
+ U,
433
+ W,
385
434
  !1,
386
435
  null,
387
- "adcf8352"
436
+ "b3d24efa"
388
437
  );
389
- const q = F.exports;
438
+ const et = E.exports;
390
439
  export {
391
- q as default
440
+ et as default
392
441
  };
@@ -1,7 +1,7 @@
1
- import r from "./ImageUploadWrapper-BaLjUZF5.js";
2
- import { B as l, a as i } from "./index-BaGtbWcA.js";
3
- import { c, n as m, o as n, J as d } from "./main-CerYX9PA.js";
4
- const o = c.unsplash.id, p = {
1
+ import r from "./ImageUploadWrapper-CE6KTze0.js";
2
+ import { B as l, a as c } from "./index-DLa3QER7.js";
3
+ import { c as i, n as d, q as n, P as m } from "./main-U22_wtg0.js";
4
+ const o = i.unsplash.id, p = {
5
5
  name: "ImageSelectModal",
6
6
  i18nOptions: {
7
7
  namespaces: "imageSelectModal",
@@ -16,7 +16,7 @@ const o = c.unsplash.id, p = {
16
16
  },
17
17
  components: {
18
18
  BackgroundModal: l,
19
- BackgroundList: i,
19
+ BackgroundList: c,
20
20
  ImageUploadWrapper: r
21
21
  },
22
22
  data() {
@@ -47,7 +47,7 @@ const o = c.unsplash.id, p = {
47
47
  };
48
48
  },
49
49
  selectImage(a) {
50
- this.selectedUrl = d(a.image, { w: 1800 });
50
+ this.selectedUrl = m(a.image, { w: 1800 });
51
51
  const e = new Image();
52
52
  e.src = this.selectedUrl, n.get(a.links.download_location, {
53
53
  params: {
@@ -65,18 +65,20 @@ const o = c.unsplash.id, p = {
65
65
  };
66
66
  var u = function() {
67
67
  var e = this, t = e._self._c;
68
- return t("BackgroundModal", e._g({}, e.$listeners), [t("BackgroundList", { attrs: { fetch: e.fetch, "credit-text": e.$t("creditImages", { thing: "Unsplash" }), "default-query": "architecture" }, on: { select: e.selectImage } }, [t("template", { slot: "footer" }, [t("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": e.setCustomBackground }, on: { upload: function(s) {
69
- e.isUploadingImage = !0;
70
- } }, scopedSlots: e._u([{ key: "default", fn: function({ progress: s }) {
71
- return [t("CButton", { attrs: { loading: !!s, "icon-left": "upload", type: "none" } }, [e._v(" " + e._s(e.$t("_common:upload")) + " ")])];
72
- } }]) }), t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2)], 1);
73
- }, g = [], h = /* @__PURE__ */ m(
68
+ return t("BackgroundModal", e._g({}, e.$listeners), [t("BackgroundList", { attrs: { fetch: e.fetch, "credit-text": e.$t("creditImages", { thing: "Unsplash" }), "default-query": "architecture" }, on: { select: e.selectImage }, scopedSlots: e._u([{ key: "footer", fn: function() {
69
+ return [t("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": e.setCustomBackground }, on: { upload: function(s) {
70
+ e.isUploadingImage = !0;
71
+ } }, scopedSlots: e._u([{ key: "default", fn: function({ progress: s }) {
72
+ return [t("CButton", { attrs: { loading: !!s, "icon-left": "upload", type: "none" } }, [e._v(" " + e._s(e.$t("_common:upload")) + " ")])];
73
+ } }]) }), t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])];
74
+ }, proxy: !0 }]) })], 1);
75
+ }, g = [], h = /* @__PURE__ */ d(
74
76
  p,
75
77
  u,
76
78
  g,
77
79
  !1,
78
80
  null,
79
- "d3705339"
81
+ "23fc60b2"
80
82
  );
81
83
  const v = h.exports;
82
84
  export {
@@ -1,5 +1,5 @@
1
- import Xt from "./BaseUpload-C9Jd1JBo.js";
2
- import { V as k, n as $t, P as Yt } from "./main-CerYX9PA.js";
1
+ import Xt from "./BaseUpload-B7259IaQ.js";
2
+ import { V as k, n as $t, W as Yt } from "./main-U22_wtg0.js";
3
3
  function yt(t, e) {
4
4
  var i = Object.keys(t);
5
5
  if (Object.getOwnPropertySymbols) {
@@ -1596,7 +1596,7 @@ var je = function() {
1596
1596
  Ie,
1597
1597
  !1,
1598
1598
  null,
1599
- "66b0d147"
1599
+ "58ebb757"
1600
1600
  );
1601
1601
  const Pe = He.exports;
1602
1602
  export {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { n as r } from "./main-CerYX9PA.js";
1
+ import { m as e } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { n as r } from "./main-U22_wtg0.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: () => import("./Index-CEaZgZqg.js"),
7
- Edit: () => import("./Index-B-UWz1IM.js")
6
+ Read: () => import("./Index-CBRJ-AZi.js"),
7
+ Edit: () => import("./Index-BoDKKVvL.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -1,10 +1,10 @@
1
- import { m as o } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { n as i } from "./main-CerYX9PA.js";
1
+ import { m as o } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { n as i } from "./main-U22_wtg0.js";
3
3
  const a = {
4
4
  name: "NotBinding",
5
5
  components: {
6
- Edit: () => import("./ToggleBinding-CTTYdrkp.js"),
7
- Read: () => import("./NotBindingText-Cee9yA0M.js")
6
+ Edit: () => import("./ToggleBinding-B715OVl2.js"),
7
+ Read: () => import("./NotBindingText-DhsHxvkX.js")
8
8
  },
9
9
  mixins: [o()]
10
10
  };
@@ -18,9 +18,9 @@ var r = function() {
18
18
  m,
19
19
  !1,
20
20
  null,
21
- "a3b56101"
21
+ "8587fb62"
22
22
  );
23
- const p = _.exports;
23
+ const f = _.exports;
24
24
  export {
25
- p as default
25
+ f as default
26
26
  };
@@ -1,7 +1,7 @@
1
- import { m as n } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { D as l } from "./DocModalBase-QZosNhiK.js";
3
- import { a as o } from "./DocumentLayout-GYCBw2F_.js";
4
- import { n as a } from "./main-CerYX9PA.js";
1
+ import { m as n } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { D as l } from "./DocModalBase-DkfUBRi3.js";
3
+ import { a as o } from "./DocumentLayout-DmjmsTcx.js";
4
+ import { n as a } from "./main-U22_wtg0.js";
5
5
  const c = {
6
6
  name: "TermsModal",
7
7
  components: {
@@ -66,7 +66,7 @@ const p = f.exports, u = {
66
66
  },
67
67
  computed: {
68
68
  printPdfTerms() {
69
- return this.isPdf ? () => import("./PdfTerms-ChtDfzne.js") : void 0;
69
+ return this.isPdf ? () => import("./PdfTerms-im6uTd5E.js") : void 0;
70
70
  }
71
71
  },
72
72
  methods: {
@@ -146,7 +146,7 @@ var v = /* @__PURE__ */ a(
146
146
  _,
147
147
  !1,
148
148
  null,
149
- "7623e4d6"
149
+ "1909510f"
150
150
  );
151
151
  const k = v.exports;
152
152
  export {