@cling-se/widget 0.9.27 → 0.9.30
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.
- package/dist/{AddClientCallout-dd99d0d5.js → AddClientCallout-e63b3bc8.js} +6 -12
- package/dist/{AnswerModal-6afa03a5.js → AnswerModal-0fc36a99.js} +37 -37
- package/dist/{AttachmentItem-f77592a9.js → AttachmentItem-7fcfe642.js} +3 -3
- package/dist/{BaseDatePicker-8a39d0c2.js → BaseDatePicker-3618f643.js} +654 -624
- package/dist/{BaseInput-dbd3178b.js → BaseInput-1e53b776.js} +1 -1
- package/dist/{BaseUpload-38ad6097.js → BaseUpload-2eea6112.js} +13 -13
- package/dist/{BlockMedia-843990e1.js → BlockMedia-4f30336b.js} +1 -1
- package/dist/{CCallout-c0f901a7.js → CCallout-3ea46d33.js} +2 -2
- package/dist/{CDropdownItem-fa88e012.js → CDropdownItem-301e3273.js} +18 -16
- package/dist/{CField-3a437b10.js → CField-25e8b388.js} +1 -1
- package/dist/{CPhoneFormat-a9139d94.js → CPhoneFormat-0eb4f8c1.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-76a4be84.js → CSlider.vue_vue_type_style_index_0_lang-8b316fae.js} +1 -1
- package/dist/{ClientAutocomplete-7cb8a2e1.js → ClientAutocomplete-35cada3c.js} +2 -2
- package/dist/{ClientModal-26774205.js → ClientModal-c11543c6.js} +116 -63
- package/dist/{ColorPicker-98baa7d4.js → ColorPicker-5ca79d5e.js} +1 -1
- package/dist/{CompanyModal-897f5534.js → CompanyModal-648fce86.js} +3 -3
- package/dist/{ContentWrapper-e1e093b7.js → ContentWrapper-70c4494a.js} +13 -13
- package/dist/{CoverBlockSettings-97d062e1.js → CoverBlockSettings-cfdb6528.js} +26 -36
- package/dist/{DocAnswer-a8c69056.js → DocAnswer-b03f11d8.js} +4 -4
- package/dist/{DocDetails-f092d872.js → DocDetails-ffbd78f5.js} +4 -4
- package/dist/{DocForm-889f2750.js → DocForm-0216b4bf.js} +202 -197
- package/dist/{DocFormSend-58b44424.js → DocFormSend-8d6e051b.js} +22 -23
- package/dist/{DocLinks-1bdb3110.js → DocLinks-8520a61d.js} +2 -2
- package/dist/{DocModalBase-afd069cd.js → DocModalBase-a61f7c10.js} +1 -1
- package/dist/{DocPrint-3ff914fd.js → DocPrint-3e8970bc.js} +1 -1
- package/dist/{DocReceipt-19de0274.js → DocReceipt-5da67daf.js} +2 -2
- package/dist/{DocSendReminder-23716d0b.js → DocSendReminder-b2e096d4.js} +1 -1
- package/dist/{DocTextEditor-6b614e43.js → DocTextEditor-1c8197e2.js} +8 -8
- package/dist/{DocTimeline-df7cb5f4.js → DocTimeline-1804ebb6.js} +5 -5
- package/dist/{DocumentClient-61d7e50f.js → DocumentClient-a0592efe.js} +7 -7
- package/dist/{DocumentLayout-86646c16.js → DocumentLayout-dd904f22.js} +143 -143
- package/dist/{DocumentLogotype-14929724.js → DocumentLogotype-59b1549a.js} +3 -3
- package/dist/{DocumentVoided-a9d41411.js → DocumentVoided-f6b8e4ff.js} +1 -1
- package/dist/{EmbedInput-71fd2f2a.js → EmbedInput-c1393639.js} +2 -2
- package/dist/{EmbedSettings-2254a7c3.js → EmbedSettings-f7451a3d.js} +3 -3
- package/dist/{ErrorCallout-b482d289.js → ErrorCallout-2973d65d.js} +1 -1
- package/dist/{FilePreviewModal-1802c766.js → FilePreviewModal-e8e3d042.js} +5 -5
- package/dist/Flag-c17cf658.js +116 -0
- package/dist/{HeaderSettings-10cfcc90.js → HeaderSettings-eb0a98b4.js} +26 -36
- package/dist/{ImageSelectModal-594227d6.js → ImageSelectModal-cab96401.js} +17 -18
- package/dist/{ImageUploadWrapper-452e463d.js → ImageUploadWrapper-38e2afa8.js} +2 -2
- package/dist/{Index-fe07902d.js → Index-07da4308.js} +4 -4
- package/dist/{Index-88854d18.js → Index-0bfac160.js} +18 -17
- package/dist/{Index-3ee432f2.js → Index-0e100224.js} +6 -6
- package/dist/{Index-dceaf93a.js → Index-0f08ced2.js} +4 -4
- package/dist/{Index-2e9bbe9d.js → Index-19f50205.js} +4 -4
- package/dist/{Index-c1d06810.js → Index-1d85df60.js} +7 -7
- package/dist/{Index-529ba57d.js → Index-28ec6148.js} +2 -2
- package/dist/{Index-83ef778b.js → Index-30c1d44e.js} +4 -4
- package/dist/{Index-d036b1fb.js → Index-46e59685.js} +2 -2
- package/dist/{Index-5736c4f7.js → Index-4e60e980.js} +22 -22
- package/dist/{Index-0f8c36f0.js → Index-5c3cb151.js} +2 -2
- package/dist/{Index-8fc860de.js → Index-6bb8e424.js} +6 -6
- package/dist/{Index-be92553f.js → Index-714600fc.js} +4 -4
- package/dist/{Index-a8206849.js → Index-8cc33cc7.js} +2 -2
- package/dist/{Index-a7b08aa1.js → Index-921eb9ba.js} +2 -2
- package/dist/{Index-354b4c80.js → Index-9c28cb53.js} +2 -2
- package/dist/{Index-d645b179.js → Index-a280b4b2.js} +4 -4
- package/dist/{Index-2131fa69.js → Index-a2dba1ec.js} +4 -4
- package/dist/{Index-f1afee11.js → Index-a3b1e7de.js} +7 -6
- package/dist/{Index-235cb5f0.js → Index-bc62c1f2.js} +9 -9
- package/dist/{Index-0966b580.js → Index-bf74adf8.js} +8 -8
- package/dist/{Index-780a5e8f.js → Index-c9b85813.js} +2 -2
- package/dist/{Index-ddfe7813.js → Index-ce33b807.js} +13 -15
- package/dist/{Index-5921d2de.js → Index-d01e898b.js} +7 -7
- package/dist/{Index-84a484ed.js → Index-d256a1d6.js} +9 -9
- package/dist/{Index-28ce2c21.js → Index-d2afa240.js} +3 -3
- package/dist/{Index-5d37606d.js → Index-d364dae0.js} +14 -14
- package/dist/{Index-17b82242.js → Index-d7bf1266.js} +16 -16
- package/dist/{Index-2621d373.js → Index-d9abc609.js} +4 -4
- package/dist/{Index-225e8cef.js → Index-da40e434.js} +10 -10
- package/dist/{Index-9fd01853.js → Index-e0c5772a.js} +4 -4
- package/dist/{Index-e361a308.js → Index-e1f464ef.js} +1 -1
- package/dist/{Index-2564d031.js → Index-f4b486da.js} +5 -5
- package/dist/{Index-098078af.js → Index-fcef00d7.js} +2 -2
- package/dist/{InputToggleRow-04cc08de.js → InputToggleRow-e28f45a0.js} +1 -1
- package/dist/{IsPremiumPreStep-94901e25.js → IsPremiumPreStep-e1d54d22.js} +30 -31
- package/dist/{ManualPopover-2fb96f78.js → ManualPopover-64b4c430.js} +1 -1
- package/dist/{MediaWrapper-abd398c1.js → MediaWrapper-240bb3b2.js} +3 -3
- package/dist/{NotBindingText-92aa597b.js → NotBindingText-2148a45c.js} +2 -2
- package/dist/{PackageGroup-ea7e992f.js → PackageGroup-92ec85c9.js} +15 -15
- package/dist/{PdfTerms-aa7ad8cd.js → PdfTerms-cf3e0ff3.js} +5 -5
- package/dist/{PdfViewer-a0c897a2.js → PdfViewer-f2af7ba4.js} +2 -2
- package/dist/{PlainHtml-234e0e43.js → PlainHtml-98d14d49.js} +1 -1
- package/dist/{PriceHeader-1b81d019.js → PriceHeader-2f97908c.js} +13 -13
- package/dist/{SearchApi-953a1b13.js → SearchApi-3f0ee279.js} +2 -2
- package/dist/{Setup-7928d952.js → Setup-6ca34742.js} +1 -1
- package/dist/{TermsSettings-d40ea3f3.js → TermsSettings-244144ce.js} +7 -7
- package/dist/{ThemeColorRow-0a8e8f1d.js → ThemeColorRow-8297bac6.js} +3 -3
- package/dist/{ToggleBinding-1d872e1c.js → ToggleBinding-801b881c.js} +3 -3
- package/dist/{UploadModal-006e32ff.js → UploadModal-143d3385.js} +3 -3
- package/dist/{VideoPlayerInput-d2418095.js → VideoPlayerInput-7cbe00d0.js} +3 -3
- package/dist/{VideoPlayerSettings-d1fa2cde.js → VideoPlayerSettings-055bfb63.js} +4 -4
- package/dist/{VideoSelectModal-84cc0824.js → VideoSelectModal-82769419.js} +24 -24
- package/dist/{answerDocumentMixin-a896581b.js → answerDocumentMixin-0eb824aa.js} +3 -3
- package/dist/{debounce-b30e6f76.js → debounce-35659385.js} +9 -9
- package/dist/{focusDrawerMixin-8b4c70e5.js → focusDrawerMixin-57a74f04.js} +1 -1
- package/dist/{formComponentsInstall-07c350b0.js → formComponentsInstall-53f4342a.js} +158 -200
- package/dist/{formDrawerState-e3da6074.js → formDrawerState-c089ffac.js} +1 -1
- package/dist/{formValidationMixin-05028cb3.js → formValidationMixin-08f0a439.js} +1 -1
- package/dist/{index-7300a7f5.js → index-17a2bb54.js} +1 -1
- package/dist/{index-a03d80b9.js → index-317dfeee.js} +9 -9
- package/dist/index-497ae925.js +14 -0
- package/dist/index-736d30ee.js +171 -0
- package/dist/{index-3197309d.js → index-a37004d7.js} +7 -8
- package/dist/{index-8a437f3d.js → index-e88b85e7.js} +44 -44
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +207 -213
- package/dist/{main-989855f4.js → main-40ffafe1.js} +10043 -9436
- package/dist/{mapFormMixin-e6b8b5ef.js → mapFormMixin-5472d70c.js} +1 -1
- package/dist/{publicSenderState-4d6c69b4.js → publicSenderState-7ee4c697.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-440ddd80.js → throttle-4a418273.js} +2 -2
- package/dist/{tinycolor-f6c2d00e.js → tinycolor-2370293d.js} +1 -1
- package/dist/{tippy.esm-75dfd42d.js → tippy.esm-f79d2d2e.js} +5 -5
- package/dist/{utils-e1c6e4eb.js → utils-c72c79a9.js} +1 -1
- package/dist/{vuedraggable.umd-909ba53a.js → vuedraggable.umd-8bca15d0.js} +1 -1
- package/package.json +1 -1
- package/dist/image-1b55e804.js +0 -18
- package/dist/index-71ec8e8e.js +0 -15
- package/dist/index-fe840ba4.js +0 -166
- package/dist/simplebar.min-1ce579b3.js +0 -71
- package/dist/template-641a5e0d.js +0 -535
|
@@ -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-
|
|
3
|
-
import { w as d } from "./CDropdownItem-
|
|
4
|
-
import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as p } from "./DocTextEditor-
|
|
2
|
+
import { n as o, A as v, S as h, g as l, h as i } from "./main-40ffafe1.js";
|
|
3
|
+
import { w as d } from "./CDropdownItem-301e3273.js";
|
|
4
|
+
import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
|
|
5
|
+
import { B as p } from "./DocTextEditor-1c8197e2.js";
|
|
6
6
|
import { v as r } from "./index-805c56e4.js";
|
|
7
|
-
import "./tippy.esm-
|
|
8
|
-
import "./ColorPicker-
|
|
9
|
-
import "./DocumentLayout-
|
|
10
|
-
import "./debounce-
|
|
7
|
+
import "./tippy.esm-f79d2d2e.js";
|
|
8
|
+
import "./ColorPicker-5ca79d5e.js";
|
|
9
|
+
import "./DocumentLayout-dd904f22.js";
|
|
10
|
+
import "./debounce-35659385.js";
|
|
11
11
|
import "./dom-962579a6.js";
|
|
12
12
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
13
|
-
import "./ManualPopover-
|
|
13
|
+
import "./ManualPopover-64b4c430.js";
|
|
14
14
|
import "./color-71c20583.js";
|
|
15
15
|
const g = {
|
|
16
16
|
props: {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-e1d54d22.js";
|
|
2
|
+
import "./main-40ffafe1.js";
|
|
3
|
+
import "./vuex.esm-4a0fff7c.js";
|
|
4
|
+
import "./anime.es-e284c852.js";
|
|
5
|
+
import "./index-e88b85e7.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
|
+
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { d as n } from "./debounce-35659385.js";
|
|
2
|
+
import { t as o } from "./throttle-4a418273.js";
|
|
3
|
+
import { n as r } from "./main-40ffafe1.js";
|
|
4
|
+
import { i as c } from "./dom-962579a6.js";
|
|
5
|
+
import { w as d } from "./CDropdownItem-301e3273.js";
|
|
6
|
+
import { s as u, F as m } from "./Flag-c17cf658.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
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as s } from "./main-989855f4.js";
|
|
1
|
+
import { n as i, o as n } from "./main-40ffafe1.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",
|
|
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(
|
|
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(
|
|
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__ */
|
|
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
|
|
80
|
+
const u = l.exports;
|
|
82
81
|
export {
|
|
83
|
-
|
|
82
|
+
u as default
|
|
84
83
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as pe } from "./index-805c56e4.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as T } from "./main-40ffafe1.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
|
|
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 =
|
|
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
|
|
170
|
-
return (0,
|
|
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,
|
|
174
|
+
return !(0, E.req)(r) || (0, E.len)(r) <= t;
|
|
175
175
|
});
|
|
176
176
|
};
|
|
177
|
-
S.default =
|
|
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
|
|
184
|
-
return (0,
|
|
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,
|
|
188
|
+
return !(0, F.req)(r) || (0, F.len)(r) >= t;
|
|
189
189
|
});
|
|
190
190
|
};
|
|
191
|
-
V.default =
|
|
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
|
|
197
|
+
var H = f, Ue = (0, H.withParams)({
|
|
198
198
|
type: "required"
|
|
199
199
|
}, function(e) {
|
|
200
|
-
return typeof e == "string" ? (0,
|
|
200
|
+
return typeof e == "string" ? (0, H.req)(e.trim()) : (0, H.req)(e);
|
|
201
201
|
});
|
|
202
|
-
z.default =
|
|
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
|
|
209
|
-
return (0,
|
|
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,
|
|
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
|
|
223
|
-
return (0,
|
|
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,
|
|
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
|
|
251
|
-
W.default =
|
|
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
|
|
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,
|
|
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 =
|
|
271
|
-
var
|
|
272
|
-
Object.defineProperty(
|
|
270
|
+
N.default = Ke;
|
|
271
|
+
var Z = {};
|
|
272
|
+
Object.defineProperty(Z, "__esModule", {
|
|
273
273
|
value: !0
|
|
274
274
|
});
|
|
275
|
-
|
|
276
|
-
var
|
|
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,
|
|
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
|
-
|
|
290
|
-
var
|
|
291
|
-
Object.defineProperty(
|
|
289
|
+
Z.default = Te;
|
|
290
|
+
var I = {};
|
|
291
|
+
Object.defineProperty(I, "__esModule", {
|
|
292
292
|
value: !0
|
|
293
293
|
});
|
|
294
|
-
|
|
295
|
-
var te = f,
|
|
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
|
-
|
|
303
|
-
var
|
|
304
|
-
Object.defineProperty(
|
|
302
|
+
I.default = Xe;
|
|
303
|
+
var U = {};
|
|
304
|
+
Object.defineProperty(U, "__esModule", {
|
|
305
305
|
value: !0
|
|
306
306
|
});
|
|
307
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
|
463
|
+
function Q() {
|
|
464
464
|
if (typeof WeakMap != "function")
|
|
465
465
|
return null;
|
|
466
466
|
var n = /* @__PURE__ */ new WeakMap();
|
|
467
|
-
return
|
|
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 =
|
|
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;
|