@cling-se/widget 0.14.4 → 0.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/AddClientCallout-C7abPZ87.js +46 -0
  2. package/dist/AnswerModal-CsA2pl2P.js +3874 -0
  3. package/dist/AttachmentItem-Da1-7xwf.js +78 -0
  4. package/dist/BaseDatePicker-k9zlSi5J.js +3183 -0
  5. package/dist/BaseUpload-BUrXX3fT.js +1977 -0
  6. package/dist/BlockMedia-CYI07qAn.js +76 -0
  7. package/dist/CCallout-Qwae66vo.js +59 -0
  8. package/dist/CCurrencyDropdown-Y_u0hgBx.js +246 -0
  9. package/dist/CDropdownItem-CXJ4xD8W.js +538 -0
  10. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
  11. package/dist/CFormField--m3PvQuT.js +241 -0
  12. package/dist/CPhoneFormat-Qg6MkDVP.js +62 -0
  13. package/dist/CPriceInput-Dlx44UrR.js +112 -0
  14. package/dist/CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js +1 -0
  15. package/dist/ClientAutocomplete-BKKc_br6.js +78 -0
  16. package/dist/ClientModal-CVZFb1Br.js +625 -0
  17. package/dist/ColorPicker-Bo3s3Esp.js +2879 -0
  18. package/dist/CompanyModal-DadjAioS.js +141 -0
  19. package/dist/ContentWrapper-BC3ZBQW9.js +183 -0
  20. package/dist/CoverBlockSettings-B484eE4g.js +275 -0
  21. package/dist/DocAnswer-CcYryOWI.js +36 -0
  22. package/dist/DocDetails-BigsoEWL.js +246 -0
  23. package/dist/DocForm-DlN0eNWt.js +7273 -0
  24. package/dist/DocFormSend-TqKo210I.js +143 -0
  25. package/dist/DocLinks-DSo54vDn.js +38 -0
  26. package/dist/DocModalBase-XlM1SThW.js +28 -0
  27. package/dist/DocPrint-tD0Vd9Sw.js +240 -0
  28. package/dist/DocReceipt-CDHPrhXM.js +210 -0
  29. package/dist/DocSendReminder-C62RhltH.js +137 -0
  30. package/dist/DocTextEditor-VjhV9IRp.js +17181 -0
  31. package/dist/DocTimeline-LcW4z3nC.js +481 -0
  32. package/dist/DocumentClient-CqbTRdpB.js +136 -0
  33. package/dist/DocumentLayout-Dbf8_01r.js +4909 -0
  34. package/dist/DocumentLogotype-DXYnBedV.js +87 -0
  35. package/dist/DocumentVoided-vH1Ti5lZ.js +25 -0
  36. package/dist/EmbedInput-D9qP8OnY.js +113 -0
  37. package/dist/EmbedSettings-DISuNqJT.js +72 -0
  38. package/dist/ErrorCallout-CCtCVwSh.js +28 -0
  39. package/dist/FilePreviewModal-BjhNyb6L.js +81 -0
  40. package/dist/Flag-Dhukv9_J.js +114 -0
  41. package/dist/HeaderSettings-CK4SkB1x.js +392 -0
  42. package/dist/ImageSelectModal-DnvPZzXx.js +84 -0
  43. package/dist/ImageUploadWrapper-B7cNMu5a.js +1604 -0
  44. package/dist/Index-B3HoK_cZ.js +84 -0
  45. package/dist/Index-B3aucNji.js +25 -0
  46. package/dist/Index-B9H5MMHb.js +62 -0
  47. package/dist/Index-BAYdvT-t.js +754 -0
  48. package/dist/Index-BLeQprjq.js +46 -0
  49. package/dist/Index-BOyvQlng.js +154 -0
  50. package/dist/Index-BVsw2tak.js +70 -0
  51. package/dist/Index-BY1UKGEO.js +98 -0
  52. package/dist/Index-Bh0kMSsA.js +107 -0
  53. package/dist/Index-BlQSM7tC.js +144 -0
  54. package/dist/Index-BpcJBGGd.js +642 -0
  55. package/dist/Index-Bs8wprXw.js +58 -0
  56. package/dist/Index-BvZZAvFd.js +21 -0
  57. package/dist/Index-CFo-3Y5Q.js +26 -0
  58. package/dist/Index-CNvp5K3L.js +559 -0
  59. package/dist/Index-CPJVx14x.js +171 -0
  60. package/dist/Index-CQ325eVT.js +140 -0
  61. package/dist/Index-CWrDtcfT.js +49 -0
  62. package/dist/Index-CyJnSvDR.js +223 -0
  63. package/dist/Index-D6bc7lg4.js +52 -0
  64. package/dist/Index-DCR8ev4U.js +33 -0
  65. package/dist/Index-DGQSB9cH.js +24 -0
  66. package/dist/Index-DXAvlq74.js +292 -0
  67. package/dist/Index-D_rfst8y.js +45 -0
  68. package/dist/Index-Dm8xMFGg.js +61 -0
  69. package/dist/Index-DtSSgtxB.js +55 -0
  70. package/dist/Index-DuTw9vhb.js +77 -0
  71. package/dist/Index-Dw26jtGV.js +31 -0
  72. package/dist/Index-OxN73_fO.js +32 -0
  73. package/dist/Index-S-FHG7_k.js +2402 -0
  74. package/dist/Index-ZFkitzfq.js +69 -0
  75. package/dist/Index-dyWK9jgr.js +25 -0
  76. package/dist/Index-gb11ngPS.js +57 -0
  77. package/dist/Index-lKk_XKJ3.js +150 -0
  78. package/dist/InputToggleRow-DSSvhPKA.js +57 -0
  79. package/dist/ManualPopover-lpJYSkw5.js +58 -0
  80. package/dist/MediaWrapper-BQ22FA2B.js +23 -0
  81. package/dist/NotBindingText-JxwzZLPP.js +32 -0
  82. package/dist/PackageGroup-BLSMSUDz.js +699 -0
  83. package/dist/PdfTerms-DtutjM5Y.js +36 -0
  84. package/dist/PdfViewer-BsxcZI_x.js +374 -0
  85. package/dist/PlainHtml-BMPZs2fT.js +20 -0
  86. package/dist/PriceHeader-BRYY01H2.js +339 -0
  87. package/dist/SearchApi-6001iFxU.js +161 -0
  88. package/dist/Setup-cw6jMI9M.js +50 -0
  89. package/dist/SmartList-q6H-uLbm.js +83 -0
  90. package/dist/TermsSettings-DWvaPneu.js +102 -0
  91. package/dist/ThemeColorRow-BXWnvfz-.js +67 -0
  92. package/dist/ToggleBinding-DydtwpNG.js +38 -0
  93. package/dist/UploadModal-D_EDKHGD.js +95 -0
  94. package/dist/VideoPlayerInput-B9yzUeBW.js +93 -0
  95. package/dist/VideoPlayerSettings-Bvp9l0yj.js +61 -0
  96. package/dist/VideoSelectModal-DY3N4JiS.js +100 -0
  97. package/dist/anime.es-BrPTThYb.js +858 -0
  98. package/dist/answerDocumentMixin-BYZPU_R-.js +51 -0
  99. package/dist/color-TdtKxwVa.js +19 -0
  100. package/dist/debounce-BPnlzNwd.js +84 -0
  101. package/dist/dom-CJxkno7i.js +91 -0
  102. package/dist/favicon.ico +0 -0
  103. package/dist/focusDrawerMixin-DC9Oa1i7.js +22 -0
  104. package/dist/formComponentsInstall-CEW6TK6z.js +2499 -0
  105. package/dist/formDrawerState-CAzvSMiQ.js +20 -0
  106. package/dist/formValidationMixin-D7zXxCpC.js +49 -0
  107. package/dist/i18nMessages-Chz_lxGG.js +17 -0
  108. package/dist/index-B9WDC3Xe.js +166 -0
  109. package/dist/index-BCMaUC5r.js +3916 -0
  110. package/dist/index-BDMI4NVY.js +492 -0
  111. package/dist/index-BbscgdRg.js +81 -0
  112. package/dist/index-CLUljEDI.js +347 -0
  113. package/dist/index-SxyZvewN.js +102 -0
  114. package/dist/index.es.js +35 -0
  115. package/dist/index.umd.js +3148 -0
  116. package/dist/main-CQBEuZk9.js +56739 -0
  117. package/dist/mapFormMixin-DlFcgwhm.js +72 -0
  118. package/dist/omit-BWy0Zhd3.js +31 -0
  119. package/dist/publicSenderState-CvOcFv2U.js +21 -0
  120. package/dist/splitpanes-BHUVsCZF.js +382 -0
  121. package/dist/style.css +4 -0
  122. package/dist/throttle-BrC8eGjQ.js +18 -0
  123. package/dist/tinycolor-PhFP695w.js +633 -0
  124. package/dist/tippy.esm-7dmKOUvu.js +1799 -0
  125. package/dist/utils-NBLgNGHR.js +108 -0
  126. package/dist/vuedraggable.umd-ByfH7ZxC.js +3161 -0
  127. package/dist/vuex.esm-DKGl8mcw.js +467 -0
  128. package/package.json +1 -1
  129. package/vite.config.ts +0 -1
@@ -0,0 +1,492 @@
1
+ import { a5 as T } from "./main-CQBEuZk9.js";
2
+ var pe = {}, P = {}, f = {}, b = {}, O = {};
3
+ Object.defineProperty(O, "__esModule", {
4
+ value: !0
5
+ });
6
+ O.withParams = void 0;
7
+ function h(e) {
8
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? h = function(r) {
9
+ return typeof r;
10
+ } : h = function(r) {
11
+ return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
12
+ }, h(e);
13
+ }
14
+ var X = typeof window < "u" ? window : typeof T < "u" ? T : {}, he = function(t, r) {
15
+ return h(t) === "object" && r !== void 0 ? r : t(function() {
16
+ });
17
+ }, Pe = X.vuelidate ? X.vuelidate.withParams : he;
18
+ O.withParams = Pe;
19
+ Object.defineProperty(b, "__esModule", {
20
+ value: !0
21
+ });
22
+ b.default = void 0;
23
+ var be = O.withParams, Oe = be;
24
+ b.default = Oe;
25
+ (function(e) {
26
+ Object.defineProperty(e, "__esModule", {
27
+ value: !0
28
+ }), Object.defineProperty(e, "withParams", {
29
+ enumerable: !0,
30
+ get: function() {
31
+ return t.default;
32
+ }
33
+ }), e.regex = e.ref = e.len = e.req = void 0;
34
+ var t = r(b);
35
+ function r(d) {
36
+ return d && d.__esModule ? d : { default: d };
37
+ }
38
+ function u(d) {
39
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? u = function(l) {
40
+ return typeof l;
41
+ } : u = function(l) {
42
+ return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
43
+ }, u(d);
44
+ }
45
+ var _ = function(a) {
46
+ if (Array.isArray(a))
47
+ return !!a.length;
48
+ if (a == null)
49
+ return !1;
50
+ if (a === !1)
51
+ return !0;
52
+ if (a instanceof Date)
53
+ return !isNaN(a.getTime());
54
+ if (u(a) === "object") {
55
+ for (var l in a)
56
+ return !0;
57
+ return !1;
58
+ }
59
+ return !!String(a).length;
60
+ };
61
+ e.req = _;
62
+ var m = function(a) {
63
+ return Array.isArray(a) ? a.length : u(a) === "object" ? Object.keys(a).length : String(a).length;
64
+ };
65
+ e.len = m;
66
+ var v = function(a, l, y) {
67
+ return typeof a == "function" ? a.call(l, y) : y[a];
68
+ };
69
+ e.ref = v;
70
+ var o = function(a, l) {
71
+ return (0, t.default)({
72
+ type: a
73
+ }, function(y) {
74
+ return !_(y) || l.test(y);
75
+ });
76
+ };
77
+ e.regex = o;
78
+ })(f);
79
+ Object.defineProperty(P, "__esModule", {
80
+ value: !0
81
+ });
82
+ P.default = void 0;
83
+ var $e = f, we = (0, $e.regex)("alpha", /^[a-zA-Z]*$/);
84
+ P.default = we;
85
+ var $ = {};
86
+ Object.defineProperty($, "__esModule", {
87
+ value: !0
88
+ });
89
+ $.default = void 0;
90
+ var qe = f, je = (0, qe.regex)("alphaNum", /^[a-zA-Z0-9]*$/);
91
+ $.default = je;
92
+ var w = {};
93
+ Object.defineProperty(w, "__esModule", {
94
+ value: !0
95
+ });
96
+ w.default = void 0;
97
+ var Me = f, Ae = (0, Me.regex)("numeric", /^[0-9]*$/);
98
+ w.default = Ae;
99
+ var q = {};
100
+ Object.defineProperty(q, "__esModule", {
101
+ value: !0
102
+ });
103
+ q.default = void 0;
104
+ var Y = f, Se = function(t, r) {
105
+ return (0, Y.withParams)({
106
+ type: "between",
107
+ min: t,
108
+ max: r
109
+ }, function(u) {
110
+ return !(0, Y.req)(u) || (!/\s/.test(u) || u instanceof Date) && +t <= +u && +r >= +u;
111
+ });
112
+ };
113
+ q.default = Se;
114
+ var j = {};
115
+ Object.defineProperty(j, "__esModule", {
116
+ value: !0
117
+ });
118
+ j.default = void 0;
119
+ var Ve = f, ze = /(^$|^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$)/, De = (0, Ve.regex)("email", ze);
120
+ j.default = De;
121
+ var M = {};
122
+ Object.defineProperty(M, "__esModule", {
123
+ value: !0
124
+ });
125
+ M.default = void 0;
126
+ var x = f, Le = (0, x.withParams)({
127
+ type: "ipAddress"
128
+ }, function(e) {
129
+ if (!(0, x.req)(e))
130
+ return !0;
131
+ if (typeof e != "string")
132
+ return !1;
133
+ var t = e.split(".");
134
+ return t.length === 4 && t.every(Re);
135
+ });
136
+ M.default = Le;
137
+ var Re = function(t) {
138
+ if (t.length > 3 || t.length === 0 || t[0] === "0" && t !== "0" || !t.match(/^\d+$/))
139
+ return !1;
140
+ var r = +t | 0;
141
+ return r >= 0 && r <= 255;
142
+ }, A = {};
143
+ Object.defineProperty(A, "__esModule", {
144
+ value: !0
145
+ });
146
+ A.default = void 0;
147
+ var k = f, We = function() {
148
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ":";
149
+ return (0, k.withParams)({
150
+ type: "macAddress"
151
+ }, function(r) {
152
+ if (!(0, k.req)(r))
153
+ return !0;
154
+ if (typeof r != "string")
155
+ return !1;
156
+ var u = typeof t == "string" && t !== "" ? r.split(t) : r.length === 12 || r.length === 16 ? r.match(/.{2}/g) : null;
157
+ return u !== null && (u.length === 6 || u.length === 8) && u.every(Ne);
158
+ });
159
+ };
160
+ A.default = We;
161
+ var Ne = function(t) {
162
+ return t.toLowerCase().match(/^[0-9a-f]{2}$/);
163
+ }, S = {};
164
+ Object.defineProperty(S, "__esModule", {
165
+ value: !0
166
+ });
167
+ S.default = void 0;
168
+ var E = f, Ie = function(t) {
169
+ return (0, E.withParams)({
170
+ type: "maxLength",
171
+ max: t
172
+ }, function(r) {
173
+ return !(0, E.req)(r) || (0, E.len)(r) <= t;
174
+ });
175
+ };
176
+ S.default = Ie;
177
+ var V = {};
178
+ Object.defineProperty(V, "__esModule", {
179
+ value: !0
180
+ });
181
+ V.default = void 0;
182
+ var F = f, Ue = function(t) {
183
+ return (0, F.withParams)({
184
+ type: "minLength",
185
+ min: t
186
+ }, function(r) {
187
+ return !(0, F.req)(r) || (0, F.len)(r) >= t;
188
+ });
189
+ };
190
+ V.default = Ue;
191
+ var z = {};
192
+ Object.defineProperty(z, "__esModule", {
193
+ value: !0
194
+ });
195
+ z.default = void 0;
196
+ var H = f, Ze = (0, H.withParams)({
197
+ type: "required"
198
+ }, function(e) {
199
+ return typeof e == "string" ? (0, H.req)(e.trim()) : (0, H.req)(e);
200
+ });
201
+ z.default = Ze;
202
+ var D = {};
203
+ Object.defineProperty(D, "__esModule", {
204
+ value: !0
205
+ });
206
+ D.default = void 0;
207
+ var J = f, Ce = function(t) {
208
+ return (0, J.withParams)({
209
+ type: "requiredIf",
210
+ prop: t
211
+ }, function(r, u) {
212
+ return (0, J.ref)(t, this, u) ? (0, J.req)(r) : !0;
213
+ });
214
+ };
215
+ D.default = Ce;
216
+ var L = {};
217
+ Object.defineProperty(L, "__esModule", {
218
+ value: !0
219
+ });
220
+ L.default = void 0;
221
+ var K = f, Be = function(t) {
222
+ return (0, K.withParams)({
223
+ type: "requiredUnless",
224
+ prop: t
225
+ }, function(r, u) {
226
+ return (0, K.ref)(t, this, u) ? !0 : (0, K.req)(r);
227
+ });
228
+ };
229
+ L.default = Be;
230
+ var R = {};
231
+ Object.defineProperty(R, "__esModule", {
232
+ value: !0
233
+ });
234
+ R.default = void 0;
235
+ var ee = f, Ge = function(t) {
236
+ return (0, ee.withParams)({
237
+ type: "sameAs",
238
+ eq: t
239
+ }, function(r, u) {
240
+ return r === (0, ee.ref)(t, this, u);
241
+ });
242
+ };
243
+ R.default = Ge;
244
+ var W = {};
245
+ Object.defineProperty(W, "__esModule", {
246
+ value: !0
247
+ });
248
+ W.default = void 0;
249
+ 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);
250
+ W.default = He;
251
+ var N = {};
252
+ Object.defineProperty(N, "__esModule", {
253
+ value: !0
254
+ });
255
+ N.default = void 0;
256
+ var Je = f, Ke = function() {
257
+ for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
258
+ r[u] = arguments[u];
259
+ return (0, Je.withParams)({
260
+ type: "or"
261
+ }, function() {
262
+ for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
263
+ v[o] = arguments[o];
264
+ return r.length > 0 && r.reduce(function(d, a) {
265
+ return d || a.apply(_, v);
266
+ }, !1);
267
+ });
268
+ };
269
+ N.default = Ke;
270
+ var I = {};
271
+ Object.defineProperty(I, "__esModule", {
272
+ value: !0
273
+ });
274
+ I.default = void 0;
275
+ var Qe = f, Te = function() {
276
+ for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
277
+ r[u] = arguments[u];
278
+ return (0, Qe.withParams)({
279
+ type: "and"
280
+ }, function() {
281
+ for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
282
+ v[o] = arguments[o];
283
+ return r.length > 0 && r.reduce(function(d, a) {
284
+ return d && a.apply(_, v);
285
+ }, !0);
286
+ });
287
+ };
288
+ I.default = Te;
289
+ var U = {};
290
+ Object.defineProperty(U, "__esModule", {
291
+ value: !0
292
+ });
293
+ U.default = void 0;
294
+ var te = f, Xe = function(t) {
295
+ return (0, te.withParams)({
296
+ type: "not"
297
+ }, function(r, u) {
298
+ return !(0, te.req)(r) || !t.call(this, r, u);
299
+ });
300
+ };
301
+ U.default = Xe;
302
+ var Z = {};
303
+ Object.defineProperty(Z, "__esModule", {
304
+ value: !0
305
+ });
306
+ Z.default = void 0;
307
+ var re = f, Ye = function(t) {
308
+ return (0, re.withParams)({
309
+ type: "minValue",
310
+ min: t
311
+ }, function(r) {
312
+ return !(0, re.req)(r) || (!/\s/.test(r) || r instanceof Date) && +r >= +t;
313
+ });
314
+ };
315
+ Z.default = Ye;
316
+ var C = {};
317
+ Object.defineProperty(C, "__esModule", {
318
+ value: !0
319
+ });
320
+ C.default = void 0;
321
+ var ne = f, xe = function(t) {
322
+ return (0, ne.withParams)({
323
+ type: "maxValue",
324
+ max: t
325
+ }, function(r) {
326
+ return !(0, ne.req)(r) || (!/\s/.test(r) || r instanceof Date) && +r <= +t;
327
+ });
328
+ };
329
+ C.default = xe;
330
+ var B = {};
331
+ Object.defineProperty(B, "__esModule", {
332
+ value: !0
333
+ });
334
+ B.default = void 0;
335
+ var ke = f, et = (0, ke.regex)("integer", /(^[0-9]*$)|(^-[0-9]+$)/);
336
+ B.default = et;
337
+ var G = {};
338
+ Object.defineProperty(G, "__esModule", {
339
+ value: !0
340
+ });
341
+ G.default = void 0;
342
+ var tt = f, rt = (0, tt.regex)("decimal", /^[-]?\d*(\.\d+)?$/);
343
+ G.default = rt;
344
+ (function(e) {
345
+ function t(n) {
346
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? t = function(c) {
347
+ return typeof c;
348
+ } : t = function(c) {
349
+ return c && typeof Symbol == "function" && c.constructor === Symbol && c !== Symbol.prototype ? "symbol" : typeof c;
350
+ }, t(n);
351
+ }
352
+ Object.defineProperty(e, "__esModule", {
353
+ value: !0
354
+ }), Object.defineProperty(e, "alpha", {
355
+ enumerable: !0,
356
+ get: function() {
357
+ return r.default;
358
+ }
359
+ }), Object.defineProperty(e, "alphaNum", {
360
+ enumerable: !0,
361
+ get: function() {
362
+ return u.default;
363
+ }
364
+ }), Object.defineProperty(e, "numeric", {
365
+ enumerable: !0,
366
+ get: function() {
367
+ return _.default;
368
+ }
369
+ }), Object.defineProperty(e, "between", {
370
+ enumerable: !0,
371
+ get: function() {
372
+ return m.default;
373
+ }
374
+ }), Object.defineProperty(e, "email", {
375
+ enumerable: !0,
376
+ get: function() {
377
+ return v.default;
378
+ }
379
+ }), Object.defineProperty(e, "ipAddress", {
380
+ enumerable: !0,
381
+ get: function() {
382
+ return o.default;
383
+ }
384
+ }), Object.defineProperty(e, "macAddress", {
385
+ enumerable: !0,
386
+ get: function() {
387
+ return d.default;
388
+ }
389
+ }), Object.defineProperty(e, "maxLength", {
390
+ enumerable: !0,
391
+ get: function() {
392
+ return a.default;
393
+ }
394
+ }), Object.defineProperty(e, "minLength", {
395
+ enumerable: !0,
396
+ get: function() {
397
+ return l.default;
398
+ }
399
+ }), Object.defineProperty(e, "required", {
400
+ enumerable: !0,
401
+ get: function() {
402
+ return y.default;
403
+ }
404
+ }), Object.defineProperty(e, "requiredIf", {
405
+ enumerable: !0,
406
+ get: function() {
407
+ return ue.default;
408
+ }
409
+ }), Object.defineProperty(e, "requiredUnless", {
410
+ enumerable: !0,
411
+ get: function() {
412
+ return ae.default;
413
+ }
414
+ }), Object.defineProperty(e, "sameAs", {
415
+ enumerable: !0,
416
+ get: function() {
417
+ return fe.default;
418
+ }
419
+ }), Object.defineProperty(e, "url", {
420
+ enumerable: !0,
421
+ get: function() {
422
+ return ie.default;
423
+ }
424
+ }), Object.defineProperty(e, "or", {
425
+ enumerable: !0,
426
+ get: function() {
427
+ return de.default;
428
+ }
429
+ }), Object.defineProperty(e, "and", {
430
+ enumerable: !0,
431
+ get: function() {
432
+ return oe.default;
433
+ }
434
+ }), Object.defineProperty(e, "not", {
435
+ enumerable: !0,
436
+ get: function() {
437
+ return le.default;
438
+ }
439
+ }), Object.defineProperty(e, "minValue", {
440
+ enumerable: !0,
441
+ get: function() {
442
+ return ce.default;
443
+ }
444
+ }), Object.defineProperty(e, "maxValue", {
445
+ enumerable: !0,
446
+ get: function() {
447
+ return me.default;
448
+ }
449
+ }), Object.defineProperty(e, "integer", {
450
+ enumerable: !0,
451
+ get: function() {
452
+ return ve.default;
453
+ }
454
+ }), Object.defineProperty(e, "decimal", {
455
+ enumerable: !0,
456
+ get: function() {
457
+ return _e.default;
458
+ }
459
+ }), e.helpers = void 0;
460
+ 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
+ e.helpers = se;
462
+ function Q() {
463
+ if (typeof WeakMap != "function")
464
+ return null;
465
+ var n = /* @__PURE__ */ new WeakMap();
466
+ return Q = function() {
467
+ return n;
468
+ }, n;
469
+ }
470
+ function ye(n) {
471
+ if (n && n.__esModule)
472
+ return n;
473
+ if (n === null || t(n) !== "object" && typeof n != "function")
474
+ return { default: n };
475
+ var s = Q();
476
+ if (s && s.has(n))
477
+ return s.get(n);
478
+ var c = {}, ge = Object.defineProperty && Object.getOwnPropertyDescriptor;
479
+ for (var g in n)
480
+ if (Object.prototype.hasOwnProperty.call(n, g)) {
481
+ var p = ge ? Object.getOwnPropertyDescriptor(n, g) : null;
482
+ p && (p.get || p.set) ? Object.defineProperty(c, g, p) : c[g] = n[g];
483
+ }
484
+ return c.default = n, s && s.set(n, c), c;
485
+ }
486
+ function i(n) {
487
+ return n && n.__esModule ? n : { default: n };
488
+ }
489
+ })(pe);
490
+ export {
491
+ pe as v
492
+ };
@@ -0,0 +1,81 @@
1
+ import { n as i, D as n } from "./main-CQBEuZk9.js";
2
+ const o = {
3
+ name: "DocumentGuide",
4
+ i18nOptions: {
5
+ namespaces: "documentGuide",
6
+ messages: {
7
+ en: {
8
+ title: "Quick tour",
9
+ steps: {
10
+ addBlocks: "Add document blocks from the left sidebar.",
11
+ textFormatting: "Select some text and formatting options will appear.",
12
+ editBlocks: `Adjust a block's appearance by clicking on the <span class="dg-button-icon appearance"></span> button.`,
13
+ changeProduct: `Change a product's quantity by clicking on the <span class="dg-button-icon cog"></span> button.`,
14
+ send: `Once you're done, hit <span class="dg-button-text">Send</span>`
15
+ }
16
+ },
17
+ sv: {
18
+ title: "Snabbguide",
19
+ steps: {
20
+ addBlocks: "Lägg till dokumentblock ifrån vänstra sidomenyn.",
21
+ textFormatting: "Markera en bit text för att få upp formateringsmenyn.",
22
+ editBlocks: 'Ändra utseendet på ett block genom att klicka på <span class="dg-button-icon appearance"></span> knappen.',
23
+ changeProduct: 'Ändra en varas antal genom att klicka på <span class="dg-button-icon cog"></span> knappen.',
24
+ send: 'När du är klar, klicka på <span class="dg-button-text">Skicka</span>'
25
+ }
26
+ }
27
+ }
28
+ },
29
+ data() {
30
+ return {
31
+ step: 0,
32
+ steps: [
33
+ {
34
+ title: this.$t("steps.addBlocks"),
35
+ img: n("/account/onboarding/drag-block.png")
36
+ },
37
+ {
38
+ title: this.$t("steps.textFormatting"),
39
+ img: n("/account/onboarding/text-bubble.png")
40
+ },
41
+ {
42
+ title: this.$t("steps.editBlocks"),
43
+ img: n("/account/onboarding/block-options.png")
44
+ },
45
+ {
46
+ title: this.$t("steps.changeProduct"),
47
+ img: n("/account/onboarding/article-options.png")
48
+ },
49
+ {
50
+ title: this.$t("steps.send"),
51
+ img: n("/account/onboarding/doc-send.png")
52
+ }
53
+ ]
54
+ };
55
+ }
56
+ };
57
+ var c = function() {
58
+ var t = this, e = t._self._c;
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) {
60
+ return t.$emit("close");
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) {
62
+ return e("div", { key: a, staticStyle: { width: "8px", height: "8px", "border-radius": "8px", cursor: "pointer" }, style: {
63
+ backgroundColor: t.step === a ? "white" : "hsla(0, 0%, 100%, 0.4)"
64
+ }, on: { click: function(d) {
65
+ t.step = a;
66
+ } } });
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) {
68
+ t.step === t.steps.length - 1 ? t.$emit("close") : t.step++;
69
+ } } }, [t._v(" " + t._s(t.step === t.steps.length - 1 ? t.$t("_common:done").capitalize() : t.$t("_common:next").capitalize()) + " ")])], 1)], 1)]);
70
+ }, r = [], l = /* @__PURE__ */ i(
71
+ o,
72
+ c,
73
+ r,
74
+ !1,
75
+ null,
76
+ null
77
+ );
78
+ const m = l.exports;
79
+ export {
80
+ m as default
81
+ };