@cling-se/widget 0.9.7 → 0.9.10

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 (132) hide show
  1. package/.env +11 -11
  2. package/README.md +35 -35
  3. package/dist/{AddClientCallout-22eea733.js → AddClientCallout-98b5d2c9.js} +5 -5
  4. package/dist/{AnswerModal-7441b8d3.js → AnswerModal-995e7a87.js} +7 -7
  5. package/dist/{AttachmentItem-34cd96fc.js → AttachmentItem-331b9c1e.js} +4 -4
  6. package/dist/{BaseDatePicker-5fcfcdcb.js → BaseDatePicker-7f047527.js} +1 -1
  7. package/dist/{BaseInput-c9d37ee6.js → BaseInput-c79f0001.js} +1 -1
  8. package/dist/{BaseUpload-8c9116a1.js → BaseUpload-9402cc1b.js} +3 -3
  9. package/dist/{BlockMedia-c0637f45.js → BlockMedia-80a082ed.js} +2 -2
  10. package/dist/{CCallout-d5efd737.js → CCallout-bd314caa.js} +6 -6
  11. package/dist/{CDropdownItem-32216ea8.js → CDropdownItem-ab42f924.js} +5 -5
  12. package/dist/{CField-b58cafce.js → CField-6da7299b.js} +1 -1
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-a2818d05.js → CSlider.vue_vue_type_style_index_0_lang-c70342a2.js} +1 -1
  14. package/dist/{ClientAutocomplete-1569a879.js → ClientAutocomplete-67fc253c.js} +6 -6
  15. package/dist/{ClientModal-4ff2f08c.js → ClientModal-1709e8c7.js} +5 -5
  16. package/dist/{ColorPicker-4a830e26.js → ColorPicker-4880a624.js} +2 -2
  17. package/dist/{CompanyModal-a6d69d5f.js → CompanyModal-dbe85884.js} +4 -4
  18. package/dist/{ContentWrapper-8579f277.js → ContentWrapper-a602cc3d.js} +14 -14
  19. package/dist/{CoverBlockSettings-4284e111.js → CoverBlockSettings-f37fe6e1.js} +18 -18
  20. package/dist/DocAnswer-081e8239.js +33 -0
  21. package/dist/{DocForm-28752d98.js → DocForm-c69281fc.js} +186 -144
  22. package/dist/{DocFormSend-b7253ff4.js → DocFormSend-c9b955b9.js} +19 -18
  23. package/dist/{DocModalBase-a4f82cb3.js → DocModalBase-8c238a59.js} +4 -4
  24. package/dist/{DocPrint-54e0d308.js → DocPrint-2a181ffb.js} +5 -5
  25. package/dist/{DocReceipt-622afb67.js → DocReceipt-00c0f631.js} +1 -1
  26. package/dist/{DocSendReminder-2a4639e1.js → DocSendReminder-9effd808.js} +1 -1
  27. package/dist/{DocTextEditor-a795ba8d.js → DocTextEditor-0c8a4782.js} +12 -12
  28. package/dist/{DocTimeline-ea007937.js → DocTimeline-be5e8b9d.js} +1 -1
  29. package/dist/{DocumentClient-79f10a0e.js → DocumentClient-13f55b25.js} +5 -5
  30. package/dist/{DocumentLayout-3882fade.js → DocumentLayout-2ff55f9f.js} +120 -120
  31. package/dist/{DocumentLogotype-3dd2408b.js → DocumentLogotype-80a2521a.js} +6 -6
  32. package/dist/{EmbedInput-a748d1e5.js → EmbedInput-8572a42b.js} +2 -2
  33. package/dist/{EmbedSettings-2505d3fb.js → EmbedSettings-1a60358e.js} +5 -5
  34. package/dist/{ErrorCallout-ca6aa8a6.js → ErrorCallout-84e8168b.js} +2 -2
  35. package/dist/{FilePreviewModal-fbc76085.js → FilePreviewModal-cdafbf1c.js} +5 -5
  36. package/dist/{HeaderSettings-66f76d2b.js → HeaderSettings-9f4d182b.js} +15 -15
  37. package/dist/{ImageSelectModal-96c98a50.js → ImageSelectModal-b97c8185.js} +10 -10
  38. package/dist/{ImageUploadWrapper-706252ad.js → ImageUploadWrapper-ebcdbc9e.js} +3 -3
  39. package/dist/{Index-782f6e43.js → Index-0022bc40.js} +4 -4
  40. package/dist/{Index-6d960f1a.js → Index-0306a974.js} +12 -12
  41. package/dist/{Index-a777a7b4.js → Index-039d9c9d.js} +6 -6
  42. package/dist/{Index-f9ec7827.js → Index-0bbbe1cf.js} +11 -11
  43. package/dist/{Index-aac38d76.js → Index-0bd4a30c.js} +6 -6
  44. package/dist/{Index-ebc0f1dd.js → Index-11d16691.js} +22 -22
  45. package/dist/{Index-451a4720.js → Index-2ecefac2.js} +4 -4
  46. package/dist/{Index-2b1c5d21.js → Index-341f9388.js} +8 -8
  47. package/dist/{Index-0615e8dd.js → Index-3ccc66e4.js} +4 -4
  48. package/dist/{Index-774c1760.js → Index-451f5485.js} +5 -5
  49. package/dist/{Index-57ccc476.js → Index-473d0fad.js} +3 -3
  50. package/dist/{Index-0cb341e6.js → Index-4bbfdb2e.js} +2 -2
  51. package/dist/{Index-cab451ea.js → Index-5428e87c.js} +11 -11
  52. package/dist/{Index-aec49119.js → Index-623bb993.js} +4 -4
  53. package/dist/{Index-170e6883.js → Index-6c782bef.js} +12 -12
  54. package/dist/{Index-89c23ed7.js → Index-7b1fd376.js} +2 -2
  55. package/dist/{Index-a86877c9.js → Index-7f01697f.js} +7 -7
  56. package/dist/{Index-030436a2.js → Index-8053871b.js} +4 -4
  57. package/dist/{Index-ee710141.js → Index-8755440b.js} +5 -5
  58. package/dist/{Index-583792c4.js → Index-8c4fd5b4.js} +27 -27
  59. package/dist/{Index-fdac03a0.js → Index-8cba5dac.js} +26 -26
  60. package/dist/{Index-63872178.js → Index-8ecb9aa4.js} +2 -2
  61. package/dist/{Index-54b05e33.js → Index-8eff4eae.js} +2 -2
  62. package/dist/{Index-52979620.js → Index-95f0dd2f.js} +19 -19
  63. package/dist/{Index-ec7fe5df.js → Index-9c5f5d6e.js} +7 -7
  64. package/dist/{Index-813e0a59.js → Index-b233276b.js} +2 -2
  65. package/dist/{Index-ea43ed06.js → Index-ba4cfb80.js} +6 -6
  66. package/dist/{Index-2af3cf93.js → Index-c2b2ccd9.js} +8 -8
  67. package/dist/{Index-4f976bd6.js → Index-dca28212.js} +2 -2
  68. package/dist/{Index-8e3a0d81.js → Index-dd30bbc5.js} +12 -12
  69. package/dist/{Index-2a568234.js → Index-ddf49640.js} +6 -6
  70. package/dist/{Index-3cfea400.js → Index-de93e029.js} +7 -7
  71. package/dist/{Index-d9307e92.js → Index-f9063054.js} +7 -7
  72. package/dist/{Index-cc243c40.js → Index-ffc7dba1.js} +5 -5
  73. package/dist/{InputToggleRow-3764a034.js → InputToggleRow-533651e6.js} +2 -2
  74. package/dist/{IsPremiumPreStep-310fc507.js → IsPremiumPreStep-8d46fadc.js} +248 -242
  75. package/dist/{MediaWrapper-ac4d559e.js → MediaWrapper-388589e5.js} +3 -3
  76. package/dist/{NotBindingText-9d926894.js → NotBindingText-b833c49b.js} +2 -2
  77. package/dist/{PackageGroup-11132495.js → PackageGroup-41b2d524.js} +15 -15
  78. package/dist/{PdfTerms-5567e1d9.js → PdfTerms-461fcd9e.js} +7 -7
  79. package/dist/{PdfViewer-6e5442ae.js → PdfViewer-099b598c.js} +2 -2
  80. package/dist/{PlainHtml-3a94783a.js → PlainHtml-37aa5b7b.js} +1 -1
  81. package/dist/PriceHeader-41c48787.js +337 -0
  82. package/dist/{SearchApi-66a3369e.js → SearchApi-25909227.js} +2 -2
  83. package/dist/{TermsSettings-42464249.js → TermsSettings-c730ac70.js} +10 -10
  84. package/dist/{ThemeColorRow-4c02f3cf.js → ThemeColorRow-31d8285b.js} +3 -3
  85. package/dist/{ToggleBinding-53a84127.js → ToggleBinding-1a98360f.js} +3 -3
  86. package/dist/{UploadModal-7d2c2dcc.js → UploadModal-e0a37c3e.js} +4 -4
  87. package/dist/{VideoPlayerInput-d53ffa5e.js → VideoPlayerInput-4d7f302a.js} +3 -3
  88. package/dist/{VideoPlayerSettings-d89173c1.js → VideoPlayerSettings-81168a6b.js} +5 -5
  89. package/dist/{VideoSelectModal-1b2f9e2f.js → VideoSelectModal-dc429ff0.js} +28 -28
  90. package/dist/{answerDocumentMixin-3e4ed95e.js → answerDocumentMixin-3ff2b25d.js} +3 -3
  91. package/dist/{cssMode-f680359e.js → cssMode-c6b1b286.js} +7 -7
  92. package/dist/{focusDrawerMixin-7cf9e926.js → focusDrawerMixin-01b547f0.js} +1 -1
  93. package/dist/{formComponentsInstall-60696be3.js → formComponentsInstall-9e33cb8f.js} +20 -20
  94. package/dist/{formValidationMixin-5d709c26.js → formValidationMixin-74c239ee.js} +1 -1
  95. package/dist/{freemarker2-06443b0a.js → freemarker2-076519a0.js} +7 -7
  96. package/dist/{handlebars-0d8766bf.js → handlebars-bb155717.js} +7 -7
  97. package/dist/{html-81ed4c26.js → html-1cf008d9.js} +7 -7
  98. package/dist/{htmlMode-3be0b9fd.js → htmlMode-bf67fa2b.js} +7 -7
  99. package/dist/{index-eab9b762.js → index-0f09ca1c.js} +1 -1
  100. package/dist/{index-fe745f0b.js → index-7097f05c.js} +10 -10
  101. package/dist/{index-3ca26b2c.js → index-908333a3.js} +9 -9
  102. package/dist/{index-7964f39c.js → index-e37214e9.js} +3 -3
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +496 -493
  105. package/dist/{javascript-da51eff4.js → javascript-b98377f9.js} +8 -8
  106. package/dist/{jsonMode-f69b77fa.js → jsonMode-e9595a57.js} +7 -7
  107. package/dist/{liquid-4c01bc35.js → liquid-b60636e3.js} +7 -7
  108. package/dist/{main-8c6aae3a.js → main-cf622dd3.js} +26108 -26001
  109. package/dist/{mapFormMixin-fe8972cd.js → mapFormMixin-490a1765.js} +1 -1
  110. package/dist/{publicSenderState-9cd2ff24.js → publicSenderState-6b369e21.js} +1 -1
  111. package/dist/{python-48563b51.js → python-4e4d18f5.js} +7 -7
  112. package/dist/{razor-3e2ef5a9.js → razor-63ead89f.js} +7 -7
  113. package/dist/{simplebar.min-baa28a2a.js → simplebar.min-3f1edc12.js} +1 -1
  114. package/dist/style.css +2 -2
  115. package/dist/{template-c64eadf9.js → template-66eba036.js} +1 -1
  116. package/dist/throttle-2b45d29c.js +18 -0
  117. package/dist/{tinycolor-c5753ad0.js → tinycolor-9f3cc25c.js} +1 -1
  118. package/dist/{tippy.esm-495f26e4.js → tippy.esm-dec03596.js} +7 -7
  119. package/dist/{tsMode-15587c3c.js → tsMode-e93504e4.js} +7 -7
  120. package/dist/{typescript-ebb43ca2.js → typescript-111230d0.js} +7 -7
  121. package/dist/{utils-8c0b7aab.js → utils-fb02e603.js} +1 -1
  122. package/dist/{vuedraggable.umd-45109ca7.js → vuedraggable.umd-f2d6d3e3.js} +1 -1
  123. package/dist/{xml-d34c22ca.js → xml-987e33cc.js} +7 -7
  124. package/jsconfig.json +11 -11
  125. package/package.json +4 -2
  126. package/postcss.config.cjs +6 -6
  127. package/stats.html +1 -1
  128. package/tailwind.config.cjs +26 -26
  129. package/vite-plugin-library-asset-external/index.js +134 -134
  130. package/dist/DocAnswer-bf72cfd4.js +0 -46
  131. package/dist/PriceHeader-c5053109.js +0 -337
  132. package/dist/throttle-f8302435.js +0 -18
package/.env CHANGED
@@ -1,12 +1,12 @@
1
- VITE_APP_ROOT_STYLE_ID=CLING_WIDGET_STYLE
2
- VITE_APP_WEB_BASEURL=https://app.cling.se
3
- VITE_APP_CLINGAPI_BASEURL=https://api.cling.se
4
- VITE_APP_ROLLBAR_CLIENT_TOKEN=cf75726b70174d4097505ae18d5f9600
5
- VITE_APP_ROLLBAR_ENV=production
6
- VITE_APP_STRIPE_PUBLISHABLE_KEY=pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8
7
-
8
- # WIDGET DEV OVERRIDES
9
- VITE_APP_WEB_BASEURL_DEV=https://app.dev.cling.se
10
- VITE_APP_CLINGAPI_BASEURL_DEV=https://api.dev.cling.se
11
- VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV=cf75726b70174d4097505ae18d5f9600
1
+ VITE_APP_ROOT_STYLE_ID=CLING_WIDGET_STYLE
2
+ VITE_APP_WEB_BASEURL=https://app.cling.se
3
+ VITE_APP_CLINGAPI_BASEURL=https://api.cling.se
4
+ VITE_APP_ROLLBAR_CLIENT_TOKEN=cf75726b70174d4097505ae18d5f9600
5
+ VITE_APP_ROLLBAR_ENV=production
6
+ VITE_APP_STRIPE_PUBLISHABLE_KEY=pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8
7
+
8
+ # WIDGET DEV OVERRIDES
9
+ VITE_APP_WEB_BASEURL_DEV=https://app.dev.cling.se
10
+ VITE_APP_CLINGAPI_BASEURL_DEV=https://api.dev.cling.se
11
+ VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV=cf75726b70174d4097505ae18d5f9600
12
12
  VITE_APP_ROLLBAR_ENV_DEV=staging
package/README.md CHANGED
@@ -1,35 +1,35 @@
1
- # widget
2
-
3
- This template should help get you started developing with Vue 3 in Vite.
4
-
5
- ## Recommended IDE Setup
6
-
7
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8
-
9
- ## Customize configuration
10
-
11
- See [Vite Configuration Reference](https://vitejs.dev/config/).
12
-
13
- ## Project Setup
14
-
15
- ```sh
16
- npm install
17
- ```
18
-
19
- ### Compile and Hot-Reload for Development
20
-
21
- ```sh
22
- npm run dev
23
- ```
24
-
25
- ### Compile and Minify for Production
26
-
27
- ```sh
28
- npm run build
29
- ```
30
-
31
- ### Lint with [ESLint](https://eslint.org/)
32
-
33
- ```sh
34
- npm run lint
35
- ```
1
+ # widget
2
+
3
+ This template should help get you started developing with Vue 3 in Vite.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8
+
9
+ ## Customize configuration
10
+
11
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
12
+
13
+ ## Project Setup
14
+
15
+ ```sh
16
+ npm install
17
+ ```
18
+
19
+ ### Compile and Hot-Reload for Development
20
+
21
+ ```sh
22
+ npm run dev
23
+ ```
24
+
25
+ ### Compile and Minify for Production
26
+
27
+ ```sh
28
+ npm run build
29
+ ```
30
+
31
+ ### Lint with [ESLint](https://eslint.org/)
32
+
33
+ ```sh
34
+ npm run lint
35
+ ```
@@ -1,8 +1,8 @@
1
- import { C as o } from "./ClientAutocomplete-1569a879.js";
2
- import { m as r } from "./mapFormMixin-fe8972cd.js";
3
- import { n as s } from "./main-8c6aae3a.js";
4
- import "./SearchApi-66a3369e.js";
5
- import "./CDropdownItem-32216ea8.js";
1
+ import { C as o } from "./ClientAutocomplete-67fc253c.js";
2
+ import { m as r } from "./mapFormMixin-490a1765.js";
3
+ import { n as s } from "./main-cf622dd3.js";
4
+ import "./SearchApi-25909227.js";
5
+ import "./CDropdownItem-ab42f924.js";
6
6
  import "./vuex.esm-4a0fff7c.js";
7
7
  const i = {
8
8
  i18nOptions: {
@@ -1,8 +1,8 @@
1
1
  import { a as nt } from "./anime.es-e284c852.js";
2
- import { ag as St, h as Ct, n as ot, ah as Tt, F as ft, ai as Ft, aj as kt, ak as It, g as xt } from "./main-8c6aae3a.js";
2
+ import { ag as St, h as Ct, n as ot, ah as Tt, F as ft, ai as Ft, aj as kt, ak as It, g as xt } from "./main-cf622dd3.js";
3
3
  import { a as Mt } from "./vuex.esm-4a0fff7c.js";
4
- import { m as dt } from "./mapFormMixin-fe8972cd.js";
5
- import { C as Rt } from "./CField-b58cafce.js";
4
+ import { m as dt } from "./mapFormMixin-490a1765.js";
5
+ import { C as Rt } from "./CField-6da7299b.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
7
  const Dt = () => {
8
8
  const v = window.location.host.split(".");
@@ -131,7 +131,7 @@ var Nt = function() {
131
131
  Ot,
132
132
  !1,
133
133
  null,
134
- "373d50dd",
134
+ "76bb4984",
135
135
  null,
136
136
  null
137
137
  );
@@ -719,7 +719,7 @@ var Zt = function() {
719
719
  te,
720
720
  !1,
721
721
  null,
722
- "ea40c640",
722
+ "8597260c",
723
723
  null,
724
724
  null
725
725
  );
@@ -3502,7 +3502,7 @@ var se = function() {
3502
3502
  ue,
3503
3503
  !1,
3504
3504
  null,
3505
- "96231edf",
3505
+ "7c45b7cf",
3506
3506
  null,
3507
3507
  null
3508
3508
  );
@@ -3718,7 +3718,7 @@ var ve = function() {
3718
3718
  ye,
3719
3719
  !1,
3720
3720
  null,
3721
- "b5240b4a",
3721
+ "82804b19",
3722
3722
  null,
3723
3723
  null
3724
3724
  );
@@ -1,6 +1,6 @@
1
- import a from "./Index-0cb341e6.js";
2
- import { n as r } from "./main-8c6aae3a.js";
3
- import "./tinycolor-c5753ad0.js";
1
+ import a from "./Index-4bbfdb2e.js";
2
+ import { n as r } from "./main-cf622dd3.js";
3
+ import "./tinycolor-9f3cc25c.js";
4
4
  const i = {
5
5
  name: "AttachmentsItem",
6
6
  components: {
@@ -64,7 +64,7 @@ var s = function() {
64
64
  o,
65
65
  !1,
66
66
  null,
67
- "8ec34149",
67
+ "1d805d90",
68
68
  null,
69
69
  null
70
70
  );
@@ -1,4 +1,4 @@
1
- import { a0 as ki, K as vi, i as Mi, n as Si, q as bi, a6 as Yi, a7 as Oi, a4 as xi } from "./main-8c6aae3a.js";
1
+ import { a0 as ki, K as vi, f as Mi, n as Si, o as bi, a6 as Yi, a7 as Oi, a4 as xi } from "./main-cf622dd3.js";
2
2
  var fs = { exports: {} };
3
3
  //! moment.js
4
4
  //! version : 2.29.4
@@ -1,4 +1,4 @@
1
- import { n as h, N as m } from "./main-8c6aae3a.js";
1
+ import { n as h, N as m } from "./main-cf622dd3.js";
2
2
  function d(t, e, i) {
3
3
  this.$children.forEach((n) => {
4
4
  n.$options.componentName === t ? n.$emit(...[e].concat(i)) : d.apply(n, [t, e].concat([i]));
@@ -1,4 +1,4 @@
1
- import { K as we, i as De, n as $e, a8 as ye, a2 as ve } from "./main-8c6aae3a.js";
1
+ import { K as we, f as De, n as $e, a8 as ye, a2 as ve } from "./main-cf622dd3.js";
2
2
  /*!
3
3
  * Compressor.js v1.1.1
4
4
  * https://fengyuanchen.github.io/compressorjs
@@ -1698,7 +1698,7 @@ const Qe = {
1698
1698
  name: "BaseUpload",
1699
1699
  components: {
1700
1700
  FileUpload: Ve,
1701
- UploadModal: () => import("./UploadModal-7d2c2dcc.js")
1701
+ UploadModal: () => import("./UploadModal-e0a37c3e.js")
1702
1702
  },
1703
1703
  props: {
1704
1704
  // Optional function to handle any errors
@@ -1954,7 +1954,7 @@ var Ze = function() {
1954
1954
  et,
1955
1955
  !1,
1956
1956
  null,
1957
- "9c337339",
1957
+ "6b9736d2",
1958
1958
  null,
1959
1959
  null
1960
1960
  );
@@ -1,4 +1,4 @@
1
- import { n as s, c as i } from "./main-8c6aae3a.js";
1
+ import { n as s, b as i } from "./main-cf622dd3.js";
2
2
  import { g as d } from "./color-71c20583.js";
3
3
  const n = {
4
4
  name: "BlockMedia",
@@ -62,7 +62,7 @@ var c = function() {
62
62
  u,
63
63
  !1,
64
64
  null,
65
- "67a4029f",
65
+ "28f17c71",
66
66
  null,
67
67
  null
68
68
  );
@@ -1,9 +1,9 @@
1
- import { n as a, d as s } from "./main-8c6aae3a.js";
2
- import "./CSlider.vue_vue_type_style_index_0_lang-a2818d05.js";
1
+ import { n as s, c as a } from "./main-cf622dd3.js";
2
+ import "./CSlider.vue_vue_type_style_index_0_lang-c70342a2.js";
3
3
  const i = {
4
4
  name: "CCallout",
5
5
  components: {
6
- CButton: s
6
+ CButton: a
7
7
  },
8
8
  props: {
9
9
  title: String,
@@ -29,20 +29,20 @@ var n = function() {
29
29
  return e("transition", { attrs: { name: "fade" } }, [t.legacy ? e("article", { staticClass: "message", class: [
30
30
  `is-${t.type}`,
31
31
  `is-${t.size}`
32
- ] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: "calc(.5 * var(--rem))", position: "absolute", top: "calc(.5 * var(--rem))" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(c) {
32
+ ] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: "calc(.5 * var(--rem))", position: "absolute", top: "calc(.5 * var(--rem))" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(o) {
33
33
  return t.$emit("close");
34
34
  } } }) : t._e()], 1) : e("div", { staticClass: "flex p-4 border border-gray-200 rounded-md bg-gray-50" }, [t.icon ? e("div", { staticClass: "mr-3 -mt-px" }, [e("BaseIcon", { attrs: { type: t.icon, size: "16" } })], 1) : t._e(), e("div", [e("div", [t._t("title", function() {
35
35
  return [e("div", { staticClass: "font-medium" }, [t._v(t._s(t.title))])];
36
36
  })], 2), e("div", { staticClass: "text-gray-800" }, [t._t("default", function() {
37
37
  return [e("div", { staticClass: "mb-2 text-gray-500" }, [t._v(t._s(t.text))])];
38
38
  })], 2)])])]);
39
- }, l = [], r = /* @__PURE__ */ a(
39
+ }, l = [], r = /* @__PURE__ */ s(
40
40
  i,
41
41
  n,
42
42
  l,
43
43
  !1,
44
44
  null,
45
- "a730b003",
45
+ "f816b12e",
46
46
  null,
47
47
  null
48
48
  );
@@ -1,5 +1,5 @@
1
- import { V as R, ae as D, j as T, af as N, i as A, n as L } from "./main-8c6aae3a.js";
2
- class j {
1
+ import { V as R, ae as D, i as T, af as N, f as A, n as L } from "./main-cf622dd3.js";
2
+ class F {
3
3
  constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
4
4
  this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
5
5
  }
@@ -30,7 +30,7 @@ class j {
30
30
  return this.initialized ? (window.removeEventListener("resize", this._handler, { passive: !0 }), this._initialized = !1, this) : this;
31
31
  }
32
32
  }
33
- const F = new j().init(), y = new R({ data: { windowSize: F } }), H = {
33
+ const H = new F().init(), y = new R({ data: { windowSize: H } }), j = {
34
34
  computed: {
35
35
  windowWidth() {
36
36
  return y.windowSize.width;
@@ -189,7 +189,7 @@ const we = ["escape", "outside"], _e = {
189
189
  directives: {
190
190
  trapFocus: me
191
191
  },
192
- mixins: [H],
192
+ mixins: [j],
193
193
  props: {
194
194
  value: {
195
195
  type: [String, Number, Boolean, Object, Array, Function],
@@ -607,5 +607,5 @@ export {
607
607
  Le as g,
608
608
  Ae as i,
609
609
  ge as r,
610
- H as w
610
+ j as w
611
611
  };
@@ -1,4 +1,4 @@
1
- import { n } from "./main-8c6aae3a.js";
1
+ import { n } from "./main-cf622dd3.js";
2
2
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
3
3
  const l = {
4
4
  name: "CFieldBody",
@@ -1,4 +1,4 @@
1
- import { n as s, a9 as r } from "./main-8c6aae3a.js";
1
+ import { n as s, a9 as r } from "./main-cf622dd3.js";
2
2
  const o = {
3
3
  name: "SmartList",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { S as o } from "./SearchApi-66a3369e.js";
2
- import { n as l, x as c } from "./main-8c6aae3a.js";
1
+ import { S as o } from "./SearchApi-25909227.js";
2
+ import { n as l, x as c } from "./main-cf622dd3.js";
3
3
  const i = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -49,9 +49,9 @@ const i = {
49
49
  };
50
50
  var u = function() {
51
51
  var e = this, s = e._self._c;
52
- return s("SearchApi", { attrs: { "custom-search": { endCustomer: !0 } }, scopedSlots: e._u([{ key: "default", fn: function({ fetch: r, isLoading: a }) {
53
- return [s("CAutocomplete", e._b({ attrs: { data: e.results, loading: e.showLoading && a, filled: e.filled, expanded: "", "keep-first": "" }, on: { typing: function(t) {
54
- return e.search(r, t);
52
+ return s("SearchApi", { attrs: { "custom-search": { endCustomer: !0 } }, scopedSlots: e._u([{ key: "default", fn: function({ fetch: a, isLoading: r }) {
53
+ return [s("CAutocomplete", e._b({ attrs: { data: e.results, loading: e.showLoading && r, filled: e.filled, expanded: "", "keep-first": "" }, on: { typing: function(t) {
54
+ return e.search(a, t);
55
55
  }, select: function(t) {
56
56
  e.$emit("setClient", e.convertToNewClient(t));
57
57
  } }, scopedSlots: e._u([{ key: "default", fn: function({ option: t }) {
@@ -70,7 +70,7 @@ var u = function() {
70
70
  d,
71
71
  !1,
72
72
  null,
73
- "66acce4e",
73
+ "ab12383a",
74
74
  null,
75
75
  null
76
76
  );
@@ -1,9 +1,9 @@
1
- import { y as p, O as h, I as v, n as u, c, g as d, P as y, x as C } from "./main-8c6aae3a.js";
1
+ import { y as p, O as h, I as v, n as u, b as c, g as d, P as y, x as C } from "./main-cf622dd3.js";
2
2
  import { m as f, b, a as _ } from "./vuex.esm-4a0fff7c.js";
3
- import { w as $ } from "./CDropdownItem-32216ea8.js";
4
- import { C as w } from "./ClientAutocomplete-1569a879.js";
3
+ import { w as $ } from "./CDropdownItem-ab42f924.js";
4
+ import { C as w } from "./ClientAutocomplete-67fc253c.js";
5
5
  import { v as r } from "./index-805c56e4.js";
6
- import "./SearchApi-66a3369e.js";
6
+ import "./SearchApi-25909227.js";
7
7
  function g(n) {
8
8
  if (typeof n > "u")
9
9
  throw Error("Missing param inputParam");
@@ -392,7 +392,7 @@ var N = function() {
392
392
  I,
393
393
  !1,
394
394
  null,
395
- "f6fc066f",
395
+ "b4c23d26",
396
396
  null,
397
397
  null
398
398
  );
@@ -1,4 +1,4 @@
1
- import { K as ht, n as bt } from "./main-8c6aae3a.js";
1
+ import { K as ht, n as bt } from "./main-cf622dd3.js";
2
2
  var vt = { exports: {} };
3
3
  (function(gt, Ct) {
4
4
  (function(c, i) {
@@ -2871,7 +2871,7 @@ var yt = /* @__PURE__ */ bt(
2871
2871
  wt,
2872
2872
  !1,
2873
2873
  null,
2874
- "8702b797",
2874
+ "60f5e164",
2875
2875
  null,
2876
2876
  null
2877
2877
  );
@@ -1,7 +1,7 @@
1
- import { y as r, g as i, n as l } from "./main-8c6aae3a.js";
2
- import { w as c } from "./CDropdownItem-32216ea8.js";
1
+ import { y as r, g as i, n as l } from "./main-cf622dd3.js";
2
+ import { w as c } from "./CDropdownItem-ab42f924.js";
3
3
  import { m as p, b as o, a as d } from "./vuex.esm-4a0fff7c.js";
4
- import { s as n, a as u } from "./publicSenderState-9cd2ff24.js";
4
+ import { s as n, a as u } from "./publicSenderState-6b369e21.js";
5
5
  import { v as m } from "./index-805c56e4.js";
6
6
  const { mapFields: f } = r({
7
7
  getterType: "forms/getField",
@@ -130,7 +130,7 @@ var h = function() {
130
130
  _,
131
131
  !1,
132
132
  null,
133
- "bc90e778",
133
+ "44918998",
134
134
  null,
135
135
  null
136
136
  );
@@ -1,15 +1,15 @@
1
- import { a as l } from "./tinycolor-c5753ad0.js";
2
- import { m as n } from "./mapFormMixin-fe8972cd.js";
3
- import { B as r } from "./BlockMedia-c0637f45.js";
4
- import { n as s, a1 as i, s as c, v as u, t as m } from "./main-8c6aae3a.js";
5
- import { T as p } from "./DocTextEditor-a795ba8d.js";
1
+ import { a as l } from "./tinycolor-9f3cc25c.js";
2
+ import { m as n } from "./mapFormMixin-490a1765.js";
3
+ import { B as r } from "./BlockMedia-80a082ed.js";
4
+ import { n as s, a1 as i, s as c, v as u, t as m } from "./main-cf622dd3.js";
5
+ import { T as p } from "./DocTextEditor-0c8a4782.js";
6
6
  import { i as d } from "./i18nMessages-45c6bfd6.js";
7
7
  import "./color-71c20583.js";
8
- import "./tippy.esm-495f26e4.js";
9
- import "./ColorPicker-4a830e26.js";
10
- import "./DocumentLayout-3882fade.js";
11
- import "./CDropdownItem-32216ea8.js";
12
- import "./CSlider.vue_vue_type_style_index_0_lang-a2818d05.js";
8
+ import "./tippy.esm-dec03596.js";
9
+ import "./ColorPicker-4880a624.js";
10
+ import "./DocumentLayout-2ff55f9f.js";
11
+ import "./CDropdownItem-ab42f924.js";
12
+ import "./CSlider.vue_vue_type_style_index_0_lang-c70342a2.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
14
  const _ = {
15
15
  name: "StaticComboLayout",
@@ -31,7 +31,7 @@ var f = function() {
31
31
  x,
32
32
  !1,
33
33
  null,
34
- "6d873a8e",
34
+ "58d93b72",
35
35
  null,
36
36
  null
37
37
  );
@@ -43,7 +43,7 @@ const h = {
43
43
  messages: d
44
44
  },
45
45
  components: {
46
- DocumentLogotype: () => import("./DocumentLogotype-3dd2408b.js"),
46
+ DocumentLogotype: () => import("./DocumentLogotype-80a2521a.js"),
47
47
  StaticComboLayout: v,
48
48
  TextEditor: p
49
49
  },
@@ -118,7 +118,7 @@ var g = function() {
118
118
  T,
119
119
  !1,
120
120
  null,
121
- "854cc8a9",
121
+ "cfc0e26b",
122
122
  null,
123
123
  null
124
124
  );
@@ -175,7 +175,7 @@ var w = function() {
175
175
  L,
176
176
  !1,
177
177
  null,
178
- "f3da414b",
178
+ "a60c7a13",
179
179
  null,
180
180
  null
181
181
  );
@@ -1,8 +1,8 @@
1
- import { m as d } from "./mapFormMixin-fe8972cd.js";
2
- import { T as l, g as p } from "./ThemeColorRow-4c02f3cf.js";
3
- import { n as s, G as u } from "./main-8c6aae3a.js";
1
+ import { m as d } from "./mapFormMixin-490a1765.js";
2
+ import { T as l, g as p } from "./ThemeColorRow-31d8285b.js";
3
+ import { n as s, G as u } from "./main-cf622dd3.js";
4
4
  import "./color-71c20583.js";
5
- import "./ColorPicker-4a830e26.js";
5
+ import "./ColorPicker-4880a624.js";
6
6
  const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
7
7
  name: "DegreePicker",
8
8
  props: {
@@ -31,8 +31,8 @@ const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180,
31
31
  this.$emit("input", parseInt(o, 10));
32
32
  },
33
33
  mouseDownHandler(i) {
34
- const t = i.target.getBoundingClientRect(), o = t.top + parseInt(8 - window.pageYOffset, 10), r = t.left + parseInt(8 - window.pageXOffset, 10);
35
- return { centerY: o, centerX: r };
34
+ const t = i.target.getBoundingClientRect(), o = t.top + parseInt(8 - window.pageYOffset, 10), a = t.left + parseInt(8 - window.pageXOffset, 10);
35
+ return { centerY: o, centerX: a };
36
36
  }
37
37
  }
38
38
  };
@@ -45,7 +45,7 @@ var g = function() {
45
45
  _,
46
46
  !1,
47
47
  null,
48
- "842d065e",
48
+ "a597a31d",
49
49
  null,
50
50
  null
51
51
  );
@@ -104,8 +104,8 @@ const h = {
104
104
  updateData(i, e) {
105
105
  let t = e;
106
106
  if (i === "colors") {
107
- const { i: o, color: r, percent: a } = e || {};
108
- t = this.internalValue.colors.map((n, c) => c === o ? { color: r, percent: a } : n);
107
+ const { i: o, color: a, percent: r } = e || {};
108
+ t = this.internalValue.colors.map((n, c) => c === o ? { color: a, percent: r } : n);
109
109
  }
110
110
  this.internalValue = { ...this.internalValue, [i]: t };
111
111
  }
@@ -126,14 +126,14 @@ var C = function() {
126
126
  b,
127
127
  !1,
128
128
  null,
129
- "db914daf",
129
+ "c1bee853",
130
130
  null,
131
131
  null
132
132
  );
133
133
  const x = w.exports;
134
134
  const $ = {
135
- image: () => import("./ImageSelectModal-96c98a50.js"),
136
- video: () => import("./VideoSelectModal-1b2f9e2f.js")
135
+ image: () => import("./ImageSelectModal-b97c8185.js"),
136
+ video: () => import("./VideoSelectModal-dc429ff0.js")
137
137
  }, S = {
138
138
  name: "CoverBlockSettings",
139
139
  i18nOptions: {
@@ -230,9 +230,9 @@ var k = function() {
230
230
  { label: e.$t("_common:color"), value: "color" },
231
231
  { label: e.$t("_common:gradient"), value: "gradient" },
232
232
  { label: e.$t("_common:video"), value: "video" }
233
- ], function({ label: o, value: r }, a) {
234
- return t("CButton", { key: o + a, staticStyle: { margin: "0 3px 3px 0", padding: "0 0.5em", height: "2em", "font-size": "15px", "border-radius": "4px" }, attrs: { type: e.type === r ? "secondary" : "none", pattern: e.type === r ? "primary" : "secondary", size: "normal" }, on: { click: function(n) {
235
- return e.setType(r);
233
+ ], function({ label: o, value: a }, r) {
234
+ return t("CButton", { key: o + r, staticStyle: { margin: "0 3px 3px 0", padding: "0 0.5em", height: "2em", "font-size": "15px", "border-radius": "4px" }, attrs: { type: e.type === a ? "secondary" : "none", pattern: e.type === a ? "primary" : "secondary", size: "normal" }, on: { click: function(n) {
235
+ return e.setType(a);
236
236
  } } }, [e._v(" " + e._s(o.capitalize()) + " ")]);
237
237
  }), 1)]), e.type === "image" ? [t("div", { staticClass: "d-option-button-image", style: { backgroundImage: `url(${e.resourceUrl})` }, on: { click: function(o) {
238
238
  return e.openResourceModal(e.type);
@@ -243,8 +243,8 @@ var k = function() {
243
243
  "sepia(50%) contrast(140%)",
244
244
  "sepia(25%) brightness(95%) contrast(95%) saturate(150%)",
245
245
  "blur(0px) sepia(15%) saturate(130%) hue-rotate(-30deg)"
246
- ], function(o, r) {
247
- return t("div", { key: r, staticClass: "bg-filter", class: { "is-active": e.filter === o }, on: { click: function(a) {
246
+ ], function(o, a) {
247
+ return t("div", { key: a, staticClass: "bg-filter", class: { "is-active": e.filter === o }, on: { click: function(r) {
248
248
  e.filter = o;
249
249
  } } }, [t("div", { staticClass: "bg-filter-preview", style: {
250
250
  filter: o,
@@ -269,7 +269,7 @@ var k = function() {
269
269
  R,
270
270
  !1,
271
271
  null,
272
- "b351ef11",
272
+ "8221fff6",
273
273
  null,
274
274
  null
275
275
  );
@@ -0,0 +1,33 @@
1
+ import o from "./AnswerModal-995e7a87.js";
2
+ import { r as e, u as t, n as s } from "./main-cf622dd3.js";
3
+ import "./anime.es-e284c852.js";
4
+ import "./vuex.esm-4a0fff7c.js";
5
+ import "./mapFormMixin-490a1765.js";
6
+ import "./CField-6da7299b.js";
7
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
8
+ const a = {
9
+ components: {
10
+ AnswerModal: o
11
+ },
12
+ mixins: [e(["answerType", "document", "closeFunc"])],
13
+ data() {
14
+ return { ui: t };
15
+ }
16
+ };
17
+ var m = function() {
18
+ var n = this, r = n._self._c;
19
+ return r("AnswerModal", { attrs: { mode: n.answerType, _document: n.document }, on: { close: n.closeFunc } });
20
+ }, c = [], i = /* @__PURE__ */ s(
21
+ a,
22
+ m,
23
+ c,
24
+ !1,
25
+ null,
26
+ null,
27
+ null,
28
+ null
29
+ );
30
+ const x = i.exports;
31
+ export {
32
+ x as default
33
+ };