@cling-se/widget 0.13.1 → 0.13.3

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 (136) hide show
  1. package/README.md +27 -22
  2. package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-D9a9MCUX.js} +11 -16
  3. package/dist/{AnswerModal-7c83d608.js → AnswerModal-D8x72yGp.js} +1931 -1948
  4. package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-BvRfBRk6.js} +15 -18
  5. package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BmvP7mNA.js} +139 -142
  6. package/dist/{BaseInput-2ca68242.js → BaseInput-DDxP_o2d.js} +77 -56
  7. package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-BYXTgBXu.js} +208 -212
  8. package/dist/{BlockMedia-9fa610ce.js → BlockMedia-BjasKSPl.js} +6 -8
  9. package/dist/{CCallout-4c253200.js → CCallout-D66Z5Gmx.js} +26 -16
  10. package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CsY-c0bJ.js} +51 -50
  11. package/dist/{CField-823448be.js → CField-P1DJ6Xte.js} +75 -58
  12. package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-CWaOjZ6c.js} +5 -7
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-ZmW20zh4.js} +6 -8
  14. package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-CS5EWC8m.js} +11 -13
  15. package/dist/{ClientModal-c5ee3885.js → ClientModal-JsCpUq7_.js} +25 -32
  16. package/dist/{ColorPicker-65a47379.js → ColorPicker-D2qM7zAH.js} +5 -7
  17. package/dist/{CompanyModal-564e2b35.js → CompanyModal-Cy41VR2V.js} +28 -30
  18. package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-BZV21UxA.js} +25 -43
  19. package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-BKSeVFDE.js} +20 -31
  20. package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-kP7uwYPw.js} +5 -12
  21. package/dist/{DocDetails-6522bb1b.js → DocDetails-CQokGcQU.js} +47 -59
  22. package/dist/{DocForm-983d41f5.js → DocForm--8jg79O2.js} +4871 -4946
  23. package/dist/{DocFormSend-787ce614.js → DocFormSend-yMGm0yem.js} +15 -33
  24. package/dist/DocLinks-tR60r1YR.js +38 -0
  25. package/dist/{DocModalBase-60c69c7f.js → DocModalBase-CTK46Brc.js} +8 -10
  26. package/dist/{DocPrint-78c501ca.js → DocPrint-GY73q9cl.js} +6 -10
  27. package/dist/{DocReceipt-ac44b93f.js → DocReceipt-pTTh1XRW.js} +11 -15
  28. package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-C4MsDwmQ.js} +2 -6
  29. package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-22iwpJ.js} +2509 -2529
  30. package/dist/{DocTimeline-35106a94.js → DocTimeline-CwcPVMLq.js} +26 -37
  31. package/dist/{DocumentClient-eda56a3c.js → DocumentClient-C9Lm9899.js} +15 -22
  32. package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BijbYCjw.js} +4510 -4527
  33. package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-EyAhhuyy.js} +20 -22
  34. package/dist/DocumentVoided-D5t8akG5.js +25 -0
  35. package/dist/{EmbedInput-8c301d27.js → EmbedInput-BgRj0APU.js} +9 -12
  36. package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-D2AVYJsR.js} +6 -9
  37. package/dist/ErrorCallout-C2Hz9_Kw.js +28 -0
  38. package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-qE7IG4wX.js} +8 -14
  39. package/dist/{Flag-a6b545e0.js → Flag-BCpOsl81.js} +18 -20
  40. package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-BZNxb77S.js} +34 -49
  41. package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-FTD0imPM.js} +12 -20
  42. package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-Dt-_sMWf.js} +356 -384
  43. package/dist/{Index-ea1e223d.js → Index-21Rqe72Y.js} +16 -18
  44. package/dist/{Index-54f457ee.js → Index-5j91zO6f.js} +10 -12
  45. package/dist/{Index-848bb05c.js → Index-BCXTn1sC.js} +11 -13
  46. package/dist/{Index-01224b38.js → Index-BDET3dI8.js} +233 -273
  47. package/dist/{Index-071b97c8.js → Index-BFaUGjUB.js} +24 -26
  48. package/dist/{Index-8cfeac73.js → Index-BKlCGLNd.js} +80 -90
  49. package/dist/{Index-c349151b.js → Index-BoLTPa35.js} +7 -9
  50. package/dist/{Index-ecbffb52.js → Index-CBbfIsZN.js} +18 -31
  51. package/dist/{Index-8f237754.js → Index-CFdROMC3.js} +6 -8
  52. package/dist/{Index-8ea1a895.js → Index-CJODaFN6.js} +16 -21
  53. package/dist/{Index-4298f3e2.js → Index-C_xGmfku.js} +13 -15
  54. package/dist/Index-CcukWQRL.js +21 -0
  55. package/dist/Index-Cl5xExRO.js +24 -0
  56. package/dist/{Index-b56a2d94.js → Index-Cp6jRq1R.js} +20 -23
  57. package/dist/{Index-4b09d0fa.js → Index-CuoBquDv.js} +116 -118
  58. package/dist/{Index-4f119d80.js → Index-Cwl2NC2m.js} +459 -510
  59. package/dist/{Index-fe0e805b.js → Index-D-bjhn09.js} +51 -58
  60. package/dist/{Index-a52df5e2.js → Index-D2nfeQ5x.js} +14 -21
  61. package/dist/{Index-caebb616.js → Index-D5bdxU_9.js} +4 -6
  62. package/dist/{Index-6b66b9ff.js → Index-DFtgMiak.js} +4 -6
  63. package/dist/{Index-3f02e8ca.js → Index-DGZ31KnZ.js} +8 -11
  64. package/dist/{Index-5bf8b9b7.js → Index-DJR3xxCd.js} +8 -10
  65. package/dist/{Index-8ebe3371.js → Index-DMY-Sq_M.js} +19 -26
  66. package/dist/Index-DlhEipBL.js +26 -0
  67. package/dist/Index-Dv7cLrE4.js +52 -0
  68. package/dist/{Index-b2de3af8.js → Index-In1yv5wC.js} +2 -4
  69. package/dist/{Index-8e82da74.js → Index-UamytEM4.js} +12 -15
  70. package/dist/{Index-63aea2b8.js → Index-WMiYQ88f.js} +12 -21
  71. package/dist/{Index-a3920b7b.js → Index-WNn-Ygm3.js} +9 -11
  72. package/dist/{Index-56e4127a.js → Index-_IbAcZwx.js} +29 -29
  73. package/dist/{Index-f1bf6520.js → Index-djTZz7Ns.js} +6 -8
  74. package/dist/{Index-c049a6e2.js → Index-sfUDC-CQ.js} +7 -9
  75. package/dist/Index-tPwll4sB.js +49 -0
  76. package/dist/{Index-97c18be1.js → Index-xgTLuqmb.js} +5 -9
  77. package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-BEO32u0P.js} +3 -5
  78. package/dist/{ManualPopover-d7c2a780.js → ManualPopover-BBh0cUw5.js} +1 -3
  79. package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-CoMogZxx.js} +3 -6
  80. package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BT1Q6RMl.js} +5 -7
  81. package/dist/{PackageGroup-95d99d03.js → PackageGroup-FdTMDsjx.js} +35 -59
  82. package/dist/{PdfTerms-4a6d6067.js → PdfTerms-DyPWsQVj.js} +11 -18
  83. package/dist/{PdfViewer-8d7f2143.js → PdfViewer-DypsavPs.js} +25 -29
  84. package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-BfBjldPv.js} +5 -7
  85. package/dist/{PriceHeader-f2cb6529.js → PriceHeader-C7uxm0UF.js} +113 -130
  86. package/dist/SearchApi-BFRaO76p.js +161 -0
  87. package/dist/{Setup-74c47337.js → Setup-5Bd2oKy5.js} +9 -11
  88. package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-qp4QTvSS.js} +6 -12
  89. package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-BVO3w229.js} +8 -10
  90. package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-kUXMHL_T.js} +7 -9
  91. package/dist/{UploadModal-d2757015.js → UploadModal-pc_pdLKq.js} +16 -19
  92. package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-D_pGBwqs.js} +6 -8
  93. package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-j923whT9.js} +7 -11
  94. package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-YwoeiHje.js} +20 -28
  95. package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-B_U73rNw.js} +5 -5
  96. package/dist/{debounce-f8aeabc5.js → debounce-BsRaWg59.js} +3 -3
  97. package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
  98. package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-JAewKqED.js} +1 -1
  99. package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-D4n0po7Z.js} +1198 -1171
  100. package/dist/{formDrawerState-b99be3a7.js → formDrawerState-zC8aJ2vd.js} +1 -1
  101. package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-BZkYLjQt.js} +2 -2
  102. package/dist/{index-b2348f09.js → index-B3HvM0tt.js} +39 -44
  103. package/dist/{index-96e9db00.js → index-CoyXZLrG.js} +41 -59
  104. package/dist/{index-c9186403.js → index-DMs1rzm_.js} +14 -16
  105. package/dist/{IsPremiumPreStep-27645ee9.js → index-DNfDl5X3.js} +531 -566
  106. package/dist/{index-d35e9363.js → index-RA-At4z5.js} +5 -3
  107. package/dist/{index-9d1ade78.js → index-g89MyoBh.js} +3 -5
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +1019 -1028
  110. package/dist/{main-b9ea9725.js → main-DdTHuJSP.js} +21733 -21943
  111. package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-jUVHvbDZ.js} +1 -2
  112. package/dist/{vuedraggable.umd-1b113186.js → omit-Cu3_dgaV.js} +143 -133
  113. package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-DbENjyL4.js} +1 -1
  114. package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-53a6c735.js → throttle-DP3fD_7G.js} +2 -2
  117. package/dist/{tinycolor-071e269c.js → tinycolor-BK1IhVpb.js} +6 -6
  118. package/dist/{tippy.esm-1b89bf69.js → tippy.esm-BZYdaq3J.js} +226 -232
  119. package/dist/{utils-44a35f52.js → utils-D8WP6t_z.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/DocLinks-d6b1b080.js +0 -41
  122. package/dist/DocumentVoided-fe1bd505.js +0 -27
  123. package/dist/ErrorCallout-87033b39.js +0 -30
  124. package/dist/Index-6bfbbbd2.js +0 -61
  125. package/dist/Index-6c21af02.js +0 -28
  126. package/dist/Index-cbd0f3f6.js +0 -23
  127. package/dist/Index-f006e9fe.js +0 -26
  128. package/dist/Index-fc0516f6.js +0 -54
  129. package/dist/SearchApi-2a59cdc7.js +0 -167
  130. package/dist/index-3671e1b7.js +0 -14
  131. package/dist/index-805c56e4.js +0 -4
  132. /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
  133. /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
  134. /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
  135. /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
  136. /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
@@ -1,10 +1,18 @@
1
- import { g as a, n as s } from "./main-b9ea9725.js";
2
- import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
3
- import { a as r } from "./publicSenderState-a2c0cc9d.js";
1
+ import { a } from "./publicSenderState-DbENjyL4.js";
2
+ import { g as s, n as l } from "./main-DdTHuJSP.js";
3
+ import { m as p, a as r } from "./vuex.esm-DKGl8mcw.js";
4
4
  const c = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
- ImageUploadWrapper: () => import("./ImageUploadWrapper-be047810.js")
7
+ ImageUploadWrapper: () => import("./ImageUploadWrapper-Dt-_sMWf.js")
8
+ },
9
+ inject: {
10
+ viewSettings: {
11
+ default: () => ({
12
+ canEdit: !1,
13
+ isPublicForm: !1
14
+ })
15
+ }
8
16
  },
9
17
  props: {
10
18
  value: {
@@ -24,16 +32,8 @@ const c = {
24
32
  default: !1
25
33
  }
26
34
  },
27
- inject: {
28
- viewSettings: {
29
- default: () => ({
30
- canEdit: !1,
31
- isPublicForm: !1
32
- })
33
- }
34
- },
35
35
  computed: {
36
- ...l({
36
+ ...p({
37
37
  isPosting: "companies/isPosting"
38
38
  }),
39
39
  logotype() {
@@ -41,8 +41,8 @@ const c = {
41
41
  }
42
42
  },
43
43
  methods: {
44
- ...p({
45
- updateCompany: a.DO_UPDATE_CURRENT_COMPANY
44
+ ...r({
45
+ updateCompany: s.DO_UPDATE_CURRENT_COMPANY
46
46
  }),
47
47
  initUpload() {
48
48
  this.$refs.uploadWrapper && this.$refs.uploadWrapper.onClick();
@@ -55,7 +55,7 @@ const c = {
55
55
  if (this.isPosting)
56
56
  return;
57
57
  const t = { LogotypePublicId: e };
58
- this.viewSettings.isPublicForm ? r({ company: t }) : await this.updateCompany({ body: t });
58
+ this.viewSettings.isPublicForm ? a({ company: t }) : await this.updateCompany({ body: t });
59
59
  }
60
60
  }
61
61
  };
@@ -73,17 +73,15 @@ var m = function() {
73
73
  return t.$emit("input", "");
74
74
  } } }, [t._v(" " + t._s(t.$t("_common:reset")) + " ")])] : t._e()], 2)];
75
75
  } }], null, !1, 818564773) }) : t.showLogo ? o("div", { staticStyle: { display: "inline-block" } }, [o("img", { attrs: { src: t.logotype, alt: "", width: "150" } })]) : t._e();
76
- }, u = [], g = /* @__PURE__ */ s(
76
+ }, u = [], g = /* @__PURE__ */ l(
77
77
  c,
78
78
  m,
79
79
  u,
80
80
  !1,
81
81
  null,
82
- "45ca9a93",
83
- null,
84
- null
82
+ "ad15ba8a"
85
83
  );
86
- const h = g.exports;
84
+ const f = g.exports;
87
85
  export {
88
- h as default
86
+ f as default
89
87
  };
@@ -0,0 +1,25 @@
1
+ import { n } from "./main-DdTHuJSP.js";
2
+ const s = {
3
+ name: "DocumentVoided",
4
+ props: {
5
+ document: {
6
+ type: Object,
7
+ required: !0
8
+ }
9
+ }
10
+ };
11
+ var o = function() {
12
+ var t = this, e = t._self._c;
13
+ return e("div", { staticClass: "grid h-full place-items-center text-center" }, [e("div", { staticClass: "py-12" }, [e("CIcon", { staticClass: "text-primary-500 mb-2", attrs: { type: "info" } }), e("div", { staticClass: "text-lg font-medium", domProps: { textContent: t._s(t.document.$t("documentVoided.title")) } }), e("div", { staticClass: "text-gray-700", domProps: { textContent: t._s(t.document.$t("documentVoided.description")) } })], 1)]);
14
+ }, r = [], c = /* @__PURE__ */ n(
15
+ s,
16
+ o,
17
+ r,
18
+ !1,
19
+ null,
20
+ null
21
+ );
22
+ const a = c.exports;
23
+ export {
24
+ a as D
25
+ };
@@ -1,9 +1,9 @@
1
- import { d } from "./debounce-f8aeabc5.js";
2
- import { b as l, n as o } from "./main-b9ea9725.js";
1
+ import { d } from "./debounce-BsRaWg59.js";
2
+ import { b as l, n as o } from "./main-DdTHuJSP.js";
3
3
  const m = (t) => {
4
- const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
5
- return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
6
- (a, { name: r, value: n }) => ({ ...a, [r]: n }),
4
+ const i = new DOMParser().parseFromString(t, "text/html"), [a] = l(i, "body.children") || [];
5
+ return !a || a.tagName !== "IFRAME" ? {} : Array.from(a.attributes).reduce(
6
+ (s, { name: r, value: n }) => ({ ...s, [r]: n }),
7
7
  {}
8
8
  );
9
9
  }, u = (t) => {
@@ -13,8 +13,7 @@ const m = (t) => {
13
13
  return Object.keys(t).forEach((i) => e.setAttribute(i, t[i])), e.hasAttribute("src") ? e.outerHTML : "";
14
14
  }, c = (t) => /^(?:https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi.test(
15
15
  t
16
- );
17
- const p = {
16
+ ), p = {
18
17
  name: "EmbedInput",
19
18
  i18nOptions: {
20
19
  namespaces: "embedInput",
@@ -95,9 +94,9 @@ var f = function() {
95
94
  display: "flex",
96
95
  flexDirection: "column",
97
96
  alignItems: "flex-start"
98
- }, attrs: { grouped: !e.isDrawerMode } }, [i("CField", { staticStyle: { width: "100%" }, attrs: { validator: e.$v.embed, messages: e.messages.embed, expanded: "" } }, [i("CInput", { ref: "input", attrs: { placeholder: e.inputPlaceholder, size: e.isDrawerMode ? "small" : void 0, loading: e.isLoading, filled: e.isDrawerMode, "auto-resize": !0, type: "textarea", expanded: "" }, on: { input: e.onInput }, model: { value: e.iFrameTplString, callback: function(s) {
99
- e.iFrameTplString = s;
100
- }, expression: "iFrameTplString" } })], 1), i("CButton", { attrs: { disabled: e.isLoading, size: e.isDrawerMode ? "small" : void 0, type: "secondary" }, on: { click: function(s) {
97
+ }, attrs: { grouped: !e.isDrawerMode } }, [i("CField", { staticStyle: { width: "100%" }, attrs: { validator: e.$v.embed, messages: e.messages.embed, expanded: "" } }, [i("CInput", { ref: "input", attrs: { placeholder: e.inputPlaceholder, size: e.isDrawerMode ? "small" : void 0, loading: e.isLoading, filled: e.isDrawerMode, "auto-resize": !0, type: "textarea", expanded: "" }, on: { input: e.onInput }, model: { value: e.iFrameTplString, callback: function(a) {
98
+ e.iFrameTplString = a;
99
+ }, expression: "iFrameTplString" } })], 1), i("CButton", { attrs: { disabled: e.isLoading, size: e.isDrawerMode ? "small" : void 0, type: "secondary" }, on: { click: function(a) {
101
100
  return e.validateInput(e.iFrameTplString);
102
101
  } } }, [e._v(" " + e._s(e.$t("_common:add")) + " ")])], 1);
103
102
  }, h = [], b = /* @__PURE__ */ o(
@@ -106,8 +105,6 @@ var f = function() {
106
105
  h,
107
106
  !1,
108
107
  null,
109
- null,
110
- null,
111
108
  null
112
109
  );
113
110
  const v = b.exports;
@@ -1,6 +1,5 @@
1
- import n from "./EmbedInput-8c301d27.js";
2
- import { n as l } from "./main-b9ea9725.js";
3
- import "./debounce-f8aeabc5.js";
1
+ import n from "./EmbedInput-BgRj0APU.js";
2
+ import { n as l } from "./main-DdTHuJSP.js";
4
3
  const o = {
5
4
  i18nOptions: {
6
5
  namespaces: "embedSettings",
@@ -59,17 +58,15 @@ var r = function() {
59
58
  return e.$emit("update:size", i);
60
59
  } } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(s) } })]);
61
60
  }), 0) : e._e()])]);
62
- }, d = [], p = /* @__PURE__ */ l(
61
+ }, d = [], v = /* @__PURE__ */ l(
63
62
  o,
64
63
  r,
65
64
  d,
66
65
  !1,
67
66
  null,
68
- "9bf232df",
69
- null,
70
- null
67
+ "5e441f83"
71
68
  );
72
- const f = p.exports;
69
+ const z = v.exports;
73
70
  export {
74
- f as default
71
+ z as default
75
72
  };
@@ -0,0 +1,28 @@
1
+ import { n as e } from "./main-DdTHuJSP.js";
2
+ const a = {
3
+ name: "ErrorCallout",
4
+ props: {
5
+ message: {
6
+ type: String,
7
+ required: !0
8
+ },
9
+ size: {
10
+ type: String,
11
+ default: "normal"
12
+ }
13
+ }
14
+ };
15
+ var s = function(r, t) {
16
+ return r("div", { staticClass: "flex items-center", class: [t.data.staticClass], staticStyle: { "margin-top": "calc(1 * var(--rem))" }, style: [t.data.staticStyle] }, [r("div", { staticClass: "error-wrapper bg-red-50 text-red-500", class: [`is-${t.props.size}`], staticStyle: { margin: "calc(1 * var(--rem)) 0" } }, [r("CIcon", { staticStyle: { "margin-right": "0.5em", flex: "0 0 18px" }, attrs: { type: "alert", size: "18" } }), r("div", [t._v(" " + t._s(t.props.message) + " ")])], 1)]);
17
+ }, i = [], n = /* @__PURE__ */ e(
18
+ a,
19
+ s,
20
+ i,
21
+ !0,
22
+ null,
23
+ "a90b7cb8"
24
+ );
25
+ const c = n.exports;
26
+ export {
27
+ c as E
28
+ };
@@ -1,14 +1,10 @@
1
- import { n, S as o } from "./main-b9ea9725.js";
2
- import { V as r } from "./PdfViewer-8d7f2143.js";
3
- import "./dom-962579a6.js";
4
- import "./DocumentLayout-4005baa4.js";
5
- import "./debounce-f8aeabc5.js";
6
- import "./CDropdownItem-7e71da85.js";
1
+ import { V as n } from "./PdfViewer-DypsavPs.js";
2
+ import { n as o, S as r } from "./main-DdTHuJSP.js";
7
3
  const a = {
8
4
  name: "FilesPreviewModal",
9
5
  components: {
10
- Spinner: o,
11
- VuePdf: r
6
+ Spinner: r,
7
+ VuePdf: n
12
8
  },
13
9
  props: {
14
10
  index: {
@@ -71,17 +67,15 @@ var l = function() {
71
67
  } } })], 1) : t.isLoading ? t._e() : e("img", { staticClass: "modal-image", attrs: { src: t.list[t.currentIndex].url }, on: { load: function(s) {
72
68
  t.isLoading = !1;
73
69
  } } })], 1)]);
74
- }, d = [], c = /* @__PURE__ */ n(
70
+ }, d = [], c = /* @__PURE__ */ o(
75
71
  a,
76
72
  l,
77
73
  d,
78
74
  !1,
79
75
  null,
80
- "a365799a",
81
- null,
82
- null
76
+ "76622471"
83
77
  );
84
- const w = c.exports;
78
+ const p = c.exports;
85
79
  export {
86
- w as default
80
+ p as default
87
81
  };
@@ -1,4 +1,4 @@
1
- import { N as c, n as o } from "./main-b9ea9725.js";
1
+ import { N as c, n as _ } from "./main-DdTHuJSP.js";
2
2
  var m = {
3
3
  name: "simplebar-vue",
4
4
  mounted: function() {
@@ -13,7 +13,7 @@ var m = {
13
13
  return this.$refs.contentElement;
14
14
  }
15
15
  }
16
- }, d = m, _ = function() {
16
+ }, d = m, o = function() {
17
17
  var e = this, s = e.$createElement, r = e._self._c || s;
18
18
  return r("div", {
19
19
  ref: "element"
@@ -56,17 +56,17 @@ var m = {
56
56
  staticClass: "simplebar-scrollbar"
57
57
  })]);
58
58
  }];
59
- _._withStripped = !0;
60
- var u = void 0, p = void 0, f = !1;
61
- function h(t, e, s, r, n, i, l, E) {
59
+ o._withStripped = !0;
60
+ var p = void 0, u = void 0;
61
+ function f(t, e, s, r, n, i, l, S) {
62
62
  var a = (typeof s == "function" ? s.options : s) || {};
63
- return a.__file = "/Users/adriendenat/Sites/simplebar/packages/simplebar-vue/index.vue", a.render || (a.render = t.render, a.staticRenderFns = t.staticRenderFns, a._compiled = !0, n && (a.functional = !0)), a._scopeId = r, a;
63
+ return a.__file = "/Users/adriendenat/Sites/simplebar/packages/simplebar-vue/index.vue", a.render || (a.render = t.render, a.staticRenderFns = t.staticRenderFns, a._compiled = !0), a._scopeId = r, a;
64
64
  }
65
- var w = h({
66
- render: _,
65
+ var $ = f({
66
+ render: o,
67
67
  staticRenderFns: v
68
- }, u, d, p, f);
69
- const b = {
68
+ }, p, d, u);
69
+ const h = {
70
70
  name: "FlagIcon",
71
71
  props: {
72
72
  region: {
@@ -91,26 +91,24 @@ const b = {
91
91
  n.id = t, n.rel = "stylesheet", n.type = "text/css", n.href = "https://www.unpkg.com/flag-icons@6.6.6/css/flag-icons.min.css", n.media = "all", r.appendChild(n);
92
92
  }
93
93
  };
94
- var g = function() {
94
+ var b = function() {
95
95
  var e = this, s = e._self._c;
96
96
  return e.region ? s("span", { staticClass: "fi", class: [
97
- `fi-${this.region.toLowerCase()}`,
97
+ `fi-${e.region.toLowerCase()}`,
98
98
  {
99
- fis: this.isSquared
99
+ fis: e.isSquared
100
100
  }
101
101
  ], attrs: { title: e.title || e.region } }) : e._e();
102
- }, C = [], S = /* @__PURE__ */ o(
102
+ }, g = [], C = /* @__PURE__ */ _(
103
+ h,
103
104
  b,
104
105
  g,
105
- C,
106
106
  !1,
107
107
  null,
108
- null,
109
- null,
110
108
  null
111
109
  );
112
- const y = S.exports;
110
+ const w = C.exports;
113
111
  export {
114
- y as F,
115
- w as s
112
+ w as F,
113
+ $ as s
116
114
  };
@@ -1,20 +1,10 @@
1
- import { m as x } from "./mapFormMixin-de4a37c3.js";
2
- import { T as _ } from "./ThemeColorRow-bbf4f527.js";
3
- import { c as v, n as y, o as d, E as w } from "./main-b9ea9725.js";
4
- import { B as C, a as b } from "./index-b2348f09.js";
5
- import k from "./VideoPlayerInput-cb6c91e8.js";
6
- import S from "./ImageUploadWrapper-be047810.js";
7
- import { t as A } from "./tinycolor-071e269c.js";
8
- import "./color-c1606adc.js";
9
- import "./ColorPicker-65a47379.js";
10
- import "./ManualPopover-d7c2a780.js";
11
- import "./debounce-f8aeabc5.js";
12
- import "./throttle-53a6c735.js";
13
- import "./dom-962579a6.js";
14
- import "./CDropdownItem-7e71da85.js";
15
- import "./Flag-a6b545e0.js";
16
- import "./utils-44a35f52.js";
17
- import "./BaseUpload-a37ee3a3.js";
1
+ import { m as x } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { T as w } from "./ThemeColorRow-BVO3w229.js";
3
+ import C from "./VideoPlayerInput-D_pGBwqs.js";
4
+ import _ from "./ImageUploadWrapper-Dt-_sMWf.js";
5
+ import { B as k, a as b } from "./index-B3HvM0tt.js";
6
+ import { c as v, n as y, o as d, E as S } from "./main-DdTHuJSP.js";
7
+ import { t as A } from "./tinycolor-BK1IhVpb.js";
18
8
  const g = v.unsplash.id, L = v.pexels.id, z = {
19
9
  name: "MediaSelectModal",
20
10
  i18nOptions: {
@@ -35,10 +25,10 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
35
25
  }
36
26
  },
37
27
  components: {
38
- BackgroundModal: C,
28
+ BackgroundModal: k,
39
29
  BackgroundList: b,
40
- VideoPlayerInput: k,
41
- ImageUploadWrapper: S
30
+ VideoPlayerInput: C,
31
+ ImageUploadWrapper: _
42
32
  },
43
33
  props: {
44
34
  currentType: {
@@ -118,23 +108,23 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
118
108
  per_page: 12,
119
109
  query: i
120
110
  }
121
- }), o = (r, a) => r.height < a.height || r.width < a.width ? -1 : 1, s = (r) => (r.find(({ height: a }) => a > 1e3 && a < 1200) || {}).link;
111
+ }), o = (s, a) => s.height < a.height || s.width < a.width ? -1 : 1, r = (s) => (s.find(({ height: a }) => a > 1e3 && a < 1200) || {}).link;
122
112
  return {
123
113
  items: (e.videos || []).map(
124
- ({ id: r, image: a, video_files: m = [], user: u }) => {
125
- const { sd: h, hd: p } = (m || []).sort(o).reduce(
114
+ ({ id: s, image: a, video_files: u = [], user: m }) => {
115
+ const { sd: h, hd: p } = (u || []).sort(o).reduce(
126
116
  (n, l) => (n[l.quality] && l.link && n[l.quality].push(l.link), n),
127
117
  { sd: [], hd: [] }
128
118
  ), [f] = h;
129
- let c = s(m);
119
+ let c = r(u);
130
120
  return c || ([c] = p.length ? p : h.slice(-1)), {
131
- id: `${r}`,
121
+ id: `${s}`,
132
122
  image: a,
133
123
  minImage: a,
134
124
  video: c,
135
125
  minVideo: f,
136
- userName: u.name,
137
- userLink: u.link
126
+ userName: m.name,
127
+ userLink: m.link
138
128
  };
139
129
  }
140
130
  ),
@@ -142,7 +132,7 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
142
132
  };
143
133
  },
144
134
  selectImage({ image: i, links: t, color: e }) {
145
- this.selectedImage = w(i, { w: 1800 }), e && (this.preferredColor = e);
135
+ this.selectedImage = S(i, { w: 1800 }), e && (this.preferredColor = e);
146
136
  const o = new Image();
147
137
  o.src = this.selectedImage, d.get(t.download_location, {
148
138
  params: {
@@ -175,8 +165,8 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
175
165
  };
176
166
  var I = function() {
177
167
  var t = this, e = t._self._c;
178
- return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o, s) {
179
- return e("CButton", { key: s, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(r) {
168
+ return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o, r) {
169
+ return e("CButton", { key: r, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(s) {
180
170
  t.activeTab = o.value;
181
171
  } } }, [e("span", { staticClass: "inline-flex items-center justify-center" }, [e("div", { domProps: { innerHTML: t._s(o.icon) } }), e("span", { staticClass: "max-md:!hidden" }, [t._v(t._s(o.label))])])]);
182
172
  }), 1), ["unsplash", "pexels"].includes(t.activeTab) ? e("BackgroundList", { key: t.activeTab, attrs: { fetch: t.isImage ? t.fetchImage : t.fetchVideo, "credit-text": t.$t("creditVideos", { thing: t.activeTab.capitalize() }), "default-query": "nature" }, on: { select: function(o) {
@@ -192,15 +182,12 @@ var I = function() {
192
182
  V,
193
183
  !1,
194
184
  null,
195
- "7234cabe",
196
- null,
197
- null
185
+ "459dc015"
198
186
  );
199
- const T = M.exports;
200
- const $ = {
187
+ const T = M.exports, $ = {
201
188
  name: "HeaderSettings",
202
189
  components: {
203
- ThemeColorRow: _
190
+ ThemeColorRow: w
204
191
  },
205
192
  mixins: [
206
193
  x(
@@ -343,7 +330,7 @@ const $ = {
343
330
  // Used for setting the correct array item order for specific layouts
344
331
  // will place the given item type first in items
345
332
  setLayout({ layout: i, type: t = "" }) {
346
- const e = (o) => (s, r) => s.type === o ? -1 : 1;
333
+ const e = (o) => (r) => r.type === o ? -1 : 1;
347
334
  t && (this.items = [...this.items].sort(e(t))), this.layout = i;
348
335
  },
349
336
  openBgModal() {
@@ -356,11 +343,11 @@ const $ = {
356
343
  {},
357
344
  {
358
345
  input: ({ type: t, value: e, preferredColor: o }) => {
359
- const s = t === "image" ? "resourceUrl" : "video";
346
+ const r = t === "image" ? "resourceUrl" : "video";
360
347
  this.media = {
361
348
  ...this.media,
362
349
  type: t,
363
- [s]: e
350
+ [r]: e
364
351
  }, o && !this._document.isDirty(this._value.backgroundColor) && (this.backgroundColor = o);
365
352
  }
366
353
  }
@@ -370,8 +357,8 @@ const $ = {
370
357
  };
371
358
  var B = function() {
372
359
  var t = this, e = t._self._c;
373
- return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: o, onClick: s, icon: r }, a) {
374
- return e("CButton", { key: a, staticStyle: { padding: "6px 10px", "border-radius": "3px", height: "initial" }, attrs: { type: o ? "secondary" : "none", pattern: o ? "primary" : "secondary", size: "normal" }, on: { click: s } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(r) } })]);
360
+ return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: o, onClick: r, icon: s }, a) {
361
+ return e("CButton", { key: a, staticStyle: { padding: "6px 10px", "border-radius": "3px", height: "initial" }, attrs: { type: o ? "secondary" : "none", pattern: o ? "primary" : "secondary", size: "normal" }, on: { click: r } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(s) } })]);
375
362
  }), 1)]), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:background").capitalize()) + " ")]), e("div", { staticClass: "d-option-button-image", style: {
376
363
  backgroundImage: `url(${t.background || t.theme.background})`
377
364
  }, on: { click: t.openBgModal } })]), e("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.overlayColor || t.theme.backgroundFilter || "", placement: "auto" }, on: { change: function(o) {
@@ -384,12 +371,12 @@ var B = function() {
384
371
  t.backgroundColor = o, t._document.setDirty(t._value.backgroundColor);
385
372
  } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" }, attrs: { value: t.textColor || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
386
373
  t.textColor = o, t._document.setDirty(t._value.textColor);
387
- } } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "d-option flex w-full" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: o, icon: s }, r) {
388
- return e("CRadioButton", { key: r, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
374
+ } } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "d-option flex w-full" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: o, icon: r }, s) {
375
+ return e("CRadioButton", { key: s, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
389
376
  return t._document.setDirty(t._value.textAlign);
390
377
  } }, model: { value: t.textAlign, callback: function(a) {
391
378
  t.textAlign = a;
392
- }, expression: "textAlign" } }, [e("svg", { staticStyle: { margin: "0" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 48 48", fill: "currentColor", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(s) } })]);
379
+ }, expression: "textAlign" } }, [e("svg", { staticStyle: { margin: "0" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 48 48", fill: "currentColor", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(r) } })]);
393
380
  }), 1)], 1)]], 2);
394
381
  }, P = [], F = /* @__PURE__ */ y(
395
382
  $,
@@ -397,11 +384,9 @@ var B = function() {
397
384
  P,
398
385
  !1,
399
386
  null,
400
- "9b000048",
401
- null,
402
- null
387
+ "adcf8352"
403
388
  );
404
- const tt = F.exports;
389
+ const q = F.exports;
405
390
  export {
406
- tt as default
391
+ q as default
407
392
  };
@@ -1,13 +1,7 @@
1
- import { c as r, n as l, o as n, E as i } from "./main-b9ea9725.js";
2
- import c from "./ImageUploadWrapper-be047810.js";
3
- import { B as m, a as d } from "./index-b2348f09.js";
4
- import "./BaseUpload-a37ee3a3.js";
5
- import "./debounce-f8aeabc5.js";
6
- import "./throttle-53a6c735.js";
7
- import "./dom-962579a6.js";
8
- import "./CDropdownItem-7e71da85.js";
9
- import "./Flag-a6b545e0.js";
10
- const o = r.unsplash.id, p = {
1
+ import r from "./ImageUploadWrapper-Dt-_sMWf.js";
2
+ import { B as l, a as i } from "./index-B3HvM0tt.js";
3
+ import { c, n as m, o as n, E as d } from "./main-DdTHuJSP.js";
4
+ const o = c.unsplash.id, p = {
11
5
  name: "ImageSelectModal",
12
6
  i18nOptions: {
13
7
  namespaces: "imageSelectModal",
@@ -21,9 +15,9 @@ const o = r.unsplash.id, p = {
21
15
  }
22
16
  },
23
17
  components: {
24
- BackgroundModal: m,
25
- BackgroundList: d,
26
- ImageUploadWrapper: c
18
+ BackgroundModal: l,
19
+ BackgroundList: i,
20
+ ImageUploadWrapper: r
27
21
  },
28
22
  data() {
29
23
  return {
@@ -53,7 +47,7 @@ const o = r.unsplash.id, p = {
53
47
  };
54
48
  },
55
49
  selectImage(a) {
56
- this.selectedUrl = i(a.image, { w: 1800 });
50
+ this.selectedUrl = d(a.image, { w: 1800 });
57
51
  const e = new Image();
58
52
  e.src = this.selectedUrl, n.get(a.links.download_location, {
59
53
  params: {
@@ -76,17 +70,15 @@ var u = function() {
76
70
  } }, scopedSlots: e._u([{ key: "default", fn: function({ progress: s }) {
77
71
  return [t("CButton", { attrs: { loading: !!s, "icon-left": "upload", type: "none" } }, [e._v(" " + e._s(e.$t("_common:upload")) + " ")])];
78
72
  } }]) }), t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2)], 1);
79
- }, g = [], _ = /* @__PURE__ */ l(
73
+ }, g = [], h = /* @__PURE__ */ m(
80
74
  p,
81
75
  u,
82
76
  g,
83
77
  !1,
84
78
  null,
85
- "d5235193",
86
- null,
87
- null
79
+ "d3705339"
88
80
  );
89
- const S = _.exports;
81
+ const v = h.exports;
90
82
  export {
91
- S as default
83
+ v as default
92
84
  };