@cling-se/widget 0.21.3 → 0.22.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 (129) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
  3. package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
  4. package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
  5. package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
  6. package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
  7. package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
  8. package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
  9. package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
  11. package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
  12. package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
  13. package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
  14. package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
  15. package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
  16. package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
  17. package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
  18. package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
  19. package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
  20. package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
  21. package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
  22. package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
  23. package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
  24. package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
  25. package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
  26. package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
  27. package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
  28. package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
  29. package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
  30. package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
  31. package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
  32. package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
  33. package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
  34. package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
  35. package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
  36. package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
  37. package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
  38. package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
  39. package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
  40. package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
  41. package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
  42. package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
  43. package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
  44. package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
  45. package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
  46. package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
  47. package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
  48. package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
  49. package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
  50. package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
  51. package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
  52. package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
  53. package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
  54. package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
  55. package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
  56. package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
  57. package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
  58. package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
  59. package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
  60. package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
  61. package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
  62. package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
  63. package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
  64. package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
  65. package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
  66. package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
  67. package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
  68. package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
  69. package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
  70. package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
  71. package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
  72. package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
  73. package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
  74. package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
  75. package/dist/Index-Ra_-tX11.js +106 -0
  76. package/dist/Index-aOBMRrRj.js +4 -0
  77. package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
  78. package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
  79. package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
  80. package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
  81. package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
  82. package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
  83. package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
  84. package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
  85. package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
  86. package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
  88. package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
  89. package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
  90. package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
  91. package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
  92. package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DyiB_0J-.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
  94. package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
  95. package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
  96. package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
  97. package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
  98. package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
  99. package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
  100. package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
  101. package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
  102. package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
  103. package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
  104. package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
  105. package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
  106. package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
  107. package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
  108. package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
  109. package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
  110. package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
  111. package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +140 -138
  114. package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
  115. package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
  116. package/dist/omit-Cdd54eFA.js +56 -0
  117. package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
  118. package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
  119. package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
  120. package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
  121. package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
  122. package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
  123. package/dist/validation-CWxbj-wT.js +40 -0
  124. package/dist/widget.css +1 -1
  125. package/package.json +1 -1
  126. package/dist/Index-C7fJuk6X.js +0 -4
  127. package/dist/Index-M2_bF0WP.js +0 -87
  128. package/dist/omit-D9nqAztq.js +0 -56
  129. package/dist/validation-BJw9_38H.js +0 -40
@@ -1,4 +1,4 @@
1
- import { d as m, o as f, W as k, b as S, j as h, f as v, u as R, c4 as ee, t as Y, x as J, e as p, c as U, v as T, _ as te } from "./main-BN-1fMb8.js";
1
+ import { d as m, o as f, X as k, b as S, j as h, f as v, v as R, c5 as ee, t as Y, y as J, e as p, c as U, x as T, _ as te } from "./main-BBhJGb7I.js";
2
2
  const re = "";
3
3
  function H(e, t) {
4
4
  t === void 0 && (t = {});
@@ -454,14 +454,14 @@ function ye(e) {
454
454
  a: r
455
455
  };
456
456
  }
457
- var Ce = "[-\\+]?\\d+%?", _e = "[-\\+]?\\d*\\.\\d+%?", C = "(?:".concat(_e, ")|(?:").concat(Ce, ")"), $ = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), j = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), b = {
457
+ var Ce = "[-\\+]?\\d+%?", _e = "[-\\+]?\\d*\\.\\d+%?", C = "(?:".concat(_e, ")|(?:").concat(Ce, ")"), X = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), $ = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), b = {
458
458
  CSS_UNIT: new RegExp(C),
459
- rgb: new RegExp("rgb" + $),
460
- rgba: new RegExp("rgba" + j),
461
- hsl: new RegExp("hsl" + $),
462
- hsla: new RegExp("hsla" + j),
463
- hsv: new RegExp("hsv" + $),
464
- hsva: new RegExp("hsva" + j),
459
+ rgb: new RegExp("rgb" + X),
460
+ rgba: new RegExp("rgba" + $),
461
+ hsl: new RegExp("hsl" + X),
462
+ hsla: new RegExp("hsla" + $),
463
+ hsv: new RegExp("hsv" + X),
464
+ hsva: new RegExp("hsva" + $),
465
465
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
466
466
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
467
467
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -682,7 +682,7 @@ var Me = (
682
682
  function y(...e) {
683
683
  return new Me(...e);
684
684
  }
685
- function W(e, t) {
685
+ function j(e, t) {
686
686
  const r = e && e.a;
687
687
  let n;
688
688
  e && e.hsl ? n = y(e.hsl) : e && e.hex && e.hex.length > 0 ? n = y(e.hex) : e && e.hsv ? n = y(e.hsv) : e && e.rgba ? n = y(e.rgba) : e && e.rgb ? n = y(e.rgb) : n = y(e), n && (n._a === void 0 || n._a === null) && n.setAlpha(r || n.getAlpha());
@@ -706,7 +706,7 @@ var Se = {
706
706
  props: ["modelValue"],
707
707
  data() {
708
708
  return {
709
- val: W(this.modelValue)
709
+ val: j(this.modelValue)
710
710
  };
711
711
  },
712
712
  computed: {
@@ -721,12 +721,12 @@ var Se = {
721
721
  },
722
722
  watch: {
723
723
  modelValue(e) {
724
- this.val = W(e);
724
+ this.val = j(e);
725
725
  }
726
726
  },
727
727
  methods: {
728
728
  colorChange(e, t) {
729
- this.oldHue = this.colors.hsl.h, this.colors = W(e, t || this.oldHue);
729
+ this.oldHue = this.colors.hsl.h, this.colors = j(e, t || this.oldHue);
730
730
  },
731
731
  isValidHex(e) {
732
732
  return y(e).isValid;
@@ -842,7 +842,7 @@ H(Le);
842
842
  F.render = Te;
843
843
  F.__file = "src/components/editable-input/editable-input.vue";
844
844
  F.install = A;
845
- function X(e, t, r) {
845
+ function W(e, t, r) {
846
846
  return t < r ? e < t ? t : e > r ? r : e : e < r ? r : e > t ? t : e;
847
847
  }
848
848
  var B = {
@@ -870,7 +870,7 @@ var B = {
870
870
  const { container: r } = this.$refs;
871
871
  if (!r)
872
872
  return;
873
- const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, o = r.getBoundingClientRect().top + window.pageYOffset, s = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = X(s - i, 0, n), c = X(u - o, 0, a), l = x / n, M = X(-(c / a) + 1, 0, 1);
873
+ const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, o = r.getBoundingClientRect().top + window.pageYOffset, s = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = W(s - i, 0, n), c = W(u - o, 0, a), l = x / n, M = W(-(c / a) + 1, 0, 1);
874
874
  this.onChange({
875
875
  h: this.colors.hsv.h,
876
876
  s: l,
@@ -1033,7 +1033,7 @@ const Ue = ["aria-valuenow"], Ve = /* @__PURE__ */ h(
1033
1033
  ), ze = [
1034
1034
  Ve
1035
1035
  ];
1036
- function $e(e, t, r, n, a, i) {
1036
+ function Xe(e, t, r, n, a, i) {
1037
1037
  return f(), m(
1038
1038
  "div",
1039
1039
  {
@@ -1068,9 +1068,9 @@ function $e(e, t, r, n, a, i) {
1068
1068
  /* CLASS */
1069
1069
  );
1070
1070
  }
1071
- var je = ".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";
1072
- H(je);
1073
- N.render = $e;
1071
+ var $e = ".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";
1072
+ H($e);
1073
+ N.render = Xe;
1074
1074
  N.__file = "src/components/hue/hue.vue";
1075
1075
  N.install = A;
1076
1076
  var O = {
@@ -1181,7 +1181,7 @@ var O = {
1181
1181
  }
1182
1182
  }
1183
1183
  };
1184
- const We = { class: "vc-chrome-saturation-wrap" }, Xe = { class: "vc-chrome-body" }, Pe = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
1184
+ const je = { class: "vc-chrome-saturation-wrap" }, We = { class: "vc-chrome-body" }, Pe = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
1185
1185
  key: 0,
1186
1186
  class: "vc-chrome-alpha-wrap"
1187
1187
  }, Je = {
@@ -1215,13 +1215,13 @@ function pt(e, t, r, n, a, i) {
1215
1215
  class: J(["vc-chrome", [r.disableAlpha ? "vc-chrome__disable-alpha" : ""]])
1216
1216
  },
1217
1217
  [
1218
- h("div", We, [
1218
+ h("div", je, [
1219
1219
  v(o, {
1220
1220
  value: e.colors,
1221
1221
  onChange: i.childChange
1222
1222
  }, null, 8, ["value", "onChange"])
1223
1223
  ]),
1224
- h("div", Xe, [
1224
+ h("div", We, [
1225
1225
  h("div", Pe, [
1226
1226
  h("div", Ye, [
1227
1227
  h("div", {
@@ -1,14 +1,14 @@
1
- import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js";
2
- import { C as U } from "./CPhoneInput-BUgER0Oa.js";
3
- import { w as v } from "./CDropdownItem-CM3Ir-XA.js";
4
- import { _ as F, m as P, aq as f, ar as S, a as M, b as r, d as N, o as y, j as d, c as V, e as z, f as i, t as h, w as m, q as I, W as _, an as $, x as O, g as l } from "./main-BN-1fMb8.js";
5
- import { u as E } from "./index-Ze_XZYbW.js";
6
- import { e as k, r as w } from "./index-JV3eF8nv.js";
7
- import { s as q, a as C } from "./publicSenderState-BbL_iSL_.js";
8
- const { mapFields: R } = S({
1
+ import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
2
+ import { C as U } from "./CPhoneInput-BQHgpUCY.js";
3
+ import { w as v } from "./CDropdownItem-pNNH9fV3.js";
4
+ import { _ as F, m as P, ar as f, as as S, a as M, b as r, d as N, o as y, j as d, c as V, e as z, f as i, t as h, w as m, s as I, X as _, ao as $, y as O, g as l } from "./main-BBhJGb7I.js";
5
+ import { u as E } from "./index-CPfrJsi9.js";
6
+ import { e as k, r as w } from "./index-C-tsPusW.js";
7
+ import { s as R, a as C } from "./publicSenderState-LkIY-kEl.js";
8
+ const { mapFields: B } = S({
9
9
  getterType: "forms/getField",
10
10
  mutationType: "forms/updateField"
11
- }), B = {
11
+ }), q = {
12
12
  name: "CompanyModal",
13
13
  components: {
14
14
  CPhoneInput: U,
@@ -52,7 +52,7 @@ const { mapFields: R } = S({
52
52
  companyRegion: "application/companyRegion",
53
53
  can: "application/can"
54
54
  }),
55
- ...R({
55
+ ...B({
56
56
  company: "company",
57
57
  user: "companyUser",
58
58
  name: "company.name",
@@ -111,7 +111,7 @@ const { mapFields: R } = S({
111
111
  }));
112
112
  },
113
113
  async save() {
114
- this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? q({ company: this.company, user: this.user }) : await Promise.all([
114
+ this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? R({ company: this.company, user: this.user }) : await Promise.all([
115
115
  ...this.hasChanged("company") ? [this.formSubmitCompany()] : [],
116
116
  ...this.hasChanged("companyUser") && this.currentUserId === this.documentCompanyUserId ? [this.formSubmitCompanyUser()] : []
117
117
  ]), this.$emit("close"), this.isLoading = !1);
@@ -244,7 +244,7 @@ function D(e, a, c, p, Y, s) {
244
244
  ], 4)
245
245
  ], 34);
246
246
  }
247
- const Q = /* @__PURE__ */ F(B, [["render", D], ["__scopeId", "data-v-8b6e54fb"]]);
247
+ const K = /* @__PURE__ */ F(q, [["render", D], ["__scopeId", "data-v-8b6e54fb"]]);
248
248
  export {
249
- Q as default
249
+ K as default
250
250
  };
@@ -1,8 +1,8 @@
1
- import { m as T } from "./mapFormMixin-CM1I_eW_.js";
2
- import { B as k } from "./BlockMedia-Dy_--7Vj.js";
3
- import { t as w } from "./template-BwkDoewU.js";
4
- import { T as L } from "./DocTextEditor-i_xyQACD.js";
5
- import { _ as f, d, o as l, T as s, j as p, x as b, ah as $, ae as x, ag as C, l as S, b3 as N, b as i, f as h, w as m, c as u, e as _, R as E } from "./main-BN-1fMb8.js";
1
+ import { m as T } from "./mapFormMixin-CCKubywa.js";
2
+ import { B as k } from "./BlockMedia-B1T85G4R.js";
3
+ import { t as w } from "./template-B-Ds8x_U.js";
4
+ import { T as L } from "./DocTextEditor-BGzwRwjt.js";
5
+ import { _ as h, d, o as l, U as s, j as p, y as b, ai as $, af as C, ah as S, n as x, b4 as N, b as i, f, w as m, c as u, e as _, T as E } from "./main-BBhJGb7I.js";
6
6
  import { i as F } from "./i18nMessages-Chz_lxGG.js";
7
7
  const M = {
8
8
  name: "StaticComboLayout",
@@ -23,7 +23,7 @@ const M = {
23
23
  class: "flex w-full flex-col justify-center",
24
24
  style: { flex: "1 1 auto" }
25
25
  };
26
- function j(e, t, n, g, v, o) {
26
+ function j(e, t, n, v, g, o) {
27
27
  return ["horizontal"].includes(n.layout) ? (l(), d("div", B, [
28
28
  s(e.$slots, "logo"),
29
29
  p("div", V, [
@@ -46,17 +46,17 @@ function j(e, t, n, g, v, o) {
46
46
  s(e.$slots, "postText")
47
47
  ], 2));
48
48
  }
49
- const z = /* @__PURE__ */ f(M, [["render", j]]), A = {
49
+ const U = /* @__PURE__ */ h(M, [["render", j]]), z = {
50
50
  name: "StaticLayout",
51
51
  i18nOptions: {
52
52
  namespaces: "staticLayout",
53
53
  messages: F
54
54
  },
55
55
  components: {
56
- DocumentLogotype: S(
57
- () => import("./DocumentLogotype-BTLs13IJ.js")
56
+ DocumentLogotype: x(
57
+ () => import("./DocumentLogotype-0jH2-sr7.js")
58
58
  ),
59
- StaticComboLayout: z,
59
+ StaticComboLayout: U,
60
60
  TextEditor: L
61
61
  },
62
62
  emits: ["input"],
@@ -102,20 +102,20 @@ const z = /* @__PURE__ */ f(M, [["render", j]]), A = {
102
102
  }
103
103
  },
104
104
  methods: {
105
- mustacheToSpan: C,
106
- spanToMustache: x,
105
+ mustacheToSpan: S,
106
+ spanToMustache: C,
107
107
  interpolateString: $
108
108
  }
109
- }, I = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, U = ["innerHTML"];
110
- function D(e, t, n, g, v, o) {
109
+ }, A = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, I = ["innerHTML"];
110
+ function D(e, t, n, v, g, o) {
111
111
  const c = i("DocumentLogotype"), r = i("TextEditor"), y = i("StaticComboLayout");
112
112
  return l(), d("div", {
113
113
  class: b([[`is-layout-${e.layout}`], "dont-break-out hyphens-auto flex w-full flex-col break-words"]),
114
114
  style: { "word-wrap": "break-word", "word-break": "break-word" }
115
115
  }, [
116
- h(y, { layout: e.layout }, {
116
+ f(y, { layout: e.layout }, {
117
117
  logo: m(() => [
118
- h(c, {
118
+ f(c, {
119
119
  modelValue: e.logotype,
120
120
  "onUpdate:modelValue": t[0] || (t[0] = (a) => e.logotype = a),
121
121
  "show-logo": e.showLogo,
@@ -142,7 +142,7 @@ function D(e, t, n, g, v, o) {
142
142
  }, null, 8, ["model-value", "mentions", "placeholder"]))
143
143
  ]),
144
144
  documentName: m(() => [
145
- p("div", I, [
145
+ p("div", A, [
146
146
  e.canEdit ? (l(), u(r, {
147
147
  key: 0,
148
148
  ref: "nameEditor",
@@ -165,7 +165,7 @@ function D(e, t, n, g, v, o) {
165
165
  key: 1,
166
166
  class: "header-text",
167
167
  innerHTML: o.internalName
168
- }, null, 8, U))
168
+ }, null, 8, I))
169
169
  ])
170
170
  ]),
171
171
  postText: m(() => [
@@ -191,7 +191,7 @@ function D(e, t, n, g, v, o) {
191
191
  }, 8, ["layout"])
192
192
  ], 2);
193
193
  }
194
- const O = /* @__PURE__ */ f(A, [["render", D], ["__scopeId", "data-v-71f38644"]]), q = {
194
+ const O = /* @__PURE__ */ h(z, [["render", D], ["__scopeId", "data-v-71f38644"]]), q = {
195
195
  name: "ContentWrapper",
196
196
  components: {
197
197
  StaticCombo: O,
@@ -228,7 +228,7 @@ const O = /* @__PURE__ */ f(A, [["render", D], ["__scopeId", "data-v-71f38644"]]
228
228
  }
229
229
  }
230
230
  }, W = { class: "content-spacing" };
231
- function P(e, t, n, g, v, o) {
231
+ function P(e, t, n, v, g, o) {
232
232
  const c = i("BlockMedia"), r = i("StaticCombo");
233
233
  return l(), d("div", E(e.$attrs, {
234
234
  style: { color: o.color, textAlign: o.textAlign },
@@ -240,7 +240,7 @@ function P(e, t, n, g, v, o) {
240
240
  class: "content-media"
241
241
  }, null, 8, ["media"])) : _("", !0),
242
242
  p("div", W, [
243
- h(r, {
243
+ f(r, {
244
244
  "has-hover": n.hasHover,
245
245
  _document: e._document,
246
246
  _value: {
@@ -257,7 +257,7 @@ function P(e, t, n, g, v, o) {
257
257
  ])
258
258
  ], 16);
259
259
  }
260
- const Y = /* @__PURE__ */ f(q, [["render", P], ["__scopeId", "data-v-2f78775e"]]);
260
+ const Y = /* @__PURE__ */ h(q, [["render", P], ["__scopeId", "data-v-2f78775e"]]);
261
261
  export {
262
262
  Y as default
263
263
  };
@@ -1,11 +1,11 @@
1
- import { m as z } from "./mapFormMixin-CM1I_eW_.js";
2
- import { T as B } from "./ThemeColorRow-BiwW-diz.js";
3
- import { b as T } from "./helpers-H5tqC2mD.js";
4
- import { _ as w, N as M, d as u, o as l, j as n, R as x, ai as f, an as y, e as p, T as $, W as b, x as L, b as g, f as v, c as S, F as V, n as _, t as h, ad as N, w as k, q as C, l as R, au as U } from "./main-BN-1fMb8.js";
5
- import { b as I } from "./CDropdownItem-CM3Ir-XA.js";
1
+ import { m as z } from "./mapFormMixin-CCKubywa.js";
2
+ import { T as B } from "./ThemeColorRow-7KF7icN8.js";
3
+ import { b as T } from "./helpers-Dw4CluFv.js";
4
+ import { _ as w, N as U, d as u, o as l, j as n, T as x, aj as f, ao as y, e as p, U as $, X as b, y as L, b as g, f as v, c as S, F as V, q as _, t as h, ae as M, w as k, s as C, n as R, av as N } from "./main-BBhJGb7I.js";
5
+ import { b as I } from "./CDropdownItem-pNNH9fV3.js";
6
6
  const K = {
7
7
  name: "CSliderThumb",
8
- mixins: [M],
8
+ mixins: [U],
9
9
  props: {
10
10
  modelValue: {
11
11
  type: Number,
@@ -100,8 +100,8 @@ const K = {
100
100
  a = parseFloat(a.toFixed(this.precision)), this.$emit("update:modelValue", a), !this.dragging && a !== this.oldValue && (this.oldValue = a);
101
101
  }
102
102
  }
103
- }, O = ["tabindex"];
104
- function X(e, t, s, a, r, i) {
103
+ }, X = ["tabindex"];
104
+ function O(e, t, s, a, r, i) {
105
105
  return l(), u("div", x({
106
106
  class: [{ "is-dragging": r.dragging }, "c-slider-thumb-wrapper"],
107
107
  style: i.wrapperStyle
@@ -121,10 +121,10 @@ function X(e, t, s, a, r, i) {
121
121
  t[8] || (t[8] = f(y((...o) => i.onHomeKeyDown && i.onHomeKeyDown(...o), ["prevent"]), ["home"])),
122
122
  t[9] || (t[9] = f(y((...o) => i.onEndKeyDown && i.onEndKeyDown(...o), ["prevent"]), ["end"]))
123
123
  ]
124
- }), null, 16, O)
124
+ }), null, 16, X)
125
125
  ], 16);
126
126
  }
127
- const A = /* @__PURE__ */ w(K, [["render", X]]), H = {
127
+ const A = /* @__PURE__ */ w(K, [["render", O]]), H = {
128
128
  name: "CSliderTick",
129
129
  props: {
130
130
  value: {
@@ -379,17 +379,17 @@ const G = /* @__PURE__ */ w(H, [["render", q]]), Y = {
379
379
  );
380
380
  }
381
381
  }
382
- }, W = {
382
+ }, J = {
383
383
  ref: "slider",
384
384
  class: "c-slider-track"
385
385
  };
386
- function J(e, t, s, a, r, i) {
386
+ function Q(e, t, s, a, r, i) {
387
387
  const o = g("CSliderTick"), c = g("CSliderThumb");
388
388
  return l(), u("div", {
389
389
  class: L([[`is-${s.size}`, `is-${s.type}`, i.rootClasses], "c-slider"]),
390
390
  onClick: t[2] || (t[2] = (...m) => i.onSliderClick && i.onSliderClick(...m))
391
391
  }, [
392
- n("div", W, [
392
+ n("div", J, [
393
393
  n("div", {
394
394
  style: b(i.barStyle),
395
395
  class: "c-slider-fill"
@@ -437,7 +437,7 @@ function J(e, t, s, a, r, i) {
437
437
  ], 512)
438
438
  ], 2);
439
439
  }
440
- const Q = /* @__PURE__ */ w(Y, [["render", J]]), Z = (e, t, s, a) => Math.atan2(e - s, t - a) * (180 / Math.PI) * -1 + 180, ee = {
440
+ const W = /* @__PURE__ */ w(Y, [["render", Q]]), Z = (e, t, s, a) => Math.atan2(e - s, t - a) * (180 / Math.PI) * -1 + 180, ee = {
441
441
  name: "DegreePicker",
442
442
  emits: ["input"],
443
443
  props: {
@@ -528,7 +528,7 @@ const oe = /* @__PURE__ */ w(ee, [["render", se], ["__scopeId", "data-v-91289bf6
528
528
  },
529
529
  data() {
530
530
  return {
531
- set: N,
531
+ set: M,
532
532
  defaultValue: {
533
533
  type: "linear",
534
534
  degree: 0,
@@ -600,10 +600,10 @@ function le(e, t, s, a, r, i) {
600
600
  }
601
601
  const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-415e3658"]]), ue = {
602
602
  image: R(
603
- () => import("./ImageSelectModal-d2IEg740.js")
603
+ () => import("./ImageSelectModal-BNXs_Rfh.js")
604
604
  ),
605
605
  video: R(
606
- () => import("./VideoSelectModal-CjOlhyNV.js")
606
+ () => import("./VideoSelectModal-Beq5yE0M.js")
607
607
  )
608
608
  }, me = {
609
609
  name: "CoverBlockSettings",
@@ -631,7 +631,7 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-415e3658
631
631
  components: {
632
632
  ThemeColorRow: B,
633
633
  GradientPicker: de,
634
- CSlider: Q,
634
+ CSlider: W,
635
635
  CSwitch: I
636
636
  },
637
637
  mixins: [
@@ -653,7 +653,7 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-415e3658
653
653
  ],
654
654
  data() {
655
655
  return {
656
- getUnsplashResized: U
656
+ getUnsplashResized: N
657
657
  };
658
658
  },
659
659
  methods: {
@@ -1,5 +1,5 @@
1
- import n from "./AnswerModal-J1UhMHpo.js";
2
- import { _ as t, b as c, c as r, o as s } from "./main-BN-1fMb8.js";
1
+ import n from "./AnswerModal-vTetGwVn.js";
2
+ import { _ as t, b as c, c as r, o as s } from "./main-BBhJGb7I.js";
3
3
  const u = {
4
4
  components: {
5
5
  AnswerModal: n