@cling-se/widget 0.15.3 → 0.15.6

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 (134) hide show
  1. package/README.md +43 -43
  2. package/dist/{AddClientCallout-8s5a1_CZ.js → AddClientCallout-BpWCvb7A.js} +15 -13
  3. package/dist/{AnswerModal-Cnp43tGo.js → AnswerModal-0JXov7oA.js} +71 -71
  4. package/dist/{AttachmentItem-BP85gcjP.js → AttachmentItem-C93ndWhI.js} +17 -12
  5. package/dist/{BaseDatePicker-C27CsTzy.js → BaseDatePicker-BaUxrKlN.js} +2 -2
  6. package/dist/{BaseUpload-DnhS3hGx.js → BaseUpload-CACi6tYY.js} +3 -3
  7. package/dist/{BlockMedia-D4nhek2s.js → BlockMedia-Dlv23tgo.js} +2 -2
  8. package/dist/{CCallout-CQjRcxpC.js → CCallout-jnIpJu5U.js} +4 -5
  9. package/dist/{CCurrencyDropdown-BT01qBGg.js → CCurrencyDropdown-BQLDbp9J.js} +4 -4
  10. package/dist/{CDropdownItem-BSPNul90.js → CDropdownItem-CNUf29O4.js} +139 -37
  11. package/dist/{CFormField-Cz_jNazS.js → CFormField-qy_STCgm.js} +3 -4
  12. package/dist/{CPhoneFormat-C017AoM0.js → CPhoneFormat-BZd_xftN.js} +1 -1
  13. package/dist/CPhoneInput-j4Zuah8p.js +138 -0
  14. package/dist/{CPriceInput-jktMjvwx.js → CPriceInput-CXGw4w0R.js} +2 -2
  15. package/dist/CSelect-CSwTYXae.js +91 -0
  16. package/dist/CSkeleton-B5J9cKAm.js +55 -0
  17. package/dist/ClientAutocomplete-CjaUEuHJ.js +438 -0
  18. package/dist/{ClientModal-DLtFhJya.js → ClientModal-Cn40dzh3.js} +77 -42
  19. package/dist/{ColorPicker-MQmVGbvm.js → ColorPicker-wUW8hJ8i.js} +2 -2
  20. package/dist/{CompanyModal-Qx5xMku0.js → CompanyModal-CbcusrDu.js} +25 -19
  21. package/dist/{ContentWrapper-B9NQqp2q.js → ContentWrapper-Bad8dXOX.js} +11 -11
  22. package/dist/CoverBlockSettings-DX390gBU.js +659 -0
  23. package/dist/{DocAnswer-BlxFv_Gc.js → DocAnswer-BESzyKCO.js} +2 -2
  24. package/dist/{DocDetails-dGcYGJpp.js → DocDetails-1rMbwwY3.js} +10 -10
  25. package/dist/{DocForm-C6o_XBcW.js → DocForm-B3IxEK4j.js} +512 -498
  26. package/dist/{DocFormSend-_prtxNIf.js → DocFormSend-sm8Hu8Be.js} +14 -15
  27. package/dist/{DocLinks-Dp495SCS.js → DocLinks-CyXFaNcq.js} +2 -2
  28. package/dist/{DocModalBase-B0wYq3ft.js → DocModalBase-CSh4Lkzq.js} +2 -2
  29. package/dist/{DocPrint-CURxofeU.js → DocPrint-BQ-M-3OC.js} +3 -3
  30. package/dist/{DocReceipt-DgGcBRVH.js → DocReceipt-OoEOv4bh.js} +25 -20
  31. package/dist/{DocSendReminder-CPty4svi.js → DocSendReminder-dQcAFIdw.js} +19 -16
  32. package/dist/{DocTextEditor-BYsXFRLg.js → DocTextEditor-Ckfx6Hj5.js} +13 -15
  33. package/dist/{DocTimeline-CHg1QykR.js → DocTimeline-DDaN8k9R.js} +36 -34
  34. package/dist/{DocumentClient-CZ6N73pQ.js → DocumentClient-DBA3AQQG.js} +5 -5
  35. package/dist/{DocumentLayout-CiszuoQc.js → DocumentLayout-D42e3G51.js} +1503 -1539
  36. package/dist/{DocumentLogotype-BgFCWcwC.js → DocumentLogotype-ngySb8g4.js} +18 -15
  37. package/dist/{DocumentVoided-DT2hhHk2.js → DocumentVoided-Dtj2XpOI.js} +1 -1
  38. package/dist/{EmbedInput-aLmvzK1I.js → EmbedInput-CxqpXi4D.js} +25 -21
  39. package/dist/{EmbedSettings-BZipciy9.js → EmbedSettings-B4ejIQIJ.js} +13 -11
  40. package/dist/{ErrorCallout-CNxSDsr_.js → ErrorCallout-BiCmogrM.js} +6 -6
  41. package/dist/{FilePreviewModal-DxdksQiy.js → FilePreviewModal-CpSfuR9V.js} +3 -3
  42. package/dist/Flag-B9CEVlmX.js +46 -0
  43. package/dist/{HeaderSettings-DeoSRi6O.js → HeaderSettings-CowCzINW.js} +155 -110
  44. package/dist/{ImageSelectModal-DvQz2VPi.js → ImageSelectModal-DdzcxIMp.js} +6 -6
  45. package/dist/{ImageUploadWrapper-CNQRdHF9.js → ImageUploadWrapper-CWCF8Dlc.js} +3 -3
  46. package/dist/{Index-CPjAXBMU.js → Index-07hqDjA-.js} +5 -5
  47. package/dist/{Index-CDKq7Fx6.js → Index-4_K-mW5b.js} +4 -4
  48. package/dist/Index-B4PLiPUX.js +28 -0
  49. package/dist/{Index-CjfCyQlB.js → Index-B4imH9tr.js} +5 -5
  50. package/dist/{Index-CJeSVpRh.js → Index-BGXkhXYw.js} +2 -2
  51. package/dist/{Index-BjdxeF4C.js → Index-BLK2yfMF.js} +2 -2
  52. package/dist/{Index-w5DWfGOc.js → Index-BS2bqI3s.js} +4 -4
  53. package/dist/{Index-CWj2vDHc.js → Index-BXm5pjk3.js} +49 -44
  54. package/dist/{Index-B3Q09phm.js → Index-BY9jJJk1.js} +4 -4
  55. package/dist/{Index-BEpKb8IR.js → Index-BeAySORd.js} +4 -4
  56. package/dist/{Index-BIv8flFB.js → Index-BguXp1xd.js} +9 -9
  57. package/dist/{Index-CTqdaykO.js → Index-CEQgPBnH.js} +18 -12
  58. package/dist/{Index-q04Dwxrr.js → Index-CWRkkwfa.js} +7 -7
  59. package/dist/{Index-3bD76d9q.js → Index-CaRFixxe.js} +7 -7
  60. package/dist/{Index-D-l3i9vY.js → Index-ClP8s9kZ.js} +3 -3
  61. package/dist/{Index-BDCgilFk.js → Index-Cmu_M3TM.js} +2 -2
  62. package/dist/{Index-BglKAnNq.js → Index-Cnyk_-IC.js} +7 -7
  63. package/dist/{Index-CvRNeJ4U.js → Index-CpLsMmCx.js} +124 -123
  64. package/dist/{Index-CXibuEkU.js → Index-D7WQe9WH.js} +15 -15
  65. package/dist/{Index-CTk6Nh-I.js → Index-DAsAy5JF.js} +7 -7
  66. package/dist/{Index-BiVwDgqW.js → Index-DEcCSixa.js} +2 -2
  67. package/dist/{Index-PUFeH_1z.js → Index-DMy3kJ7T.js} +4 -4
  68. package/dist/{Index-Cfc0Q0AG.js → Index-DWC0ggkj.js} +6 -6
  69. package/dist/{Index-B0n1UOOA.js → Index-DZ59IAyR.js} +6 -6
  70. package/dist/{Index-S3LqU0A0.js → Index-DdJbi1AO.js} +12 -10
  71. package/dist/{Index-B9_POjpY.js → Index-Df9ct4wb.js} +23 -21
  72. package/dist/{Index-D1NwTUs-.js → Index-DhrjL3IY.js} +5 -5
  73. package/dist/{Index-FC1UsElU.js → Index-Dm0Fzc6C.js} +7 -7
  74. package/dist/{Index-Ch5j2tqD.js → Index-DqSikIZB.js} +2 -2
  75. package/dist/{Index-BeMeWDIf.js → Index-DtSf7JJt.js} +6 -6
  76. package/dist/{Index-BNJ2KHKc.js → Index-FfBNBm3w.js} +3 -3
  77. package/dist/{Index-jIIHHGh3.js → Index-SN7H4PM1.js} +489 -471
  78. package/dist/{Index-CePHdKi2.js → Index-U_PvsI4Y.js} +5 -5
  79. package/dist/{Index-C-CE21WK.js → Index-sFiPn5zO.js} +5 -5
  80. package/dist/{InputToggleRow-CvHvRdsn.js → InputToggleRow-CRC8ievQ.js} +2 -2
  81. package/dist/{ManualPopover-DxE-6-Sp.js → ManualPopover-15SKAS2F.js} +1 -1
  82. package/dist/{MediaWrapper-DNi80fbw.js → MediaWrapper-CihDdp6P.js} +3 -3
  83. package/dist/{NotBindingText-D2rYFVxr.js → NotBindingText-nUBihSic.js} +2 -2
  84. package/dist/{PackageGroup-6ar8HjPo.js → PackageGroup-Bk0UeRqr.js} +26 -20
  85. package/dist/PdfTerms-Cy2kB_Zo.js +31 -0
  86. package/dist/{PdfViewer-B5qbLLtd.js → PdfViewer-BMcMfsRH.js} +5 -5
  87. package/dist/{PlainHtml-CIMtcn2F.js → PlainHtml-BDvPNe17.js} +1 -1
  88. package/dist/{PriceHeader-BSpj_-5M.js → PriceHeader-DzvUaY9O.js} +15 -15
  89. package/dist/{SearchApi-Cwgf52EV.js → SearchApi-BPJpYWWz.js} +2 -2
  90. package/dist/SendForm-DWVu8jq8.js +1023 -0
  91. package/dist/{Setup-CRmiH9lD.js → Setup-DjxGq4d9.js} +1 -1
  92. package/dist/{SmartList-D6AvxfSL.js → SmartList-Bh10ojB0.js} +1 -1
  93. package/dist/{TermsSettings-DEO1O460.js → TermsSettings-Cg8TYiLL.js} +17 -12
  94. package/dist/{ThemeColorRow-Cy1NKEIG.js → ThemeColorRow-BeNhoFSI.js} +4 -4
  95. package/dist/{ToggleBinding-BvIUt1Jx.js → ToggleBinding-KmMUK5gz.js} +12 -10
  96. package/dist/{UploadModal-C1j-GeMD.js → UploadModal-DTmPPCz3.js} +6 -6
  97. package/dist/{VideoPlayerInput-BmbrquN6.js → VideoPlayerInput-Z5j6JzLW.js} +15 -11
  98. package/dist/{VideoPlayerSettings-B7HpBoWX.js → VideoPlayerSettings-C7GjuMAw.js} +3 -3
  99. package/dist/{VideoSelectModal-CeaG2tME.js → VideoSelectModal-DMIdcoOE.js} +4 -4
  100. package/dist/{answerDocumentMixin-AcDG8Byi.js → answerDocumentMixin-DulmofDA.js} +3 -3
  101. package/dist/{debounce-HJoaSvIY.js → debounce-nohaKn7u.js} +16 -16
  102. package/dist/{focusDrawerMixin-CBYjpEGL.js → focusDrawerMixin-BsYcC4qG.js} +1 -1
  103. package/dist/{formDrawerState-DYSBcjo4.js → formDrawerState-Bpcaq429.js} +1 -1
  104. package/dist/{formValidationMixin-Dqlhg0R2.js → formValidationMixin-DYGNCEbq.js} +1 -1
  105. package/dist/{index-CLOsPxCh.js → index-BUGMJTF2.js} +35 -33
  106. package/dist/{index-CKZmpLr6.js → index-BVOHCIHl.js} +781 -2021
  107. package/dist/{index-CFe1BJZJ.js → index-CtA6LmXt.js} +1 -1
  108. package/dist/{index-zzCfHTf8.js → index-CxitjuY3.js} +2 -2
  109. package/dist/{index-CFx0cpeM.js → index-CySeSzas.js} +1 -1
  110. package/dist/{index-CFwLDxbi.js → index-zBWldKKX.js} +18 -17
  111. package/dist/index.es.js +10 -10
  112. package/dist/index.umd.js +177 -173
  113. package/dist/{main-BIwKzAN8.js → main-CfSVOXu-.js} +12995 -11349
  114. package/dist/{mapFormMixin-e2PJ431T.js → mapFormMixin-BTZaIaQ8.js} +1 -1
  115. package/dist/omit-DIEW6Th9.js +31 -0
  116. package/dist/{publicSenderState-D-_7UwjT.js → publicSenderState-B4TdI-yD.js} +1 -1
  117. package/dist/regions-BdZt9Srn.js +1250 -0
  118. package/dist/simplebar.min-BZ0EEeAp.js +71 -0
  119. package/dist/style.css +2 -2
  120. package/dist/{throttle-B2yMLA5N.js → throttle-JENEyCY1.js} +2 -2
  121. package/dist/{tinycolor-vIxz4Xgi.js → tinycolor-79beE8BV.js} +1 -1
  122. package/dist/{tippy.esm-DiOYviyf.js → tippy.esm-CR28gOMM.js} +208 -206
  123. package/dist/{utils-CFXqaEy7.js → utils-CD2k1yv3.js} +1 -1
  124. package/dist/{vuedraggable.umd-DDT8qZBI.js → vuedraggable.umd-IXGjMCUG.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-B3z6RPXr.js +0 -82
  129. package/dist/CoverBlockSettings-Bcz_W5I3.js +0 -275
  130. package/dist/Flag-3OyFDPsP.js +0 -114
  131. package/dist/Index-Cr6DlYGN.js +0 -21
  132. package/dist/PdfTerms-B-lbU_6H.js +0 -36
  133. package/dist/formComponentsInstall-DMoWrprH.js +0 -2505
  134. package/dist/omit-CpamclWf.js +0 -31
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-BIwKzAN8.js";
1
+ import { n as s, c as o, e as c } from "./main-CfSVOXu-.js";
2
2
  const i = {
3
3
  name: "Setup",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { n as s, s as r } from "./main-BIwKzAN8.js";
1
+ import { n as s, s as r } from "./main-CfSVOXu-.js";
2
2
  const o = {
3
3
  name: "SmartList",
4
4
  props: {
@@ -1,7 +1,9 @@
1
- import { i as m, G as o, n as v } from "./main-BIwKzAN8.js";
2
- import { m as c } from "./mapFormMixin-e2PJ431T.js";
3
- import g from "./Index-Cfc0Q0AG.js";
4
- const p = {
1
+ import { f as m, N as o, n as v } from "./main-CfSVOXu-.js";
2
+ import { m as c } from "./mapFormMixin-BTZaIaQ8.js";
3
+ import { C as g } from "./CCallout-jnIpJu5U.js";
4
+ import { C as p, a as u } from "./CDropdownItem-CNUf29O4.js";
5
+ import f from "./Index-DWC0ggkj.js";
6
+ const h = {
5
7
  i18nOptions: {
6
8
  namespaces: "terms",
7
9
  messages: {
@@ -29,7 +31,10 @@ const p = {
29
31
  },
30
32
  name: "TermsSettings",
31
33
  components: {
32
- TermsDisclaimer: g
34
+ TermsDisclaimer: f,
35
+ CCallout: g,
36
+ CDropdown: p,
37
+ CDropdownItem: u
33
38
  },
34
39
  mixins: [c(["term"])],
35
40
  data() {
@@ -77,7 +82,7 @@ const p = {
77
82
  truncate: o
78
83
  }
79
84
  };
80
- var u = function() {
85
+ var k = function() {
81
86
  var t = this, e = t._self._c;
82
87
  return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option-title" }, [t._v(" " + t._s(t.$t("title")) + " "), e("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("tooltip"), expression: "$t('tooltip')" }], attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [e("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), e("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), e("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })])]), e("CDropdown", { attrs: { value: t.term ? t.term.id : null, expanded: "" }, scopedSlots: t._u([{ key: "trigger", fn: function() {
83
88
  return [e("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { "dropdown-icon": !0 } }, [e("div", { staticClass: "truncate-text" }, [t._v(" " + t._s(t.truncate(t.term && t.terms.ids.length && t.terms.data[t.term.termId].name || t.$t("noneSelected"), 20)) + " ")])])];
@@ -90,15 +95,15 @@ var u = function() {
90
95
  } } }, [t._v(t._s(t.$t("notSet")))]), t.terms.ids.length ? t._e() : e("CDropdownItem", { attrs: { disabled: "" } }, [t._v(t._s(t.$t("noResults")))])], 2), t.viewSettings.isPublicForm ? e("CCallout", { staticStyle: { margin: "1em 0" }, attrs: { title: t.$t("publicFormCalloutTitle"), size: "small" } }, [t._v(" " + t._s(t.$t("publicFormCallout")) + " ")]) : t._e(), t.term ? e("TermsDisclaimer", { attrs: { _document: t._document, "term-type": t.term.type, href: t.term.href, text: t.term.text, file: t.term.file }, scopedSlots: t._u([{ key: "default", fn: function({ openTerms: a }) {
91
96
  return [e("CButton", { staticStyle: { "margin-top": "5px" }, attrs: { type: "none", pattern: "secondary", size: "small", "icon-left": "eye" }, on: { click: a } }, [t._v(" " + t._s(t.$t("show")) + " ")])];
92
97
  } }], null, !1, 1475186016) }) : t._e()], 1);
93
- }, h = [], f = /* @__PURE__ */ v(
94
- p,
95
- u,
98
+ }, b = [], _ = /* @__PURE__ */ v(
96
99
  h,
100
+ k,
101
+ b,
97
102
  !1,
98
103
  null,
99
- "caf2c4cd"
104
+ "4d461b8a"
100
105
  );
101
- const y = f.exports;
106
+ const T = _.exports;
102
107
  export {
103
- y as default
108
+ T as default
104
109
  };
@@ -1,7 +1,7 @@
1
- import { C as n } from "./ColorPicker-MQmVGbvm.js";
2
- import { M as s } from "./ManualPopover-DxE-6-Sp.js";
1
+ import { C as n } from "./ColorPicker-wUW8hJ8i.js";
2
+ import { M as s } from "./ManualPopover-15SKAS2F.js";
3
3
  import { h as a } from "./color-TdtKxwVa.js";
4
- import { n as i } from "./main-BIwKzAN8.js";
4
+ import { n as i } from "./main-CfSVOXu-.js";
5
5
  const l = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -61,7 +61,7 @@ var c = function() {
61
61
  p,
62
62
  !1,
63
63
  null,
64
- "4a704dc8"
64
+ "82de33f7"
65
65
  );
66
66
  const h = u.exports;
67
67
  export {
@@ -1,7 +1,8 @@
1
- import { m as i } from "./mapFormMixin-e2PJ431T.js";
2
- import { I as t } from "./InputToggleRow-CvHvRdsn.js";
3
- import { n as s } from "./main-BIwKzAN8.js";
4
- const a = {
1
+ import { m as i } from "./mapFormMixin-BTZaIaQ8.js";
2
+ import { I as t } from "./InputToggleRow-CRC8ievQ.js";
3
+ import { b as s } from "./CDropdownItem-CNUf29O4.js";
4
+ import { n as a } from "./main-CfSVOXu-.js";
5
+ const r = {
5
6
  name: "ToggleBinding",
6
7
  i18nOptions: {
7
8
  namespaces: "ToggleBinding",
@@ -15,7 +16,8 @@ const a = {
15
16
  }
16
17
  },
17
18
  components: {
18
- InputToggleRow: t
19
+ InputToggleRow: t,
20
+ CSwitch: s
19
21
  },
20
22
  mixins: [i(["notBinding"])]
21
23
  };
@@ -26,15 +28,15 @@ var l = function() {
26
28
  n.notBinding = o;
27
29
  }, expression: "notBinding" } })];
28
30
  }, proxy: !0 }]) })], 1);
29
- }, r = [], g = /* @__PURE__ */ s(
30
- a,
31
- l,
31
+ }, g = [], m = /* @__PURE__ */ a(
32
32
  r,
33
+ l,
34
+ g,
33
35
  !1,
34
36
  null,
35
37
  null
36
38
  );
37
- const _ = g.exports;
39
+ const u = m.exports;
38
40
  export {
39
- _ as default
41
+ u as default
40
42
  };
@@ -1,5 +1,5 @@
1
- import { i as l, h as o, H as c, n as d } from "./main-BIwKzAN8.js";
2
- import m from "./Index-BjdxeF4C.js";
1
+ import { f as l, h as o, O as c, n as d } from "./main-CfSVOXu-.js";
2
+ import m from "./Index-BLK2yfMF.js";
3
3
  import { m as p } from "./vuex.esm-DKGl8mcw.js";
4
4
  const u = {
5
5
  i18nOptions: {
@@ -48,15 +48,15 @@ const u = {
48
48
  }
49
49
  });
50
50
  this.recentFiles = (e || []).map(
51
- ({ displayName: t, mime: s, id: r, createdAt: i, url: n }) => ({
51
+ ({ displayName: t, mime: s, id: r, createdAt: n, url: i }) => ({
52
52
  name: t,
53
53
  // TODO, could refactor to only 'displayName'
54
54
  displayName: t,
55
55
  // file-uploader-component uses displayName, therefore needed for select
56
56
  mime: s,
57
57
  id: r,
58
- createdAt: i,
59
- url: n
58
+ createdAt: n,
59
+ url: i
60
60
  })
61
61
  );
62
62
  } catch (e) {
@@ -87,7 +87,7 @@ var h = function() {
87
87
  f,
88
88
  !1,
89
89
  null,
90
- "fb90a9bc"
90
+ "f11a7bdd"
91
91
  );
92
92
  const y = _.exports;
93
93
  export {
@@ -1,12 +1,16 @@
1
- import { d as a } from "./debounce-HJoaSvIY.js";
2
- import { v as l } from "./utils-CFXqaEy7.js";
3
- import { n as r } from "./main-BIwKzAN8.js";
4
- const n = {
1
+ import { C as a } from "./CFormField-qy_STCgm.js";
2
+ import { d as l } from "./debounce-nohaKn7u.js";
3
+ import { v as r } from "./utils-CD2k1yv3.js";
4
+ import { n } from "./main-CfSVOXu-.js";
5
+ const o = {
5
6
  name: "VideoPlayerInput",
6
7
  i18nOptions: {
7
8
  namespaces: "components",
8
9
  keyPrefix: "document.videoPlayer"
9
10
  },
11
+ components: {
12
+ CField: a
13
+ },
10
14
  props: {
11
15
  value: {
12
16
  type: Object,
@@ -52,13 +56,13 @@ const n = {
52
56
  this.value && this.value.url && (this.url = this.value.url);
53
57
  },
54
58
  methods: {
55
- onInput: a(function(e) {
59
+ onInput: l(function(e) {
56
60
  this.$v.$reset(), this.isValid = !1, e && this.validateUrl(e);
57
61
  }, 500),
58
62
  async validateUrl(i) {
59
63
  const e = i;
60
64
  this.isLoading = !0;
61
- const t = await l(e, this.videoOptions);
65
+ const t = await r(e, this.videoOptions);
62
66
  t && (this.isValid = !0, this.$emit("input", t)), this.isLoading = !1, this.$v.$touch();
63
67
  },
64
68
  focus() {
@@ -66,7 +70,7 @@ const n = {
66
70
  }
67
71
  }
68
72
  };
69
- var o = function() {
73
+ var d = function() {
70
74
  var e = this, t = e._self._c;
71
75
  return t("CField", { style: e.isDrawerMode && {
72
76
  display: "flex",
@@ -79,15 +83,15 @@ var o = function() {
79
83
  return e.validateUrl(e.url);
80
84
  } } }, [e._v(" " + e._s(e.$t("_common:add")) + " ")])];
81
85
  })], 2);
82
- }, d = [], u = /* @__PURE__ */ r(
83
- n,
86
+ }, u = [], f = /* @__PURE__ */ n(
84
87
  o,
85
88
  d,
89
+ u,
86
90
  !1,
87
91
  null,
88
92
  null
89
93
  );
90
- const m = u.exports;
94
+ const h = f.exports;
91
95
  export {
92
- m as default
96
+ h as default
93
97
  };
@@ -1,5 +1,5 @@
1
- import n from "./VideoPlayerInput-BmbrquN6.js";
2
- import { n as s } from "./main-BIwKzAN8.js";
1
+ import n from "./VideoPlayerInput-Z5j6JzLW.js";
2
+ import { n as s } from "./main-CfSVOXu-.js";
3
3
  const l = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -53,7 +53,7 @@ var r = function() {
53
53
  v,
54
54
  !1,
55
55
  null,
56
- "ba43bad1"
56
+ "03fa1deb"
57
57
  );
58
58
  const f = d.exports;
59
59
  export {
@@ -1,6 +1,6 @@
1
- import h from "./VideoPlayerInput-BmbrquN6.js";
2
- import { B as v, a as g } from "./index-CFwLDxbi.js";
3
- import { c as y, n as x, o as _ } from "./main-BIwKzAN8.js";
1
+ import h from "./VideoPlayerInput-Z5j6JzLW.js";
2
+ import { B as v, a as g } from "./index-zBWldKKX.js";
3
+ import { c as y, n as x, q as _ } from "./main-CfSVOXu-.js";
4
4
  const V = y.pexels.id, w = {
5
5
  name: "VideoSelectModal",
6
6
  i18nOptions: {
@@ -96,7 +96,7 @@ var k = function() {
96
96
  b,
97
97
  !1,
98
98
  null,
99
- "7ff369a0"
99
+ "6fb5cf13"
100
100
  );
101
101
  const C = S.exports;
102
102
  export {
@@ -1,5 +1,5 @@
1
- import { w as a } from "./CDropdownItem-BSPNul90.js";
2
- import { b as r } from "./main-BIwKzAN8.js";
1
+ import { w as a } from "./CDropdownItem-CNUf29O4.js";
2
+ import { b as r } from "./main-CfSVOXu-.js";
3
3
  const m = ({ documentKey: s = "document" } = {}) => ({
4
4
  mixins: [a],
5
5
  inject: {
@@ -23,7 +23,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
23
23
  const e = r(this, s);
24
24
  if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
25
25
  return;
26
- const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-Cnp43tGo.js");
26
+ const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-0JXov7oA.js");
27
27
  this.$modal.show(
28
28
  n,
29
29
  {
@@ -1,4 +1,4 @@
1
- import { ab as C, l as k, ac as j, k as A } from "./main-BIwKzAN8.js";
1
+ import { af as C, o as O, ag as j, l as A } from "./main-CfSVOXu-.js";
2
2
  var L = C, M = function() {
3
3
  return L.Date.now();
4
4
  }, B = M, F = /\s/;
@@ -11,7 +11,7 @@ var D = R, H = D, P = /^\s+/;
11
11
  function U(e) {
12
12
  return e && e.slice(0, H(e) + 1).replace(P, "");
13
13
  }
14
- var X = U, q = X, y = k, w = j, _ = NaN, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
14
+ var X = U, q = X, y = O, w = j, _ = NaN, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
15
15
  function Q(e) {
16
16
  if (typeof e == "number")
17
17
  return e;
@@ -27,20 +27,20 @@ function Q(e) {
27
27
  var i = G.test(e);
28
28
  return i || J.test(e) ? K(e.slice(2), i ? 2 : 8) : z.test(e) ? _ : +e;
29
29
  }
30
- var V = Q, Y = k, T = B, $ = V, Z = "Expected a function", ee = Math.max, ne = Math.min;
30
+ var V = Q, Y = O, T = B, $ = V, Z = "Expected a function", ee = Math.max, ne = Math.min;
31
31
  function re(e, r, i) {
32
- var u, o, l, s, t, f, d = 0, I = !1, c = !1, b = !0;
32
+ var u, s, l, o, t, f, d = 0, I = !1, c = !1, b = !0;
33
33
  if (typeof e != "function")
34
34
  throw new TypeError(Z);
35
35
  r = $(r) || 0, Y(i) && (I = !!i.leading, c = "maxWait" in i, l = c ? ee($(i.maxWait) || 0, r) : l, b = "trailing" in i ? !!i.trailing : b);
36
36
  function g(n) {
37
- var a = u, m = o;
38
- return u = o = void 0, d = n, s = e.apply(m, a), s;
39
- }
40
- function O(n) {
41
- return d = n, t = setTimeout(v, r), I ? g(n) : s;
37
+ var a = u, m = s;
38
+ return u = s = void 0, d = n, o = e.apply(m, a), o;
42
39
  }
43
40
  function S(n) {
41
+ return d = n, t = setTimeout(v, r), I ? g(n) : o;
42
+ }
43
+ function k(n) {
44
44
  var a = n - f, m = n - d, p = r - a;
45
45
  return c ? ne(p, l - m) : p;
46
46
  }
@@ -52,26 +52,26 @@ function re(e, r, i) {
52
52
  var n = T();
53
53
  if (h(n))
54
54
  return E(n);
55
- t = setTimeout(v, S(n));
55
+ t = setTimeout(v, k(n));
56
56
  }
57
57
  function E(n) {
58
- return t = void 0, b && u ? g(n) : (u = o = void 0, s);
58
+ return t = void 0, b && u ? g(n) : (u = s = void 0, o);
59
59
  }
60
60
  function N() {
61
- t !== void 0 && clearTimeout(t), d = 0, u = f = o = t = void 0;
61
+ t !== void 0 && clearTimeout(t), d = 0, u = f = s = t = void 0;
62
62
  }
63
63
  function W() {
64
- return t === void 0 ? s : E(T());
64
+ return t === void 0 ? o : E(T());
65
65
  }
66
66
  function x() {
67
67
  var n = T(), a = h(n);
68
- if (u = arguments, o = this, f = n, a) {
68
+ if (u = arguments, s = this, f = n, a) {
69
69
  if (t === void 0)
70
- return O(f);
70
+ return S(f);
71
71
  if (c)
72
72
  return clearTimeout(t), t = setTimeout(v, r), g(f);
73
73
  }
74
- return t === void 0 && (t = setTimeout(v, r)), s;
74
+ return t === void 0 && (t = setTimeout(v, r)), o;
75
75
  }
76
76
  return x.cancel = N, x.flush = W, x;
77
77
  }
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-DYSBcjo4.js";
1
+ import { s as o } from "./formDrawerState-Bpcaq429.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-BIwKzAN8.js";
1
+ import { V as s } from "./main-CfSVOXu-.js";
2
2
  const e = s.observable({
3
3
  isFixed: !1,
4
4
  // Worded according to CSS property (show as fixed drawer)
@@ -1,4 +1,4 @@
1
- import { h as n } from "./main-BIwKzAN8.js";
1
+ import { h as n } from "./main-CfSVOXu-.js";
2
2
  import { s as l } from "./dom-CJxkno7i.js";
3
3
  const s = (r) => {
4
4
  var i;
@@ -1,10 +1,11 @@
1
- import { w as m } from "./CDropdownItem-BSPNul90.js";
2
- import { n as o, E as f, S as v, g as i, h as l } from "./main-BIwKzAN8.js";
1
+ import { w as m } from "./CDropdownItem-CNUf29O4.js";
2
+ import { n as o, M as f, S as v, g as i, h as l } from "./main-CfSVOXu-.js";
3
3
  import { m as h, a as d, b as _ } from "./vuex.esm-DKGl8mcw.js";
4
- import { B as u } from "./DocTextEditor-BYsXFRLg.js";
5
- import { v as r } from "./index-CFx0cpeM.js";
6
- import { S as g } from "./SmartList-D6AvxfSL.js";
7
- const x = {
4
+ import { C as g } from "./CFormField-qy_STCgm.js";
5
+ import { B as u } from "./DocTextEditor-Ckfx6Hj5.js";
6
+ import { v as r } from "./index-CySeSzas.js";
7
+ import { S as x } from "./SmartList-Bh10ojB0.js";
8
+ const C = {
8
9
  mixins: [m],
9
10
  props: {
10
11
  placement: {
@@ -26,7 +27,7 @@ const x = {
26
27
  }
27
28
  }
28
29
  };
29
- var C = function() {
30
+ var T = function() {
30
31
  var e = this, t = e._self._c;
31
32
  return e.mq === "sm" ? t("div", [t("div", { on: { click: e.onOpen } }, [e._t("default")], 2), e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "modal-overlay", on: { click: function(a) {
32
33
  return a.target !== a.currentTarget ? null : e.onClose.apply(null, arguments);
@@ -37,18 +38,18 @@ var C = function() {
37
38
  } }, scopedSlots: e._u([{ key: "popover", fn: function() {
38
39
  return [t("div", { staticClass: "popover-container" }, [e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "overlay" })]) : e._e(), e._t("popover", null, { close: e.onClose })], 2)];
39
40
  }, proxy: !0 }], null, !0) }, "v-popover", e.$props, !1), [e._t("default")], 2);
40
- }, T = [], $ = /* @__PURE__ */ o(
41
- x,
41
+ }, $ = [], S = /* @__PURE__ */ o(
42
42
  C,
43
43
  T,
44
+ $,
44
45
  !1,
45
46
  null,
46
- "c4f53105"
47
+ "ed1712f0"
47
48
  );
48
- const S = $.exports, { mapFields: y } = f({
49
+ const y = S.exports, { mapFields: b } = f({
49
50
  getterType: "forms/getField",
50
51
  mutationType: "forms/updateField"
51
- }), b = {
52
+ }), M = {
52
53
  i18nOptions: {
53
54
  namespaces: "TextTemplatesForm",
54
55
  messages: {
@@ -95,7 +96,8 @@ const S = $.exports, { mapFields: y } = f({
95
96
  name: "TextTemplatesForm",
96
97
  components: {
97
98
  BaseTextEditor: u,
98
- Spinner: v
99
+ Spinner: v,
100
+ CField: g
99
101
  },
100
102
  props: {
101
103
  id: {
@@ -130,7 +132,7 @@ const S = $.exports, { mapFields: y } = f({
130
132
  isFetching: "templateMessages/isFetching",
131
133
  checkFormChanged: "forms/hasChanged"
132
134
  }),
133
- ...y({
135
+ ...b({
134
136
  templateMessage: "templateMessage",
135
137
  name: "templateMessage.name",
136
138
  textContent: "templateMessage.message"
@@ -200,7 +202,7 @@ const S = $.exports, { mapFields: y } = f({
200
202
  }
201
203
  }
202
204
  };
203
- var M = function() {
205
+ var E = function() {
204
206
  var e = this, t = e._self._c;
205
207
  return t("div", { staticStyle: { position: "relative" } }, [e.showFixedCloseButton ? t("CButton", { staticClass: "fixed-close-button", attrs: { circle: "", icon: "x" }, on: { click: function(a) {
206
208
  return e.$emit("close");
@@ -217,18 +219,18 @@ var M = function() {
217
219
  } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")]), e.id ? t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", pattern: "tertiary", wide: "" }, on: { click: function(a) {
218
220
  return e.remove();
219
221
  } } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")]) : e._e()], 1) : e._e()], 1);
220
- }, E = [], w = /* @__PURE__ */ o(
221
- b,
222
+ }, F = [], w = /* @__PURE__ */ o(
222
223
  M,
223
224
  E,
225
+ F,
224
226
  !1,
225
227
  null,
226
- "e14860e7"
228
+ "9008fe0f"
227
229
  );
228
- const F = w.exports, k = {
230
+ const k = w.exports, q = {
229
231
  name: "TextTemplatesModal",
230
232
  components: {
231
- SmartList: g,
233
+ SmartList: x,
232
234
  BaseTextEditor: u
233
235
  },
234
236
  mixins: [m],
@@ -255,7 +257,7 @@ const F = w.exports, k = {
255
257
  },
256
258
  openCreateModal() {
257
259
  this.close(), this.$modal.show(
258
- F,
260
+ k,
259
261
  {
260
262
  predefinedTextContent: "",
261
263
  showFixedCloseButton: !0,
@@ -275,7 +277,7 @@ const F = w.exports, k = {
275
277
  }
276
278
  }
277
279
  };
278
- var q = function() {
280
+ var A = function() {
279
281
  var e = this, t = e._self._c;
280
282
  return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
281
283
  return [t("div", { ref: "modal-container", staticClass: "font-inter t-modal" }, [t("div", { staticClass: "t-nav" }, [t("CInput", { ref: "searchInput", staticClass: "search-input focus:text-gray-500", attrs: { placeholder: e.$t("search"), icon: "search" }, on: { input: function(n) {
@@ -290,19 +292,19 @@ var q = function() {
290
292
  } } }, [e._v(" " + e._s(n.name) + " ")]);
291
293
  }), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "t-footer flex w-full items-center justify-between" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("CIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
292
294
  } }]) });
293
- }, A = [], L = /* @__PURE__ */ o(
294
- k,
295
+ }, L = [], B = /* @__PURE__ */ o(
295
296
  q,
296
297
  A,
298
+ L,
297
299
  !1,
298
300
  null,
299
- "f0fd3834"
301
+ "729b0897"
300
302
  );
301
- const B = L.exports, O = {
303
+ const O = B.exports, I = {
302
304
  name: "TextTemplates",
303
305
  components: {
304
- ContextModal: S,
305
- TextTemplatesModal: B
306
+ ContextModal: y,
307
+ TextTemplatesModal: O
306
308
  },
307
309
  inject: {
308
310
  viewSettings: {
@@ -324,7 +326,7 @@ const B = L.exports, O = {
324
326
  })
325
327
  }
326
328
  };
327
- var I = function() {
329
+ var P = function() {
328
330
  var e = this, t = e._self._c;
329
331
  return e.viewSettings.isPublicForm ? e._e() : t("div", { staticClass: "t-list" }, [t("ContextModal", { attrs: { "break-point": 1e3, placement: e.placement }, on: { open: function(a) {
330
332
  return e.$emit("open");
@@ -335,15 +337,15 @@ var I = function() {
335
337
  return e.$emit("select", n);
336
338
  } } })];
337
339
  } }], null, !1, 1240188552) }, [t("div", { staticClass: "t-option main" }, [e._t("default")], 2)])], 1);
338
- }, P = [], G = /* @__PURE__ */ o(
339
- O,
340
+ }, G = [], N = /* @__PURE__ */ o(
340
341
  I,
341
342
  P,
343
+ G,
342
344
  !1,
343
345
  null,
344
346
  null
345
347
  );
346
- const H = G.exports;
348
+ const J = N.exports;
347
349
  export {
348
- H as default
350
+ J as default
349
351
  };