@cling-se/widget 0.9.27 → 0.9.29

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 (123) hide show
  1. package/dist/{AddClientCallout-dd99d0d5.js → AddClientCallout-ce5f5f46.js} +6 -12
  2. package/dist/{AnswerModal-6afa03a5.js → AnswerModal-3221683b.js} +37 -37
  3. package/dist/{AttachmentItem-f77592a9.js → AttachmentItem-2c1174e0.js} +3 -3
  4. package/dist/{BaseDatePicker-8a39d0c2.js → BaseDatePicker-a82aba1b.js} +654 -624
  5. package/dist/{BaseInput-dbd3178b.js → BaseInput-489bd05b.js} +1 -1
  6. package/dist/{BaseUpload-38ad6097.js → BaseUpload-dc4efbd3.js} +13 -13
  7. package/dist/{BlockMedia-843990e1.js → BlockMedia-d91bb4a5.js} +1 -1
  8. package/dist/{CCallout-c0f901a7.js → CCallout-3d3df80b.js} +2 -2
  9. package/dist/{CDropdownItem-fa88e012.js → CDropdownItem-80d6f1d6.js} +18 -16
  10. package/dist/{CField-3a437b10.js → CField-617ee7e0.js} +1 -1
  11. package/dist/{CPhoneFormat-a9139d94.js → CPhoneFormat-8e8c1862.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-76a4be84.js → CSlider.vue_vue_type_style_index_0_lang-61beea49.js} +1 -1
  13. package/dist/{ClientAutocomplete-7cb8a2e1.js → ClientAutocomplete-2b46278b.js} +2 -2
  14. package/dist/{ClientModal-26774205.js → ClientModal-3d6a6254.js} +116 -63
  15. package/dist/{ColorPicker-98baa7d4.js → ColorPicker-b5a7c17d.js} +1 -1
  16. package/dist/{CompanyModal-897f5534.js → CompanyModal-72197be9.js} +3 -3
  17. package/dist/{ContentWrapper-e1e093b7.js → ContentWrapper-0ef2034e.js} +13 -13
  18. package/dist/{CoverBlockSettings-97d062e1.js → CoverBlockSettings-fea5025d.js} +26 -36
  19. package/dist/{DocAnswer-a8c69056.js → DocAnswer-f07000a5.js} +4 -4
  20. package/dist/{DocDetails-f092d872.js → DocDetails-fc0f6699.js} +4 -4
  21. package/dist/{DocForm-889f2750.js → DocForm-1465fccc.js} +202 -197
  22. package/dist/{DocFormSend-58b44424.js → DocFormSend-8608a153.js} +22 -23
  23. package/dist/{DocLinks-1bdb3110.js → DocLinks-2b0860fb.js} +2 -2
  24. package/dist/{DocModalBase-afd069cd.js → DocModalBase-5ccf22f3.js} +1 -1
  25. package/dist/{DocPrint-3ff914fd.js → DocPrint-1700274a.js} +1 -1
  26. package/dist/{DocReceipt-19de0274.js → DocReceipt-44197299.js} +2 -2
  27. package/dist/{DocSendReminder-23716d0b.js → DocSendReminder-af802c73.js} +1 -1
  28. package/dist/{DocTextEditor-6b614e43.js → DocTextEditor-1704fa97.js} +8 -8
  29. package/dist/{DocTimeline-df7cb5f4.js → DocTimeline-63b452ad.js} +5 -5
  30. package/dist/{DocumentClient-61d7e50f.js → DocumentClient-38e59b20.js} +7 -7
  31. package/dist/{DocumentLayout-86646c16.js → DocumentLayout-3aa5beb7.js} +143 -143
  32. package/dist/{DocumentLogotype-14929724.js → DocumentLogotype-577bc574.js} +3 -3
  33. package/dist/{DocumentVoided-a9d41411.js → DocumentVoided-8c1fde51.js} +1 -1
  34. package/dist/{EmbedInput-71fd2f2a.js → EmbedInput-a13d0bd9.js} +2 -2
  35. package/dist/{EmbedSettings-2254a7c3.js → EmbedSettings-a89ca29c.js} +3 -3
  36. package/dist/{ErrorCallout-b482d289.js → ErrorCallout-4f239204.js} +1 -1
  37. package/dist/{FilePreviewModal-1802c766.js → FilePreviewModal-4c3604dd.js} +5 -5
  38. package/dist/Flag-bc43bb0c.js +116 -0
  39. package/dist/{HeaderSettings-10cfcc90.js → HeaderSettings-c4f142e8.js} +26 -36
  40. package/dist/{ImageSelectModal-594227d6.js → ImageSelectModal-c6313667.js} +17 -18
  41. package/dist/{ImageUploadWrapper-452e463d.js → ImageUploadWrapper-58b96176.js} +2 -2
  42. package/dist/{Index-84a484ed.js → Index-183a68e0.js} +9 -9
  43. package/dist/{Index-f1afee11.js → Index-2578fbeb.js} +7 -6
  44. package/dist/{Index-be92553f.js → Index-309834c5.js} +4 -4
  45. package/dist/{Index-dceaf93a.js → Index-37404666.js} +4 -4
  46. package/dist/{Index-a7b08aa1.js → Index-3c821630.js} +2 -2
  47. package/dist/{Index-8fc860de.js → Index-445088b5.js} +6 -6
  48. package/dist/{Index-88854d18.js → Index-5009df0b.js} +18 -17
  49. package/dist/{Index-a8206849.js → Index-5176befe.js} +2 -2
  50. package/dist/{Index-d036b1fb.js → Index-523a447e.js} +2 -2
  51. package/dist/{Index-3ee432f2.js → Index-57c10afa.js} +6 -6
  52. package/dist/{Index-780a5e8f.js → Index-5bffe550.js} +2 -2
  53. package/dist/{Index-235cb5f0.js → Index-6f556e68.js} +9 -9
  54. package/dist/{Index-354b4c80.js → Index-812afc8c.js} +2 -2
  55. package/dist/{Index-225e8cef.js → Index-83f30e6e.js} +10 -10
  56. package/dist/{Index-d645b179.js → Index-8ab66f25.js} +4 -4
  57. package/dist/{Index-28ce2c21.js → Index-9587b1a0.js} +3 -3
  58. package/dist/{Index-529ba57d.js → Index-a1c30649.js} +2 -2
  59. package/dist/{Index-9fd01853.js → Index-a6919f89.js} +4 -4
  60. package/dist/{Index-2131fa69.js → Index-a6afc0fb.js} +4 -4
  61. package/dist/{Index-c1d06810.js → Index-ac8b139d.js} +7 -7
  62. package/dist/{Index-83ef778b.js → Index-b0022178.js} +4 -4
  63. package/dist/{Index-0966b580.js → Index-b11034d9.js} +8 -8
  64. package/dist/{Index-5736c4f7.js → Index-bd08a626.js} +22 -22
  65. package/dist/{Index-2564d031.js → Index-bd748f4d.js} +5 -5
  66. package/dist/{Index-0f8c36f0.js → Index-c29ce250.js} +2 -2
  67. package/dist/{Index-2621d373.js → Index-c913c838.js} +4 -4
  68. package/dist/{Index-fe07902d.js → Index-c96b800d.js} +4 -4
  69. package/dist/{Index-5d37606d.js → Index-cc632439.js} +14 -14
  70. package/dist/{Index-e361a308.js → Index-cf86c57e.js} +1 -1
  71. package/dist/{Index-ddfe7813.js → Index-daf40983.js} +13 -15
  72. package/dist/{Index-17b82242.js → Index-ea4a220f.js} +16 -16
  73. package/dist/{Index-2e9bbe9d.js → Index-ed8d3227.js} +4 -4
  74. package/dist/{Index-5921d2de.js → Index-fe4ea35d.js} +7 -7
  75. package/dist/{Index-098078af.js → Index-ffbe09d0.js} +2 -2
  76. package/dist/{InputToggleRow-04cc08de.js → InputToggleRow-7ec3607f.js} +1 -1
  77. package/dist/{IsPremiumPreStep-94901e25.js → IsPremiumPreStep-178406ae.js} +30 -31
  78. package/dist/{ManualPopover-2fb96f78.js → ManualPopover-8b6a226d.js} +1 -1
  79. package/dist/{MediaWrapper-abd398c1.js → MediaWrapper-67b73943.js} +3 -3
  80. package/dist/{NotBindingText-92aa597b.js → NotBindingText-1e509df6.js} +2 -2
  81. package/dist/{PackageGroup-ea7e992f.js → PackageGroup-1d065d95.js} +15 -15
  82. package/dist/{PdfTerms-aa7ad8cd.js → PdfTerms-f4ec7376.js} +5 -5
  83. package/dist/{PdfViewer-a0c897a2.js → PdfViewer-a54231e8.js} +2 -2
  84. package/dist/{PlainHtml-234e0e43.js → PlainHtml-ae92cb56.js} +1 -1
  85. package/dist/{PriceHeader-1b81d019.js → PriceHeader-7c0bc252.js} +13 -13
  86. package/dist/{SearchApi-953a1b13.js → SearchApi-95506360.js} +2 -2
  87. package/dist/{Setup-7928d952.js → Setup-c4a6727b.js} +1 -1
  88. package/dist/{TermsSettings-d40ea3f3.js → TermsSettings-daaccf0c.js} +7 -7
  89. package/dist/{ThemeColorRow-0a8e8f1d.js → ThemeColorRow-8aa93760.js} +3 -3
  90. package/dist/{ToggleBinding-1d872e1c.js → ToggleBinding-5ea20a6d.js} +3 -3
  91. package/dist/{UploadModal-006e32ff.js → UploadModal-471296cd.js} +3 -3
  92. package/dist/{VideoPlayerInput-d2418095.js → VideoPlayerInput-a813f371.js} +3 -3
  93. package/dist/{VideoPlayerSettings-d1fa2cde.js → VideoPlayerSettings-e4675b6c.js} +4 -4
  94. package/dist/{VideoSelectModal-84cc0824.js → VideoSelectModal-0f75c3e9.js} +24 -24
  95. package/dist/{answerDocumentMixin-a896581b.js → answerDocumentMixin-e4d38bf0.js} +3 -3
  96. package/dist/{debounce-b30e6f76.js → debounce-249438e8.js} +9 -9
  97. package/dist/{focusDrawerMixin-8b4c70e5.js → focusDrawerMixin-88ff00cf.js} +1 -1
  98. package/dist/{formComponentsInstall-07c350b0.js → formComponentsInstall-f602ecc3.js} +158 -200
  99. package/dist/{formDrawerState-e3da6074.js → formDrawerState-8a5d45a8.js} +1 -1
  100. package/dist/{formValidationMixin-05028cb3.js → formValidationMixin-4c12cbd6.js} +1 -1
  101. package/dist/{index-3197309d.js → index-02573377.js} +7 -8
  102. package/dist/index-12a0fc1b.js +171 -0
  103. package/dist/index-23806d5a.js +14 -0
  104. package/dist/{index-a03d80b9.js → index-54f4fd56.js} +9 -9
  105. package/dist/{index-8a437f3d.js → index-8a009539.js} +44 -44
  106. package/dist/{index-7300a7f5.js → index-dce39a81.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +203 -209
  109. package/dist/{main-989855f4.js → main-8fe92642.js} +9880 -9285
  110. package/dist/{mapFormMixin-e6b8b5ef.js → mapFormMixin-18916025.js} +1 -1
  111. package/dist/{publicSenderState-4d6c69b4.js → publicSenderState-8aa670bb.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-440ddd80.js → throttle-780e6241.js} +2 -2
  114. package/dist/{tinycolor-f6c2d00e.js → tinycolor-2d236fc9.js} +1 -1
  115. package/dist/{tippy.esm-75dfd42d.js → tippy.esm-27ce514a.js} +5 -5
  116. package/dist/{utils-e1c6e4eb.js → utils-9be5e71d.js} +1 -1
  117. package/dist/{vuedraggable.umd-909ba53a.js → vuedraggable.umd-455d2d1d.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/image-1b55e804.js +0 -18
  120. package/dist/index-71ec8e8e.js +0 -15
  121. package/dist/index-fe840ba4.js +0 -166
  122. package/dist/simplebar.min-1ce579b3.js +0 -71
  123. package/dist/template-641a5e0d.js +0 -535
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-989855f4.js";
1
+ import { V as s } from "./main-8fe92642.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-989855f4.js";
1
+ import { h as n } from "./main-8fe92642.js";
2
2
  import { s as l } from "./dom-962579a6.js";
3
3
  const s = (r) => {
4
4
  var i;
@@ -1,5 +1,4 @@
1
- import { g as n } from "./image-1b55e804.js";
2
- import { n as s } from "./main-989855f4.js";
1
+ import { n as i, o as n } from "./main-8fe92642.js";
3
2
  const o = {
4
3
  name: "DocumentGuide",
5
4
  i18nOptions: {
@@ -57,18 +56,18 @@ const o = {
57
56
  };
58
57
  var c = function() {
59
58
  var t = this, e = t._self._c;
60
- return e("div", { staticStyle: { position: "fixed", left: "0", top: "0", right: "0", bottom: "0", "background-color": "hsla(0, 0%, 0%, 0.2)", padding: "calc(4 * var(--rem)) 0", display: "grid", "place-items": "center", "z-index": "9999" } }, [e("div", { staticStyle: { "background-color": "hsl(212, 90%, 15%)", padding: "calc(3 * var(--rem)) calc(2.5 * var(--rem))", "border-radius": "8px", width: "520px", color: "hsla(0, 0%, 100%, 0.8)", "max-width": "95%", "font-size": "16px", position: "relative" } }, [e("CButton", { staticStyle: { position: "absolute", right: "calc(1 * var(--rem))", top: "calc(1 * var(--rem))" }, attrs: { size: "small", type: "none", pattern: "tertiary", circle: "", icon: "x" }, on: { click: function(i) {
59
+ return e("div", { staticStyle: { position: "fixed", left: "0", top: "0", right: "0", bottom: "0", "background-color": "hsla(0, 0%, 0%, 0.2)", padding: "calc(4 * var(--rem)) 0", display: "grid", "place-items": "center", "z-index": "9999" } }, [e("div", { staticClass: "max-w-[95%] md:max-w-lg", staticStyle: { "background-color": "hsl(212, 90%, 15%)", padding: "calc(3 * var(--rem)) calc(2.5 * var(--rem))", "border-radius": "8px", color: "hsla(0, 0%, 100%, 0.8)", "font-size": "16px", position: "relative" } }, [e("CButton", { staticStyle: { position: "absolute", right: "calc(1 * var(--rem))", top: "calc(1 * var(--rem))" }, attrs: { size: "small", type: "none", pattern: "tertiary", circle: "", icon: "x" }, on: { click: function(s) {
61
60
  return t.$emit("close");
62
- } } }), e("div", { staticStyle: { "padding-left": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, [t._v(" " + t._s(t.$t("title")) + " ")]), e("div", { staticStyle: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, [t._v(" " + t._s(t.step + 1) + ". "), e("span", { domProps: { innerHTML: t._s(t.steps[t.step].title) } })])]), e("div", { staticStyle: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, [e("transition", { attrs: { name: "slide-prev" } }, [e("img", { key: t.step, staticStyle: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }, attrs: { src: t.steps[t.step].img } })])], 1), e("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))", display: "flex", "justify-content": "flex-end", position: "relative" } }, [e("div", { staticStyle: { position: "absolute", display: "grid", gap: "10px", "grid-template-columns": "repeat(5, 1fr)", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, t._l(t.steps, function(i, a) {
61
+ } } }), e("div", { staticStyle: { "padding-left": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, [t._v(" " + t._s(t.$t("title")) + " ")]), e("div", { staticStyle: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, [t._v(" " + t._s(t.step + 1) + ". "), e("span", { domProps: { innerHTML: t._s(t.steps[t.step].title) } })])]), e("div", { staticStyle: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, [e("transition", { attrs: { name: "slide-prev" } }, [e("img", { key: t.step, staticStyle: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }, attrs: { src: t.steps[t.step].img } })])], 1), e("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))", display: "flex", "justify-content": "flex-end", position: "relative" } }, [e("div", { staticStyle: { position: "absolute", display: "grid", gap: "10px", "grid-template-columns": "repeat(5, 1fr)", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, t._l(t.steps, function(s, a) {
63
62
  return e("div", { key: a, staticStyle: { width: "8px", height: "8px", "border-radius": "8px", cursor: "pointer" }, style: {
64
63
  backgroundColor: t.step === a ? "white" : "hsla(0, 0%, 100%, 0.4)"
65
64
  }, on: { click: function(d) {
66
65
  t.step = a;
67
66
  } } });
68
- }), 0), e("CButton", { staticClass: "pulse", staticStyle: { "border-radius": "5px", "animation-duration": "0.2s" }, attrs: { type: "secondary", "icon-right": "arrow-right" }, on: { click: function(i) {
67
+ }), 0), e("CButton", { staticClass: "pulse", staticStyle: { "border-radius": "5px", "animation-duration": "0.2s" }, attrs: { type: "secondary", "icon-right": "arrow-right" }, on: { click: function(s) {
69
68
  t.step === t.steps.length - 1 ? t.$emit("close") : t.step++;
70
69
  } } }, [t._v(" " + t._s(t.step === t.steps.length - 1 ? t.$t("_common:done").capitalize() : t.$t("_common:next").capitalize()) + " ")])], 1)], 1)]);
71
- }, r = [], l = /* @__PURE__ */ s(
70
+ }, r = [], l = /* @__PURE__ */ i(
72
71
  o,
73
72
  c,
74
73
  r,
@@ -78,7 +77,7 @@ var c = function() {
78
77
  null,
79
78
  null
80
79
  );
81
- const m = l.exports;
80
+ const u = l.exports;
82
81
  export {
83
- m as default
82
+ u as default
84
83
  };
@@ -0,0 +1,171 @@
1
+ import { d as n } from "./debounce-249438e8.js";
2
+ import { t as o } from "./throttle-780e6241.js";
3
+ import { n as r } from "./main-8fe92642.js";
4
+ import { i as c } from "./dom-962579a6.js";
5
+ import { w as d } from "./CDropdownItem-80d6f1d6.js";
6
+ import { s as u, F as m } from "./Flag-bc43bb0c.js";
7
+ const f = {
8
+ name: "BackgroundsModalList",
9
+ i18nOptions: {
10
+ namespaces: "backgroundsModalList",
11
+ messages: {
12
+ en: {
13
+ searchPlaceholder: "Search",
14
+ noMoreResults: "No more results"
15
+ },
16
+ sv: {
17
+ searchPlaceholder: "Sök efter en bild på engelska",
18
+ noMoreResults: "Inga fler resultat"
19
+ }
20
+ }
21
+ },
22
+ components: {
23
+ simplebar: u,
24
+ Flag: m
25
+ },
26
+ props: {
27
+ /**
28
+ * @param {Object} options Input arguments
29
+ * @param {String} options.query Search/Query string
30
+ * @param {Number} options.page Current page number
31
+ *
32
+ * @returns {Object} containing:
33
+ * items {Array}
34
+ - item {Object}
35
+ - item.image {String} Url of image resource (REQUIRED)
36
+ - item.video {String} Url of video resource (OPTIONAL)
37
+ - item.lowQualityVideo {String} preview url of video file (OPTIONAL)
38
+ * total {Number} Number of results
39
+ */
40
+ fetch: {
41
+ type: Function,
42
+ required: !0
43
+ },
44
+ defaultQuery: {
45
+ type: String,
46
+ required: !0
47
+ },
48
+ creditText: {
49
+ type: String,
50
+ default: ""
51
+ }
52
+ },
53
+ mixins: [d],
54
+ data() {
55
+ return {
56
+ hoverIndex: null,
57
+ query: null,
58
+ items: [],
59
+ page: 1,
60
+ isLoading: !1,
61
+ allowMoreResults: !0,
62
+ searchTimeout: null,
63
+ selectedIndex: null,
64
+ selectedUrl: null,
65
+ noOfResults: null
66
+ };
67
+ },
68
+ watch: {
69
+ query() {
70
+ this.page = 0, this.items = [], this.allowMoreResults = !0, this.isLoading = !1, this.debouncedHandleFetch();
71
+ }
72
+ },
73
+ created() {
74
+ this.handleFetch(), this.debouncedHandleFetch = n(this.handleFetch, 1e3);
75
+ },
76
+ mounted() {
77
+ this.$refs.scrollbar.scrollElement.addEventListener(
78
+ "scroll",
79
+ this.scrollHandler,
80
+ { passive: !0 }
81
+ );
82
+ },
83
+ beforeDestroy() {
84
+ this.$refs.scrollbar.scrollElement.removeEventListener(
85
+ "scroll",
86
+ this.scrollHandler,
87
+ { passive: !0 }
88
+ );
89
+ },
90
+ methods: {
91
+ async handleFetch() {
92
+ if (!this.allowMoreResults || this.isLoading)
93
+ return;
94
+ this.isLoading = !0;
95
+ const l = this.query ? this.query : this.defaultQuery, { items: e, total: t } = await this.fetch({ query: l, page: this.page++ });
96
+ this.isLoading = !1, this.noOfResults = this.query ? t : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = t >= this.page * 12;
97
+ },
98
+ scrollHandler: o(async function() {
99
+ const e = this.$refs.item[this.$refs.item.length - 9 || 0];
100
+ e && c(e) && this.handleFetch();
101
+ }, 50),
102
+ selectItem(l, e) {
103
+ this.selectedIndex = e, this.$emit("select", l);
104
+ },
105
+ onSave() {
106
+ this.$emit("save");
107
+ },
108
+ playVideo(l, e) {
109
+ this.$refs.video[l] && this.$refs.video[l].play();
110
+ },
111
+ pauseVideo(l) {
112
+ const e = this.$refs.video[l];
113
+ e && (e.readyState === 4 ? e.pause() : e.addEventListener("playing", () => e.pause(), { once: !0 }));
114
+ }
115
+ }
116
+ };
117
+ var h = function() {
118
+ var e = this, t = e._self._c;
119
+ return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "flex relative w-full", staticStyle: { padding: "4px 0", "flex-shrink": "0" } }, [t("CInput", { staticClass: "flex-grow", staticStyle: { "border-bottom": "1px solid hsl(0, 0%, 92%)" }, attrs: { placeholder: e.$t("searchPlaceholder"), reset: !0, icon: "search", size: "medium" }, model: { value: e.query, callback: function(s) {
120
+ e.query = s;
121
+ }, expression: "query" } }), e.$i18n.lang !== "en" ? t("div", { staticClass: "md:flex hidden mr-6 items-center text-gray-400 absolute right-0 top-1/2 -translate-y-1/2" }, [t("Flag", { staticClass: "mr-1", attrs: { region: "GB" } }), e._v(" Sök på "), t("b", { staticClass: "ml-1" }, [e._v("engelska")])], 1) : e._e()], 1), t("div", { staticStyle: { overflow: "hidden", flex: "1", height: "100%" } }, [t("simplebar", { ref: "scrollbar", staticStyle: { width: "100%", height: "100%", padding: "3px 4px" } }, [t("div", { staticStyle: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, [!e.items.length && e.isLoading ? e._l(12, function(s) {
122
+ return t("div", { key: s, ref: "item", refInFor: !0, staticClass: "photo" });
123
+ }) : e._e(), e._l(e.items, function(s, i) {
124
+ return t("div", { key: i, ref: "item", refInFor: !0, staticClass: "photo", style: { backgroundImage: `url(${s.minImage})` }, on: { click: function(a) {
125
+ return e.selectItem(s, i);
126
+ } } }, [s.minVideo || s.video ? t("div", { staticClass: "video-bg__media", on: { "&mouseenter": function(a) {
127
+ return e.playVideo(i, s.minVideo || s.video);
128
+ }, "&mouseleave": function(a) {
129
+ return e.pauseVideo(i);
130
+ } } }, [t("video", { ref: "video", refInFor: !0, attrs: { src: s.minVideo || s.video, loop: "", muted: "", playsInline: "", preload: "none" }, domProps: { muted: !0 } })]) : e._e(), e.selectedIndex === i ? t("div", { staticClass: "select-wrapper" }) : e._e(), t("div", { staticClass: "photo__credit" }, [e._v(e._s(s.userName))])]);
131
+ })], 2), t("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "2em 1em" } }, [e.isLoading ? t("BaseIcon", { staticClass: "rotateSpin", attrs: { type: "loader" } }) : e.allowMoreResults ? e._e() : t("div", { staticClass: "flex flex-col items-center justify-center w-full text-gray-400" }, [t("div", [e._v(" " + e._s(e.$t("noMoreResults")) + " ")]), e.$i18n.lang !== "en" ? t("div", { staticClass: "flex flex-col items-center text-center", staticStyle: { "padding-top": "3.2rem" } }, [t("Flag", { staticClass: "mb-1 h-8 w-8", attrs: { region: "GB" } }), e._v(" Glöm inte att sökordet måste vara på engelska ")], 1) : e._e()])], 1)])], 1), t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { padding: "4px 4px 4px 8px", "flex-shrink": "0" } }, [t("div", { staticClass: "flex-grow text-gray-400" }, [e.mq !== "sm" ? [e.query && e.noOfResults && e.noOfResults > 0 ? t("div", [e._v(" " + e._s(e.$tc("_common:result", { count: e.noOfResults })) + " ")]) : e._e(), t("div", [e._v(" " + e._s(e.creditText) + " ")])] : e._e()], 2), e._t("footer", function() {
132
+ return [t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])];
133
+ })], 2)]);
134
+ }, p = [], _ = /* @__PURE__ */ r(
135
+ f,
136
+ h,
137
+ p,
138
+ !1,
139
+ null,
140
+ "04ee6455",
141
+ null,
142
+ null
143
+ );
144
+ const v = _.exports;
145
+ const g = {
146
+ name: "BackgroundsModal"
147
+ };
148
+ var y = function() {
149
+ var e = this, t = e._self._c;
150
+ return t("div", { staticClass: "font-primary bg-black bg-opacity-10 fixed inset-0 z-[1000] flex items-center justify-center overflow-auto max-sm:w-full max-sm:min-h-full max-sm:block max-sm:overflow-auto", on: { click: function(s) {
151
+ return s.target !== s.currentTarget ? null : e.$emit("close");
152
+ } } }, [t("div", { staticClass: "relative flex flex-col bg-white rounded-lg max-w-3xl max-h-[700px] w-[90%] h-[90%] max-sm:w-full max-sm:h-full max-sm:max-h-full max-sm:rounded-none", on: { click: function(s) {
153
+ s.stopPropagation();
154
+ } } }, [t("CButton", { staticClass: "absolute z-10 top-3 right-3", attrs: { pattern: "tertiary", type: "none", size: "small", circle: "", icon: "x" }, on: { click: function(s) {
155
+ return e.$emit("close");
156
+ } } }), e._t("header"), e._t("default")], 2)]);
157
+ }, x = [], w = /* @__PURE__ */ r(
158
+ g,
159
+ y,
160
+ x,
161
+ !1,
162
+ null,
163
+ "e6bec09c",
164
+ null,
165
+ null
166
+ );
167
+ const b = w.exports, L = v, R = b;
168
+ export {
169
+ R as B,
170
+ L as a
171
+ };
@@ -0,0 +1,14 @@
1
+ import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-178406ae.js";
2
+ import "./main-8fe92642.js";
3
+ import "./vuex.esm-4a0fff7c.js";
4
+ import "./anime.es-e284c852.js";
5
+ import "./index-8a009539.js";
6
+ import "./index-805c56e4.js";
7
+ import "./dom-962579a6.js";
8
+ export {
9
+ e as CalloutLegacy,
10
+ u as Checkout,
11
+ P as IsPremium,
12
+ C as IsPremiumPreStep,
13
+ I as stripeMixin
14
+ };
@@ -1,16 +1,16 @@
1
1
  import { m as f, a as m, b as _ } from "./vuex.esm-4a0fff7c.js";
2
- import { n as o, A as v, S as h, g as l, h as i } from "./main-989855f4.js";
3
- import { w as d } from "./CDropdownItem-fa88e012.js";
4
- import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-76a4be84.js";
5
- import { B as p } from "./DocTextEditor-6b614e43.js";
2
+ import { n as o, A as v, S as h, g as l, h as i } from "./main-8fe92642.js";
3
+ import { w as d } from "./CDropdownItem-80d6f1d6.js";
4
+ import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-61beea49.js";
5
+ import { B as p } from "./DocTextEditor-1704fa97.js";
6
6
  import { v as r } from "./index-805c56e4.js";
7
- import "./tippy.esm-75dfd42d.js";
8
- import "./ColorPicker-98baa7d4.js";
9
- import "./DocumentLayout-86646c16.js";
10
- import "./debounce-b30e6f76.js";
7
+ import "./tippy.esm-27ce514a.js";
8
+ import "./ColorPicker-b5a7c17d.js";
9
+ import "./DocumentLayout-3aa5beb7.js";
10
+ import "./debounce-249438e8.js";
11
11
  import "./dom-962579a6.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
- import "./ManualPopover-2fb96f78.js";
13
+ import "./ManualPopover-8b6a226d.js";
14
14
  import "./color-71c20583.js";
15
15
  const g = {
16
16
  props: {
@@ -1,5 +1,5 @@
1
1
  import { v as pe } from "./index-805c56e4.js";
2
- import { X as Q } from "./main-989855f4.js";
2
+ import { Z as T } from "./main-8fe92642.js";
3
3
  var P = {}, f = {}, b = {}, O = {};
4
4
  Object.defineProperty(O, "__esModule", {
5
5
  value: !0
@@ -12,10 +12,10 @@ function h(e) {
12
12
  return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
13
13
  }, h(e);
14
14
  }
15
- var T = typeof window < "u" ? window : typeof Q < "u" ? Q : {}, he = function(t, r) {
15
+ var X = typeof window < "u" ? window : typeof T < "u" ? T : {}, he = function(t, r) {
16
16
  return h(t) === "object" && r !== void 0 ? r : t(function() {
17
17
  });
18
- }, Pe = T.vuelidate ? T.vuelidate.withParams : he;
18
+ }, Pe = X.vuelidate ? X.vuelidate.withParams : he;
19
19
  O.withParams = Pe;
20
20
  Object.defineProperty(b, "__esModule", {
21
21
  value: !0
@@ -166,51 +166,51 @@ Object.defineProperty(S, "__esModule", {
166
166
  value: !0
167
167
  });
168
168
  S.default = void 0;
169
- var X = f, Ie = function(t) {
170
- return (0, X.withParams)({
169
+ var E = f, Ze = function(t) {
170
+ return (0, E.withParams)({
171
171
  type: "maxLength",
172
172
  max: t
173
173
  }, function(r) {
174
- return !(0, X.req)(r) || (0, X.len)(r) <= t;
174
+ return !(0, E.req)(r) || (0, E.len)(r) <= t;
175
175
  });
176
176
  };
177
- S.default = Ie;
177
+ S.default = Ze;
178
178
  var V = {};
179
179
  Object.defineProperty(V, "__esModule", {
180
180
  value: !0
181
181
  });
182
182
  V.default = void 0;
183
- var E = f, Ue = function(t) {
184
- return (0, E.withParams)({
183
+ var F = f, Ie = function(t) {
184
+ return (0, F.withParams)({
185
185
  type: "minLength",
186
186
  min: t
187
187
  }, function(r) {
188
- return !(0, E.req)(r) || (0, E.len)(r) >= t;
188
+ return !(0, F.req)(r) || (0, F.len)(r) >= t;
189
189
  });
190
190
  };
191
- V.default = Ue;
191
+ V.default = Ie;
192
192
  var z = {};
193
193
  Object.defineProperty(z, "__esModule", {
194
194
  value: !0
195
195
  });
196
196
  z.default = void 0;
197
- var F = f, Ze = (0, F.withParams)({
197
+ var H = f, Ue = (0, H.withParams)({
198
198
  type: "required"
199
199
  }, function(e) {
200
- return typeof e == "string" ? (0, F.req)(e.trim()) : (0, F.req)(e);
200
+ return typeof e == "string" ? (0, H.req)(e.trim()) : (0, H.req)(e);
201
201
  });
202
- z.default = Ze;
202
+ z.default = Ue;
203
203
  var D = {};
204
204
  Object.defineProperty(D, "__esModule", {
205
205
  value: !0
206
206
  });
207
207
  D.default = void 0;
208
- var H = f, Ce = function(t) {
209
- return (0, H.withParams)({
208
+ var J = f, Ce = function(t) {
209
+ return (0, J.withParams)({
210
210
  type: "requiredIf",
211
211
  prop: t
212
212
  }, function(r, u) {
213
- return (0, H.ref)(t, this, u) ? (0, H.req)(r) : !0;
213
+ return (0, J.ref)(t, this, u) ? (0, J.req)(r) : !0;
214
214
  });
215
215
  };
216
216
  D.default = Ce;
@@ -219,12 +219,12 @@ Object.defineProperty(L, "__esModule", {
219
219
  value: !0
220
220
  });
221
221
  L.default = void 0;
222
- var J = f, Be = function(t) {
223
- return (0, J.withParams)({
222
+ var K = f, Be = function(t) {
223
+ return (0, K.withParams)({
224
224
  type: "requiredUnless",
225
225
  prop: t
226
226
  }, function(r, u) {
227
- return (0, J.ref)(t, this, u) ? !0 : (0, J.req)(r);
227
+ return (0, K.ref)(t, this, u) ? !0 : (0, K.req)(r);
228
228
  });
229
229
  };
230
230
  L.default = Be;
@@ -247,17 +247,17 @@ Object.defineProperty(W, "__esModule", {
247
247
  value: !0
248
248
  });
249
249
  W.default = void 0;
250
- var Xe = f, Ee = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, Fe = (0, Xe.regex)("url", Ee);
251
- W.default = Fe;
250
+ var Ee = f, Fe = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, He = (0, Ee.regex)("url", Fe);
251
+ W.default = He;
252
252
  var N = {};
253
253
  Object.defineProperty(N, "__esModule", {
254
254
  value: !0
255
255
  });
256
256
  N.default = void 0;
257
- var He = f, Je = function() {
257
+ var Je = f, Ke = function() {
258
258
  for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
259
259
  r[u] = arguments[u];
260
- return (0, He.withParams)({
260
+ return (0, Je.withParams)({
261
261
  type: "or"
262
262
  }, function() {
263
263
  for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
@@ -267,16 +267,16 @@ var He = f, Je = function() {
267
267
  }, !1);
268
268
  });
269
269
  };
270
- N.default = Je;
271
- var I = {};
272
- Object.defineProperty(I, "__esModule", {
270
+ N.default = Ke;
271
+ var Z = {};
272
+ Object.defineProperty(Z, "__esModule", {
273
273
  value: !0
274
274
  });
275
- I.default = void 0;
276
- var Ke = f, Qe = function() {
275
+ Z.default = void 0;
276
+ var Qe = f, Te = function() {
277
277
  for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
278
278
  r[u] = arguments[u];
279
- return (0, Ke.withParams)({
279
+ return (0, Qe.withParams)({
280
280
  type: "and"
281
281
  }, function() {
282
282
  for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
@@ -286,25 +286,25 @@ var Ke = f, Qe = function() {
286
286
  }, !0);
287
287
  });
288
288
  };
289
- I.default = Qe;
290
- var U = {};
291
- Object.defineProperty(U, "__esModule", {
289
+ Z.default = Te;
290
+ var I = {};
291
+ Object.defineProperty(I, "__esModule", {
292
292
  value: !0
293
293
  });
294
- U.default = void 0;
295
- var te = f, Te = function(t) {
294
+ I.default = void 0;
295
+ var te = f, Xe = function(t) {
296
296
  return (0, te.withParams)({
297
297
  type: "not"
298
298
  }, function(r, u) {
299
299
  return !(0, te.req)(r) || !t.call(this, r, u);
300
300
  });
301
301
  };
302
- U.default = Te;
303
- var Z = {};
304
- Object.defineProperty(Z, "__esModule", {
302
+ I.default = Xe;
303
+ var U = {};
304
+ Object.defineProperty(U, "__esModule", {
305
305
  value: !0
306
306
  });
307
- Z.default = void 0;
307
+ U.default = void 0;
308
308
  var re = f, Ye = function(t) {
309
309
  return (0, re.withParams)({
310
310
  type: "minValue",
@@ -313,7 +313,7 @@ var re = f, Ye = function(t) {
313
313
  return !(0, re.req)(r) || (!/\s/.test(r) || r instanceof Date) && +r >= +t;
314
314
  });
315
315
  };
316
- Z.default = Ye;
316
+ U.default = Ye;
317
317
  var C = {};
318
318
  Object.defineProperty(C, "__esModule", {
319
319
  value: !0
@@ -458,13 +458,13 @@ G.default = rt;
458
458
  return _e.default;
459
459
  }
460
460
  }), e.helpers = void 0;
461
- var r = i(P), u = i($), _ = i(w), m = i(q), v = i(j), o = i(M), d = i(A), a = i(S), l = i(V), y = i(z), ue = i(D), ae = i(L), fe = i(R), ie = i(W), de = i(N), oe = i(I), le = i(U), ce = i(Z), me = i(C), ve = i(B), _e = i(G), se = ye(f);
461
+ var r = i(P), u = i($), _ = i(w), m = i(q), v = i(j), o = i(M), d = i(A), a = i(S), l = i(V), y = i(z), ue = i(D), ae = i(L), fe = i(R), ie = i(W), de = i(N), oe = i(Z), le = i(I), ce = i(U), me = i(C), ve = i(B), _e = i(G), se = ye(f);
462
462
  e.helpers = se;
463
- function K() {
463
+ function Q() {
464
464
  if (typeof WeakMap != "function")
465
465
  return null;
466
466
  var n = /* @__PURE__ */ new WeakMap();
467
- return K = function() {
467
+ return Q = function() {
468
468
  return n;
469
469
  }, n;
470
470
  }
@@ -473,7 +473,7 @@ G.default = rt;
473
473
  return n;
474
474
  if (n === null || t(n) !== "object" && typeof n != "function")
475
475
  return { default: n };
476
- var s = K();
476
+ var s = Q();
477
477
  if (s && s.has(n))
478
478
  return s.get(n);
479
479
  var c = {}, ge = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- import { g as s, J as l, K as r, n as d, V as a } from "./main-989855f4.js";
1
+ import { g as s, K as l, L as r, n as d, V as a } from "./main-8fe92642.js";
2
2
  import { m as p, a as c } from "./vuex.esm-4a0fff7c.js";
3
3
  const m = {
4
4
  name: "ClientLinks",