@cling-se/widget 0.17.3 → 0.18.0

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 (232) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/AddClientCallout-Bod9Eqx4.js +101 -0
  3. package/dist/AnswerModal-a2cyKFbt.js +3371 -0
  4. package/dist/AttachmentItem-DBUqckCS.js +171 -0
  5. package/dist/BaseUpload-DrWzuvbS.js +6503 -0
  6. package/dist/BlockMedia-DuE_K9hR.js +103 -0
  7. package/dist/CCallout-CM1VsH30.js +104 -0
  8. package/dist/{CCurrencyDropdown-CXXQu8th.js → CCurrencyDropdown-C_lAaq4P.js} +91 -53
  9. package/dist/CDropdownItem-DMUAJ90n.js +749 -0
  10. package/dist/CFormField.vue_vue_type_script_setup_true_lang-BqAyWe3T.js +292 -0
  11. package/dist/{CPhoneFormat-BtBGl8b4.js → CPhoneFormat-Dnn_cKk7.js} +13 -21
  12. package/dist/CPhoneInput-DuGkDiv-.js +207 -0
  13. package/dist/CPriceInput-B7DYzKcF.js +142 -0
  14. package/dist/CSelect-BZZDr27O.js +98 -0
  15. package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-D2jDhnYI.js +51 -0
  16. package/dist/ClientAutocomplete-DuaJ5zDf.js +532 -0
  17. package/dist/ClientModal-CaMSjLkD.js +1188 -0
  18. package/dist/ColorPicker-BISZPQ6j.js +1408 -0
  19. package/dist/CompanyModal-ClTcmU4Y.js +250 -0
  20. package/dist/ContentWrapper-Bj7jbWU0.js +265 -0
  21. package/dist/CoverBlockSettings-AXyiLxrF.js +861 -0
  22. package/dist/DocAnswer-Bu09V33D.js +33 -0
  23. package/dist/DocDetails-B6-2LKsO.js +452 -0
  24. package/dist/DocForm-CFN8LWSd.js +6772 -0
  25. package/dist/DocFormSend-D1CUhy4n.js +171 -0
  26. package/dist/DocLinks-CuliFqtN.js +36 -0
  27. package/dist/DocModalBase-BxKsnwN-.js +29 -0
  28. package/dist/DocPrint-B_HJ_RET.js +399 -0
  29. package/dist/DocReceipt-D-A1TaTI.js +341 -0
  30. package/dist/DocSendReminder-BKTJonzh.js +181 -0
  31. package/dist/{DocTextEditor-yD9Dt_um.js → DocTextEditor-CEPcJT2o.js} +7907 -5579
  32. package/dist/DocTimeline-CF9S4YDZ.js +537 -0
  33. package/dist/DocumentClient-7mbq2QA4.js +90 -0
  34. package/dist/DocumentLayout-DkFlHgW6.js +1434 -0
  35. package/dist/DocumentLogotype-BTYMdpNi.js +162 -0
  36. package/dist/DocumentVoided-CWr5WMUv.js +33 -0
  37. package/dist/EmbedInput-SevVEpwc.js +156 -0
  38. package/dist/EmbedSettings-YMbUmp1O.js +103 -0
  39. package/dist/ErrorCallout-CQo2iF9c.js +34 -0
  40. package/dist/FilePreviewModal-C0xBeoAz.js +202 -0
  41. package/dist/Flag-BObij6SN.js +41 -0
  42. package/dist/HeaderSettings-C77pR78n.js +720 -0
  43. package/dist/ImageSelectModal-DKdU-0uq.js +119 -0
  44. package/dist/ImageUploadWrapper-BGkS5Cll.js +1585 -0
  45. package/dist/Index-B3y-jq9s.js +1098 -0
  46. package/dist/Index-B41pUREi.js +47 -0
  47. package/dist/Index-BEyeS1OG.js +52 -0
  48. package/dist/Index-BG5j8ZFP.js +93 -0
  49. package/dist/Index-BOT65yQR.js +68 -0
  50. package/dist/Index-BQNl-cXP.js +28 -0
  51. package/dist/Index-BY6xsS7C.js +38 -0
  52. package/dist/Index-Bh0Xv5ry.js +163 -0
  53. package/dist/Index-Bn4FSQcx.js +228 -0
  54. package/dist/Index-BrRIAede.js +87 -0
  55. package/dist/Index-C-6um0kX.js +76 -0
  56. package/dist/{Index-C_aIQ908.js → Index-C-gHa5xk.js} +319 -214
  57. package/dist/Index-C0wcjKCH.js +629 -0
  58. package/dist/Index-C6BbUFYw.js +160 -0
  59. package/dist/Index-C8xwJ0m1.js +200 -0
  60. package/dist/Index-CKgFEJF4.js +140 -0
  61. package/dist/{Index-Dfq7egc1.js → Index-CQwmu4f1.js} +47 -60
  62. package/dist/Index-CXchTpBa.js +74 -0
  63. package/dist/{Index-Ch9r5yhG.js → Index-CYoRt8PA.js} +9 -17
  64. package/dist/Index-CZZNQ4q5.js +39 -0
  65. package/dist/Index-CkaAs5ms.js +136 -0
  66. package/dist/Index-CtpXaBz8.js +363 -0
  67. package/dist/Index-CxDsSGtZ.js +126 -0
  68. package/dist/Index-DFkTBm02.js +102 -0
  69. package/dist/Index-DP3ll8F-.js +70 -0
  70. package/dist/{Index-RWMPRDAE.js → Index-DPDzMKQa.js} +10 -18
  71. package/dist/Index-DvxSig3z.js +25 -0
  72. package/dist/Index-Dzrn3Y6p.js +16 -0
  73. package/dist/{Index-CRiATiQn.js → Index-LQb0omFE.js} +10 -18
  74. package/dist/Index-Mt4mSaNT.js +4 -0
  75. package/dist/Index-_xN_cczo.js +3477 -0
  76. package/dist/Index-gAz45qgR.js +21 -0
  77. package/dist/Index-xXLFalgR.js +49 -0
  78. package/dist/Index-zyZRPz3H.js +28 -0
  79. package/dist/Index.vue_vue_type_script_lang-Ddo1wo-D.js +671 -0
  80. package/dist/InputToggleRow-CokEYwm2.js +99 -0
  81. package/dist/ManualPopover-Dukly7GP.js +65 -0
  82. package/dist/MediaWrapper-B8msCrQm.js +18 -0
  83. package/dist/{NotBindingText-CC7TxUqg.js → NotBindingText-DcQd8Eej.js} +13 -17
  84. package/dist/PackageGroup-clUIUoik.js +1060 -0
  85. package/dist/PdfTerms-DpzMVRfN.js +34 -0
  86. package/dist/PdfViewer-CSf4Rtbj.js +392 -0
  87. package/dist/PlainHtml.vue_vue_type_script_setup_true_lang-D6KSjjMA.js +17 -0
  88. package/dist/PriceHeader-Dyweu8aH.js +488 -0
  89. package/dist/{SearchApi-G2Hvp0Dd.js → SearchApi-Y1fDQn0u.js} +37 -49
  90. package/dist/SendForm-B9l24WwR.js +6689 -0
  91. package/dist/Setup-DyzbPFM4.js +47 -0
  92. package/dist/{SmartList-BynTuXtB.js → SmartList-CWGKoAJh.js} +16 -24
  93. package/dist/Sortable.vue_vue_type_script_setup_true_lang-C2Gwp6Q-.js +1349 -0
  94. package/dist/{TermsSettings-cA5YAO77.js → TermsSettings-BeQH307A.js} +169 -56
  95. package/dist/ThemeColorRow-DFIsPy55.js +105 -0
  96. package/dist/ToggleBinding-DlH4y1IM.js +44 -0
  97. package/dist/UploadModal-BZ0mPBBB.js +134 -0
  98. package/dist/VideoPlayerInput-DBxcTUb7.js +134 -0
  99. package/dist/VideoPlayerSettings-Dg1OxjOa.js +78 -0
  100. package/dist/VideoSelectModal-BhbanMix.js +217 -0
  101. package/dist/{anime.es-BrPTThYb.js → anime.es-4wvNItHq.js} +205 -201
  102. package/dist/{color-TdtKxwVa.js → color-HetJPhlA.js} +1 -2
  103. package/dist/{dom-Ds4ypDrd.js → dom-CkTGWrfu.js} +3 -6
  104. package/dist/{focusDrawerMixin-CximZA1J.js → focusDrawerMixin-BVbTYOGr.js} +1 -1
  105. package/dist/{formDrawerState-CkNGdxn5.js → formDrawerState-CogZ-GVm.js} +2 -2
  106. package/dist/helpers-B4GUxtdD.js +46 -0
  107. package/dist/index-BZDey7B-.js +268 -0
  108. package/dist/index-Bd8_ZHHq.js +188 -0
  109. package/dist/index-BvyoYp1e.js +508 -0
  110. package/dist/index-CJZoubA3.js +3525 -0
  111. package/dist/index-D7yQWP4d.js +125 -0
  112. package/dist/index-D8hGHka6.js +513 -0
  113. package/dist/index-Dxy4tf7x.js +149 -0
  114. package/dist/index.es.js +2 -5
  115. package/dist/index.umd.js +303 -1486
  116. package/dist/main-Bn5XkQPb.js +57570 -0
  117. package/dist/mapFormMixin-C7FJLnbO.js +1528 -0
  118. package/dist/omit-DrWpFvRJ.js +56 -0
  119. package/dist/{publicSenderState-CGEm9EYe.js → publicSenderState-tdtCFPMx.js} +4 -4
  120. package/dist/splitpanes-BApidgjj.js +342 -0
  121. package/dist/template-CHdf2K2I.js +1572 -0
  122. package/dist/tippy.esm-Co6FYzEM.js +1994 -0
  123. package/dist/useTermsModal-VDnO1Lro.js +87 -0
  124. package/dist/{utils-Dr4AcaE9.js → utils-DZkn0Q9c.js} +8 -11
  125. package/dist/validation-CqBkar3f.js +40 -0
  126. package/dist/widget.css +1 -0
  127. package/package.json +20 -25
  128. package/dist/AddClientCallout-Br6IhwGH.js +0 -48
  129. package/dist/AnswerModal-CsWltR6j.js +0 -3879
  130. package/dist/AttachmentItem-BG7FuSCD.js +0 -85
  131. package/dist/BaseDatePicker-PSNBtUIh.js +0 -3187
  132. package/dist/BaseUpload-BfEurAAV.js +0 -1977
  133. package/dist/BlockMedia-Bo3OfNSU.js +0 -76
  134. package/dist/CCallout-CAjM8-1X.js +0 -58
  135. package/dist/CDropdownItem-CN7gSfgY.js +0 -640
  136. package/dist/CFormField-Clvcf2Jh.js +0 -240
  137. package/dist/CPhoneInput-CEHXh5jM.js +0 -138
  138. package/dist/CPriceInput-D2c07SXp.js +0 -116
  139. package/dist/CSelect-Cz2IPzxS.js +0 -91
  140. package/dist/CSkeleton-AsnvnD-m.js +0 -55
  141. package/dist/ClientAutocomplete-CZ55-DKe.js +0 -438
  142. package/dist/ClientModal-CgUhWZ5L.js +0 -666
  143. package/dist/ColorPicker-IFGHqH-u.js +0 -2879
  144. package/dist/CompanyModal-TLSBFo3U.js +0 -147
  145. package/dist/ContentWrapper-HClxKPuT.js +0 -190
  146. package/dist/CoverBlockSettings-D99hAa6e.js +0 -659
  147. package/dist/DocAnswer-CTV_Bpt7.js +0 -36
  148. package/dist/DocDetails-CQe5htXj.js +0 -263
  149. package/dist/DocForm-6Efv5_oz.js +0 -5017
  150. package/dist/DocFormSend-DbXcklxU.js +0 -146
  151. package/dist/DocLinks-BO545zbL.js +0 -38
  152. package/dist/DocModalBase-DXHNJ-6i.js +0 -28
  153. package/dist/DocPrint-Bf2U4FQN.js +0 -240
  154. package/dist/DocReceipt-CWXvC7bY.js +0 -217
  155. package/dist/DocSendReminder-CRzBM2NJ.js +0 -140
  156. package/dist/DocTimeline-DGVOk8-2.js +0 -485
  157. package/dist/DocumentClient-Das9BaJ7.js +0 -136
  158. package/dist/DocumentLayout-4q8rmTVT.js +0 -4880
  159. package/dist/DocumentLogotype-DLncJJAB.js +0 -92
  160. package/dist/DocumentVoided-CcI9lX27.js +0 -25
  161. package/dist/EmbedInput-BPdy0lGS.js +0 -117
  162. package/dist/EmbedSettings-L2iwYLQK.js +0 -74
  163. package/dist/ErrorCallout-Ds_tBT02.js +0 -27
  164. package/dist/FilePreviewModal-hxUu330p.js +0 -81
  165. package/dist/Flag-1-HcT5Dz.js +0 -46
  166. package/dist/HeaderSettings-C27fMugK.js +0 -440
  167. package/dist/ImageSelectModal-BKDIyxF4.js +0 -86
  168. package/dist/ImageUploadWrapper-BiYzUQur.js +0 -1604
  169. package/dist/Index-5BOWxcPG.js +0 -26
  170. package/dist/Index-B1Odktov.js +0 -754
  171. package/dist/Index-B3d5BjEn.js +0 -25
  172. package/dist/Index-B3sSU_4X.js +0 -54
  173. package/dist/Index-B5Dqsh3K.js +0 -150
  174. package/dist/Index-B6aO1c_w.js +0 -62
  175. package/dist/Index-BGfICxJQ.js +0 -643
  176. package/dist/Index-BHopC0hv.js +0 -24
  177. package/dist/Index-BJXcSmp_.js +0 -55
  178. package/dist/Index-BQe6QjQZ.js +0 -25
  179. package/dist/Index-BmXx_x6t.js +0 -77
  180. package/dist/Index-C692qMTG.js +0 -294
  181. package/dist/Index-CEvbw-3i.js +0 -41
  182. package/dist/Index-CYSULnpn.js +0 -32
  183. package/dist/Index-CdtYzwAM.js +0 -107
  184. package/dist/Index-CetF2FW0.js +0 -230
  185. package/dist/Index-Cv6XLM20.js +0 -73
  186. package/dist/Index-Cwy8ff76.js +0 -154
  187. package/dist/Index-D34z4UEY.js +0 -84
  188. package/dist/Index-DNCei-lp.js +0 -56
  189. package/dist/Index-DUbxgIYB.js +0 -2445
  190. package/dist/Index-DVwn_LLf.js +0 -28
  191. package/dist/Index-Dla-mesV.js +0 -146
  192. package/dist/Index-KtUkOPI2.js +0 -58
  193. package/dist/Index-LjnOTVJk.js +0 -66
  194. package/dist/Index-ky1SRtfY.js +0 -94
  195. package/dist/Index-mceZW2NX.js +0 -41
  196. package/dist/Index-tD3hZjh8.js +0 -144
  197. package/dist/Index-vM5kDtC2.js +0 -33
  198. package/dist/InputToggleRow-BmDuSbE2.js +0 -57
  199. package/dist/ManualPopover-CQfjPvFe.js +0 -60
  200. package/dist/MediaWrapper-DDzcjR6V.js +0 -23
  201. package/dist/PackageGroup-mAGXfZDv.js +0 -704
  202. package/dist/PdfTerms-BH_Nwf2h.js +0 -31
  203. package/dist/PdfViewer-mBLxI8bA.js +0 -383
  204. package/dist/PlainHtml-B7gUNNZd.js +0 -27
  205. package/dist/PriceHeader-DClYMPcq.js +0 -338
  206. package/dist/SendForm-Cxv_m8Rq.js +0 -1023
  207. package/dist/Setup-B90VDZTG.js +0 -50
  208. package/dist/ThemeColorRow-D-Z7w4Wk.js +0 -69
  209. package/dist/ToggleBinding-DOeTcWzi.js +0 -42
  210. package/dist/UploadModal-DOPLVEpV.js +0 -95
  211. package/dist/VideoPlayerInput-1zG06elO.js +0 -97
  212. package/dist/VideoPlayerSettings-O-4rAYYh.js +0 -61
  213. package/dist/VideoSelectModal-DzqFrqCg.js +0 -104
  214. package/dist/answerDocumentMixin-HBiNWYCH.js +0 -51
  215. package/dist/debounce-Ch1d3526.js +0 -84
  216. package/dist/formValidationMixin-D_MzsHsR.js +0 -49
  217. package/dist/index-BNdbPq4J.js +0 -492
  218. package/dist/index-BXzugeJ6.js +0 -81
  219. package/dist/index-C5wcxrC6.js +0 -167
  220. package/dist/index-CgDOs7t4.js +0 -2700
  221. package/dist/index-Cj-_2coz.js +0 -351
  222. package/dist/index-DpqV5y0K.js +0 -102
  223. package/dist/main-BL_yzf2r.js +0 -57357
  224. package/dist/mapFormMixin-Cu_vkTP-.js +0 -3028
  225. package/dist/omit-Dfe_H1Ft.js +0 -31
  226. package/dist/simplebar.min-CRlLD1Oz.js +0 -71
  227. package/dist/splitpanes-BHUVsCZF.js +0 -382
  228. package/dist/style.css +0 -4
  229. package/dist/throttle-BX_w77tW.js +0 -18
  230. package/dist/tippy.esm-n4arfVzA.js +0 -1805
  231. package/dist/vuedraggable.umd-DW4PJoZ3.js +0 -3161
  232. package/dist/vuex.esm-DKGl8mcw.js +0 -467
@@ -1,28 +0,0 @@
1
- import { u as t, x as o, n as _ } from "./main-BL_yzf2r.js";
2
- const p = /* @__PURE__ */ t({
3
- __name: "Index",
4
- props: {
5
- street: null,
6
- zip: null,
7
- city: null
8
- },
9
- setup(s) {
10
- const e = s, n = o(() => `${e.street ? `${e.street}, ` : ""}${e.zip ? `${e.zip} ` : ""}${e.city}`);
11
- return { __sfc: !0, props: e, address: n };
12
- }
13
- });
14
- var a = function() {
15
- var e = this, n = e._self._c, r = e._self._setupProxy;
16
- return n("div", { domProps: { innerHTML: e._s(r.address) } });
17
- }, c = [], u = /* @__PURE__ */ _(
18
- p,
19
- a,
20
- c,
21
- !1,
22
- null,
23
- null
24
- );
25
- const d = u.exports;
26
- export {
27
- d as default
28
- };
@@ -1,146 +0,0 @@
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
- const u = (e, t) => e ? m(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, d = {
7
- name: "ExtraWorkTimeImpactTextEdit",
8
- i18nOptions: {
9
- namespaces: "ExtraWorkTimeImpactTextEdit",
10
- messages: {
11
- en: {
12
- placeholders: {
13
- workStartAt: "Start date",
14
- workEndAt: "End date"
15
- },
16
- inlineForm: {
17
- 1: "Work will start",
18
- 2: "and will be completed no later than",
19
- 3: "Due to the work the original project time"
20
- },
21
- error: "End date needs to be after start date"
22
- },
23
- sv: {
24
- placeholders: {
25
- workStartAt: "Startdatum",
26
- workEndAt: "Slutdatum"
27
- },
28
- inlineForm: {
29
- 1: "Arbetet kommer påbörjas",
30
- 2: "och är senast klar",
31
- 3: "Med anledning av arbetet kommer den ursprungliga kontraktstiden"
32
- },
33
- error: "Slutdatumet måste vara efter startdatumet."
34
- }
35
- }
36
- },
37
- components: {
38
- CSelect: s,
39
- CSwitch: l
40
- },
41
- mixins: [
42
- o([
43
- "workStartAt",
44
- "workEndAt",
45
- "timeUnit",
46
- "noOfTimeUnits",
47
- "timeDeltaDirection"
48
- ])
49
- ],
50
- data() {
51
- return {
52
- isOpen: !1,
53
- // Variable to store the old content when the card is disabled
54
- hiddenModuleDateDelay: null
55
- };
56
- },
57
- validations: {
58
- workStartAt: {
59
- required: a.requiredIf(
60
- (e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
61
- )
62
- },
63
- workEndAt: {
64
- required: a.requiredIf(
65
- (e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
66
- ),
67
- endDateMustBeGreater: u
68
- },
69
- timeDeltaDirection: {
70
- required: a.requiredIf(
71
- (e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
72
- )
73
- },
74
- noOfTimeUnits: {
75
- required: a.requiredIf(
76
- (e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
77
- )
78
- },
79
- timeUnit: {
80
- required: a.requiredIf(
81
- (e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
82
- )
83
- }
84
- },
85
- mounted() {
86
- const {
87
- workStartAt: e,
88
- workEndAt: t,
89
- timeUnit: r,
90
- noOfTimeUnits: i,
91
- timeDeltaDirection: n
92
- } = this;
93
- (e || t || r || i || n) && (this.isOpen = !0);
94
- },
95
- methods: {
96
- getDateValue(e) {
97
- return e ? this.$formatDate(e, "yyyy-MM-dd") : null;
98
- },
99
- // Method to handle internal data when open/closed
100
- toggleOpen(e) {
101
- return e ? !0 : (this.clearRoot(), this.$v.$touch(), !1);
102
- },
103
- // Method to set the root object to null to clear data
104
- clearRoot() {
105
- const e = this._value.workStartAt.split(".");
106
- e.pop();
107
- const t = e.join(".");
108
- this.$emit("input", { key: t, value: void 0 });
109
- }
110
- }
111
- };
112
- var p = function() {
113
- var t = this, r = t._self._c;
114
- return r("div", { staticStyle: { position: "relative" } }, [r("CSwitch", { staticStyle: { position: "absolute", right: "0", top: "calc(-0.5 * var(--rem))", transform: "translateY(-100%)" }, on: { input: t.toggleOpen }, model: { value: t.isOpen, callback: function(i) {
115
- t.isOpen = i;
116
- }, expression: "isOpen" } }), t.isOpen ? r("div", [r("div", { staticClass: "inline-form" }, [t._v(" " + t._s(t.$t("inlineForm.1")) + " "), r("input", { staticClass: "ml-1 bg-gray-100", attrs: { type: "date", max: t.getDateValue(t.workEndAt) }, domProps: { value: t.getDateValue(t.workStartAt) }, on: { input: function(i) {
117
- var n;
118
- t.workStartAt = (n = i.target) != null && n.value ? new Date(i.target.value).toISOString() : null;
119
- } } }), t._v(" " + t._s(t.$t("inlineForm.2")) + " "), r("input", { staticClass: "ml-1 bg-gray-100", attrs: { type: "date", min: t.getDateValue(t.workStartAt) }, domProps: { value: t.getDateValue(t.workEndAt) }, on: { input: function(i) {
120
- var n;
121
- t.workEndAt = (n = i.target) != null && n.value ? new Date(i.target.value).toISOString() : null;
122
- } } }), t._v(". " + t._s(t.$t("inlineForm.3")) + " "), r("CSelect", { staticClass: "select-width input-inline-language", attrs: { placeholder: t.$t("_common:select") }, model: { value: t.timeDeltaDirection, callback: function(i) {
123
- t.timeDeltaDirection = i;
124
- }, expression: "timeDeltaDirection" } }, [r("option", { attrs: { value: "extend" } }, [t._v(" " + t._s(t.$t("_common:extend").toLowerCase()) + " ")]), r("option", { attrs: { value: "shorten" } }, [t._v(" " + t._s(t.$t("_common:shorten").toLowerCase()) + " ")])]), t._v(" " + t._s(t.$t("_common:with")) + " "), r("CSelect", { staticClass: "select-width quantity input-inline-language", staticStyle: { width: "calc(2 * var(--rem))", "margin-right": "calc(0.5 * var(--rem))" }, attrs: { placeholder: t.$t("_common:select") }, model: { value: t.noOfTimeUnits, callback: function(i) {
125
- t.noOfTimeUnits = i;
126
- }, expression: "noOfTimeUnits" } }, t._l(31, function(i, n) {
127
- return r("option", { key: n, staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 1px)", "text-align": "center" }, domProps: { value: i - 1 } }, [t._v(" " + t._s(i - 1) + " ")]);
128
- }), 0), r("CSelect", { staticClass: "select-width unit input-inline-language", attrs: { placeholder: t.$t("_common:select") }, on: { blur: function(i) {
129
- return t.$v.timeUnit.$touch();
130
- } }, model: { value: t.timeUnit, callback: function(i) {
131
- t.timeUnit = i;
132
- }, expression: "timeUnit" } }, [r("option", { attrs: { value: "days" } }, [t._v(t._s(t.$t("_common:day_plural")))]), r("option", { attrs: { value: "weeks" } }, [t._v(t._s(t.$t("_common:week_plural")))]), r("option", { attrs: { value: "months" } }, [t._v(" " + t._s(t.$t("_common:month_plural")) + " ")])]), t._v(". ")], 1), t.$v.$invalid && t.$v.$dirty ? r("div", { staticClass: "error-wrapper", on: { click: function(i) {
133
- return t.$v.$touch();
134
- } } }, [r("svg", { attrs: { name: "info-icon", width: "14", height: "14", viewBox: "0 0 125 125", xmlns: "http://www.w3.org/2000/svg" } }, [r("path", { attrs: { d: "M62.5 125C27.9822 125 0 97.0178 0 62.5S27.9822 0 62.5 0 125 27.9822 125 62.5 97.0178 125 62.5 125zM52.44694 65.23395v26.93183c0 5.43129 4.40293 9.83422 9.83422 9.83422 5.4461 0 9.87524-4.38793 9.92615-9.83379l.25177-26.93269c.05142-5.50025-4.36573-10.00077-9.86598-10.05219a9.963143 9.963143 0 0 0-.0931-.00043c-5.55215 0-10.05306 4.5009-10.05306 10.05305zm.43768-31.76657c0 5.25109 4.2545 9.50584 9.5027 9.50584h.22536c5.2467 0 9.5027-4.25591 9.5027-9.50584 0-5.25109-4.2545-9.50584-9.5027-9.50584h-.22536c-5.2467 0-9.5027 4.25591-9.5027 9.50584z", fill: "currentColor", "fill-rule": "evenodd" } })]), t._v(" " + t._s(t.$t("error")) + " ")]) : t._e()]) : t._e()], 1);
135
- }, f = [], _ = /* @__PURE__ */ c(
136
- d,
137
- p,
138
- f,
139
- !1,
140
- null,
141
- "8eeff7da"
142
- );
143
- const D = _.exports;
144
- export {
145
- D as default
146
- };
@@ -1,58 +0,0 @@
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
- const c = {
6
- i18nOptions: {
7
- namespaces: "estimatedTimeStartEnd",
8
- messages: {
9
- en: {
10
- title: "Start and end date",
11
- label: "Work start and ends",
12
- placeholders: {
13
- start: "Start date",
14
- end: "End date"
15
- }
16
- },
17
- sv: {
18
- title: "Start- och slutdatum",
19
- label: "Arbetet påbörjas och avslutas",
20
- placeholders: {
21
- start: "Startdatum",
22
- end: "Slutdatum"
23
- }
24
- }
25
- }
26
- },
27
- name: "EstimatedWorkStartAndEndAtTextEdit",
28
- components: {
29
- InputToggleRow: n,
30
- BaseDatePicker: s
31
- },
32
- mixins: [r(["startAt", "endAt"])]
33
- };
34
- var i = function() {
35
- var t = this, a = t._self._c;
36
- return a("InputToggleRow", { attrs: { "display-value": t.startAt && t.endAt ? `${t.$formatDate(t.startAt)} → ${t.$formatDate(t.endAt)}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.startAt && t.endAt) }, on: { remove: function(e) {
37
- t.startAt = null, t.endAt = null;
38
- } } }, [a("div", { staticStyle: { display: "inline-flex" } }, [a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { placeholder: t.$t("placeholders.start") }, on: { click: function(e) {
39
- e.preventDefault();
40
- } }, model: { value: t.startAt, callback: function(e) {
41
- t.startAt = e;
42
- }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, [t._v(" → ")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
43
- e.preventDefault();
44
- } }, model: { value: t.endAt, callback: function(e) {
45
- t.endAt = e;
46
- }, expression: "endAt" } })], 1)]);
47
- }, o = [], d = /* @__PURE__ */ l(
48
- c,
49
- i,
50
- o,
51
- !1,
52
- null,
53
- null
54
- );
55
- const A = d.exports;
56
- export {
57
- A as default
58
- };
@@ -1,66 +0,0 @@
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
- const r = {
5
- // eslint-disable-next-line vue/no-reserved-component-names
6
- name: "Embed",
7
- i18nOptions: {
8
- namespaces: "embed",
9
- messages: {
10
- en: {
11
- subTitle: "Embed anything (PDFs, Google Docs, Calender Sheets...)"
12
- },
13
- sv: {
14
- subTitle: "Bädda in vad som helst (PDF:er, Google Docs, Calender Sheets...)"
15
- }
16
- }
17
- },
18
- components: {
19
- EmbedSettings: () => import("./EmbedSettings-L2iwYLQK.js"),
20
- EmbedInput: () => import("./EmbedInput-BPdy0lGS.js"),
21
- Spinner: i
22
- },
23
- mixins: [o(["embed", "size"]), d],
24
- data() {
25
- return {
26
- showControls: !1,
27
- isLoading: !0
28
- };
29
- },
30
- methods: {
31
- onAdd() {
32
- var n;
33
- this._isNodeRecentlyAdded() && ((n = this.$refs.input) == null || n.focus());
34
- }
35
- }
36
- };
37
- var m = function() {
38
- var e = this, s = e._self._c;
39
- return s("div", { staticClass: "embed-root font-inter", on: { "&mouseover": function(t) {
40
- e.showControls = !0;
41
- }, "&mouseleave": function(t) {
42
- e.showControls = !1;
43
- } } }, [s("div", { staticClass: "no-drag", class: [
44
- (e.size || !(e.embed && e.embed.src)) && "auto-size",
45
- `embed-is-${e.size}`
46
- ] }, [e.embed ? s("div", { staticClass: "embed-container" }, [!e.embed.src && e.canEdit ? s("div", { staticClass: "embed-element" }, [s("div", { staticClass: "is-placeholder" }, [s("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), s("EmbedInput", { ref: "input", staticStyle: { "padding-top": "1em" }, on: { "hook:mounted": e.onAdd }, model: { value: e.embed, callback: function(t) {
47
- e.embed = t;
48
- }, expression: "embed" } })], 1)]) : e.embed.src ? s("iframe", e._b({ ref: "iframe", staticClass: "embed-element", on: { load: function(t) {
49
- e.isLoading = !1;
50
- } } }, "iframe", { allowfullscreen: "", ...e.embed }, !1)) : e._e(), e.embed.src && e.isLoading ? s("div", { staticClass: "embed-loading-container" }, [s("Spinner", { attrs: { color: "hsl(0, 0%, 60%)" } })], 1) : e._e()]) : e._e()]), e.isForm ? [e.showDrawer ? s("portal", { attrs: { to: "drawer-content" } }, [s("EmbedSettings", { attrs: { size: e.size }, on: { "update:size": function(t) {
51
- e.size = t;
52
- } }, model: { value: e.embed, callback: function(t) {
53
- e.embed = t;
54
- }, expression: "embed" } })], 1) : e._e()] : e._e()], 2);
55
- }, l = [], c = /* @__PURE__ */ a(
56
- r,
57
- m,
58
- l,
59
- !1,
60
- null,
61
- "34433ee5"
62
- );
63
- const p = c.exports;
64
- export {
65
- p as default
66
- };
@@ -1,94 +0,0 @@
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
- const d = {
6
- name: "VideoPlayer",
7
- i18nOptions: {
8
- namespaces: "components",
9
- keyPrefix: "document.videoPlayer"
10
- },
11
- components: {
12
- VideoPlayerSettings: () => import("./VideoPlayerSettings-O-4rAYYh.js"),
13
- VideoPlayerInput: () => import("./VideoPlayerInput-1zG06elO.js")
14
- },
15
- mixins: [o(["videoPlayer"]), a],
16
- data() {
17
- return {
18
- showControls: !1,
19
- aspectRatio: null,
20
- sizes: {
21
- small: 600,
22
- medium: 1e3,
23
- large: 1e3
24
- },
25
- // defaults to 16:9 aspect ratio
26
- videoSize: {
27
- width: 480,
28
- height: 270
29
- }
30
- };
31
- },
32
- computed: {
33
- video() {
34
- var t;
35
- return ((t = this.videoPlayer) == null ? void 0 : t.video) || {};
36
- },
37
- size() {
38
- var t;
39
- return ((t = this.videoPlayer) == null ? void 0 : t.size) || "medium";
40
- }
41
- },
42
- watch: {
43
- video: {
44
- immediate: !0,
45
- async handler(t) {
46
- if (!t || !t.url)
47
- return;
48
- let { width: e, height: i } = t;
49
- (!e || !i) && ({ width: e, height: i } = await r(t.url) || {}), this.videoSize = { width: e, height: i }, this.setAspectRatio();
50
- }
51
- },
52
- size() {
53
- this.setAspectRatio();
54
- }
55
- },
56
- methods: {
57
- setValue({ key: t, value: e }) {
58
- this.videoPlayer = {
59
- ...this.videoPlayer,
60
- [t]: e
61
- };
62
- },
63
- setAspectRatio() {
64
- !this.videoSize.width || !this.videoSize.height || (this.aspectRatio = `${Math.round(
65
- 100 * this.videoSize.height / this.videoSize.width
66
- )}%`);
67
- },
68
- onAdd() {
69
- var t;
70
- this._isNodeRecentlyAdded() && ((t = this.$refs.input) == null || t.focus());
71
- }
72
- }
73
- };
74
- var l = function() {
75
- var e = this, i = e._self._c;
76
- return i("div", { staticClass: "video-root font-inter", on: { "&mouseover": function(s) {
77
- e.showControls = !0;
78
- }, "&mouseleave": function(s) {
79
- e.showControls = !1;
80
- } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(s) {
81
- return e.setValue({ key: "video", value: s });
82
- }, "hook:mounted": e.onAdd } })], 1)]) : i("iframe", { ref: "iframe", staticClass: "video-element", attrs: { title: "Video", src: e.video.url, frameborder: "0", allowfullscreen: "" } })])]), e.isForm ? [e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
83
- }, c = [], m = /* @__PURE__ */ n(
84
- d,
85
- l,
86
- c,
87
- !1,
88
- null,
89
- "a0759f45"
90
- );
91
- const f = m.exports;
92
- export {
93
- f as default
94
- };
@@ -1,41 +0,0 @@
1
- import { u, Y as d, x as l, n as _ } from "./main-BL_yzf2r.js";
2
- const p = /* @__PURE__ */ u({
3
- __name: "Index",
4
- props: {
5
- title: null,
6
- hideFromEdit: { type: Boolean, default: !1 },
7
- _value: { default: () => ({
8
- title: ""
9
- }) }
10
- },
11
- setup(i) {
12
- const t = i, e = d("viewSettings", { canEdit: !1 }), s = l(
13
- () => t.hideFromEdit && e.canEdit
14
- ), a = l(() => e.canEdit), o = l(() => t.title || "");
15
- return { __sfc: !0, props: t, viewSettings: e, shouldHideFromEdit: s, canEdit: a, title: o, handleBlur: (c) => {
16
- var r;
17
- const n = c.target;
18
- e.setFormValue && e.setFormValue({
19
- key: (r = t._value) == null ? void 0 : r.title,
20
- value: (n == null ? void 0 : n.value) || ""
21
- });
22
- } };
23
- }
24
- });
25
- var f = function() {
26
- var t = this, e = t._self._c, s = t._self._setupProxy;
27
- return s.shouldHideFromEdit ? t._e() : e("div", { staticClass: "sub-chapter" }, [e("div", { staticClass: "sub-chapter-title" }, [e("span", { staticClass: "sub-chapter-counter primary-pseudo-background" }), s.canEdit && s.title ? [e("CInput", { staticClass: "preview-title-input", attrs: { value: s.title, spellcheck: !1, static: "" }, on: { keydown: function(a) {
28
- return !a.type.indexOf("key") && t._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : a.target.blur();
29
- }, blur: s.handleBlur } })] : s.title ? e("div", [t._v(t._s(s.title))]) : t._e()], 2), e("div", { staticClass: "sub-chapter-content" }, [t._t("default")], 2)]);
30
- }, m = [], v = /* @__PURE__ */ _(
31
- p,
32
- f,
33
- m,
34
- !1,
35
- null,
36
- "5ec34827"
37
- );
38
- const C = v.exports;
39
- export {
40
- C as default
41
- };
@@ -1,144 +0,0 @@
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
- import { s as m, p as u } from "./splitpanes-BHUVsCZF.js";
5
- import { n } from "./main-BL_yzf2r.js";
6
- const d = {
7
- name: "HeaderItems",
8
- components: {
9
- MediaWrapper: () => import("./MediaWrapper-DDzcjR6V.js"),
10
- ContentWrapper: () => import("./ContentWrapper-HClxKPuT.js"),
11
- Splitpanes: m,
12
- Pane: u
13
- },
14
- mixins: [r(["layout", "items", "baseStyle"])],
15
- props: {
16
- showControls: {
17
- type: Boolean,
18
- default: !1
19
- }
20
- },
21
- computed: {
22
- forceHorizontal() {
23
- return this.device === "mobile";
24
- },
25
- canResize() {
26
- return this.device === "desktop" || this.device === "tablet";
27
- },
28
- useSplitPane() {
29
- return this.canEdit && this.canResize;
30
- }
31
- },
32
- created() {
33
- ["layout", "canEdit"].forEach(
34
- (t) => this.$watch(t, {
35
- immediate: !0,
36
- handler: this.addNoDragClass
37
- })
38
- );
39
- },
40
- methods: {
41
- addNoDragClass() {
42
- !this.canEdit || !["vertical", "horizontal"].includes(this.layout) || setTimeout(() => {
43
- const t = this.$el.querySelector(".splitpanes__splitter");
44
- t && !t.classList.contains("no-drag") && t.classList.add("no-drag");
45
- }, 0);
46
- },
47
- onResize: c(function([{ size: e }]) {
48
- const a = Math.round(e), o = 100 - a;
49
- this.items = this.items.map((s, i) => ({ ...s, size: [a, o][i] }));
50
- }, 100)
51
- }
52
- };
53
- var h = function() {
54
- var e = this, a = e._self._c;
55
- return e.layout === "center" ? a("div", { staticStyle: { position: "relative", "min-height": "calc(100 * var(--vh, 1vh))" } }, e._l(e.items, function(o, s) {
56
- return a(`${o.type}Wrapper`, e._g({ key: s, tag: "component", staticClass: "item", staticStyle: { position: "absolute", left: "0", top: "0", right: "0", bottom: "0" }, attrs: { size: o.size, _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners));
57
- }), 1) : a(e.useSplitPane ? "splitpanes" : "div", { tag: "component", staticClass: "layout-wrapper", style: !e.canEdit && {
58
- "flex-direction": e.forceHorizontal || e.layout === "horizontal" ? "column" : "row"
59
- }, attrs: { horizontal: e.forceHorizontal ? !0 : e.layout === "horizontal", vertical: e.forceHorizontal ? !1 : e.layout === "vertical" }, on: { resize: e.onResize } }, e._l(e.items, function(o, s) {
60
- return a(e.useSplitPane ? "pane" : "div", { key: s, tag: "component", style: !e.useSplitPane && {
61
- flex: `1 1 ${o.size}%`
62
- }, attrs: { size: o.size } }, [a(`${o.type}Wrapper`, e._g({ tag: "component", staticClass: "item", attrs: { _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners))], 1);
63
- }), 1);
64
- }, _ = [], p = /* @__PURE__ */ n(
65
- d,
66
- h,
67
- _,
68
- !1,
69
- null,
70
- "683ee6d3"
71
- );
72
- const v = p.exports, f = {
73
- name: "HeaderBlock",
74
- components: {
75
- PriceHeader: () => import("./PriceHeader-DClYMPcq.js"),
76
- HeaderSettings: () => import("./HeaderSettings-C27fMugK.js"),
77
- HeaderItems: v
78
- },
79
- mixins: [r(["header"]), l],
80
- data() {
81
- return {
82
- showControls: !1
83
- };
84
- },
85
- computed: {
86
- layout() {
87
- var t;
88
- return (t = this.header) == null ? void 0 : t.layout;
89
- },
90
- items() {
91
- var t;
92
- return ((t = this.header) == null ? void 0 : t.items) || [];
93
- },
94
- mediaPath() {
95
- const t = this.items.findIndex(({ type: e }) => e === "media");
96
- return t !== -1 ? `${this._value.header}.items.${t}.media` : "";
97
- },
98
- contentPath() {
99
- const t = this.items.findIndex(({ type: e }) => e === "content");
100
- return t !== -1 ? `${this._value.header}.items.${t}` : "";
101
- }
102
- }
103
- };
104
- var $ = function() {
105
- var e = this, a = e._self._c;
106
- return a("div", { staticClass: "header-root", class: {
107
- "has-parent-nav": e.viewSettings.isForm,
108
- "has-hover": e.showControls
109
- }, on: { "&mouseover": function(o) {
110
- e.showControls = !0;
111
- }, "&mouseleave": function(o) {
112
- e.showControls = !1;
113
- } } }, [e.layout === "price" ? a("PriceHeader", e._g({ attrs: { _document: e._document, _value: {
114
- media: e.mediaPath,
115
- backgroundColor: `${e.contentPath}.media.backgroundColor`,
116
- documentName: `${e.contentPath}.value.documentName`,
117
- showLogo: `${e.contentPath}.value.showLogo`,
118
- logotype: `${e.contentPath}.value.logotype`,
119
- showPriceSummary: `${e._value.header}.showPriceSummary`
120
- }, "has-hover": e.showControls } }, e.$listeners)) : a("HeaderItems", e._g({ attrs: { _document: e._document, _value: {
121
- layout: `${e._value.header}.layout`,
122
- items: `${e._value.header}.items`,
123
- baseStyle: `${e._value.header}.baseStyle`
124
- }, "show-controls": e.showControls } }, e.$listeners)), e.isForm ? [e.showDrawer ? a("portal", { attrs: { to: "drawer-content" } }, [a("HeaderSettings", { attrs: { _document: e._document, _value: {
125
- layout: `${e._value.header}.layout`,
126
- items: `${e._value.header}.items`,
127
- showPriceSummary: `${e._value.header}.showPriceSummary`,
128
- media: e.mediaPath,
129
- backgroundColor: `${e.contentPath}.media.backgroundColor`,
130
- textAlign: `${e._value.header}.baseStyle.textAlign`,
131
- textColor: `${e._value.header}.baseStyle.textColor`
132
- } } })], 1) : e._e()] : e._e()], 2);
133
- }, y = [], g = /* @__PURE__ */ n(
134
- f,
135
- $,
136
- y,
137
- !1,
138
- null,
139
- null
140
- );
141
- const x = g.exports;
142
- export {
143
- x as default
144
- };
@@ -1,33 +0,0 @@
1
- import { m as n } from "./mapFormMixin-Cu_vkTP-.js";
2
- import { n as i } from "./main-BL_yzf2r.js";
3
- const r = {
4
- name: "ExtraWorkTimeImpactText",
5
- components: {
6
- Read: () => import("./Index-RWMPRDAE.js"),
7
- Edit: () => import("./Index-Dla-mesV.js")
8
- },
9
- mixins: [
10
- n([
11
- "workStartAt",
12
- "workEndAt",
13
- "timeUnit",
14
- "noOfTimeUnits",
15
- "timeDeltaDirection"
16
- ])
17
- ]
18
- };
19
- var o = function() {
20
- var t = this, e = t._self._c;
21
- return t.canEdit ? e("Edit", t._g({ attrs: { _document: t._document, _value: t._value } }, t.$listeners)) : e("Read", { attrs: { "work-start-at": t.workStartAt, "work-end-at": t.workEndAt, "time-unit": t.timeUnit, "no-of-time-units": t.noOfTimeUnits, "time-delta-direction": t.timeDeltaDirection } });
22
- }, a = [], m = /* @__PURE__ */ i(
23
- r,
24
- o,
25
- a,
26
- !1,
27
- null,
28
- null
29
- );
30
- const d = m.exports;
31
- export {
32
- d as default
33
- };
@@ -1,57 +0,0 @@
1
- import { n as s } from "./main-BL_yzf2r.js";
2
- const n = {
3
- name: "InputCompactRow",
4
- props: {
5
- label: {
6
- type: String,
7
- required: !0
8
- },
9
- showClear: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- displayValue: {
14
- type: [String, Number, Boolean],
15
- default: ""
16
- }
17
- },
18
- data() {
19
- return {
20
- isEditing: !1
21
- };
22
- },
23
- methods: {
24
- openEdit() {
25
- this.isEditing = !0, this.$nextTick(() => {
26
- const i = this.$el.querySelector("input, [contenteditable]");
27
- i && i.focus();
28
- });
29
- },
30
- closeEdit() {
31
- this.isEditing = !1;
32
- }
33
- }
34
- };
35
- var l = function() {
36
- var t = this, e = t._self._c;
37
- return e("div", { staticClass: "input-row" }, [e("div", { staticClass: "flex w-full justify-between" }, [e("div", { staticClass: "input-label" }, [t._t("label", function() {
38
- return [t._v(t._s(t.label))];
39
- })], 2), e("div", { staticClass: "flex w-full justify-end", staticStyle: { width: "initial" } }, [t._t("toggle", function() {
40
- return [t.showClear ? e("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("remove"), expression: "$t('remove')" }], staticClass: "clear-input-button", attrs: { size: "small", icon: "x" }, on: { click: function(r) {
41
- return t.$emit("remove");
42
- } } }) : t._e(), t.isEditing ? t.$scopedSlots.bottom ? t._e() : e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: t.closeEdit, expression: "closeEdit" }], ref: "inputContainer" }, [t._t("default")], 2) : e("CButton", { staticClass: "input-toggle-button", class: { "is-edit": t.isEditing }, attrs: { type: "none", pattern: "secondary", size: "small" }, on: { click: t.openEdit } }, [t._t("displayValue", function() {
43
- return [t._v(t._s(t.displayValue))];
44
- })], 2)];
45
- })], 2)]), t.$scopedSlots.bottom ? e("div", [e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => t.isEditing ? t.closeEdit : null, expression: "() => (isEditing ? closeEdit : null)" }] }, [t._t("bottom", null, { isEditing: t.isEditing, closeEdit: t.closeEdit })], 2)]) : t._e()]);
46
- }, o = [], a = /* @__PURE__ */ s(
47
- n,
48
- l,
49
- o,
50
- !1,
51
- null,
52
- "089f7e86"
53
- );
54
- const d = a.exports;
55
- export {
56
- d as I
57
- };