@cling-se/widget 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DocFormSend.71aa0ed0.js → DocFormSend.f3e29c2a.js} +3 -3
- package/dist/{DocReceipt.aa0ba205.js → DocReceipt.5c1cae76.js} +1 -1
- package/dist/{DocSendReminder.dc1e4533.js → DocSendReminder.2eb3dd95.js} +1 -1
- package/dist/{DocTimeline.e590136d.js → DocTimeline.9ffd2950.js} +22 -16
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +15 -15
- package/dist/{main.97a96a12.js → main.bc768f30.js} +293 -287
- package/package.json +1 -1
- package/stats.html +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as se, g as Se, a as zf, n as N, C as Va, s as Wf, e as Vf, i as Yf, r as Tc, b as Xs, m as Rc, d as Lt, f as mn, h as nt, _ as Uf, j as Ic, k as Hf, p as Gf, l as qf, o as Kf, q as Pc, V as Ya, t as Ac, A as Xf, u as Zf, v as Jf, w as Qf, x as eh, F as Fc, y as Nc, z as Ua, B as th, D as rh, E as Zs, G as nh, H as ih, I as ah } from "./main.
|
|
1
|
+
import { c as se, g as Se, a as zf, n as N, C as Va, s as Wf, e as Vf, i as Yf, r as Tc, b as Xs, m as Rc, d as Lt, f as mn, h as nt, _ as Uf, j as Ic, k as Hf, p as Gf, l as qf, o as Kf, q as Pc, V as Ya, t as Ac, A as Xf, u as Zf, v as Jf, w as Qf, x as eh, F as Fc, y as Nc, z as Ua, B as th, D as rh, E as Zs, G as nh, H as ih, I as ah } from "./main.bc768f30.js";
|
|
2
2
|
const fe = {
|
|
3
3
|
AD: {
|
|
4
4
|
name: "Andorra",
|
|
@@ -8938,7 +8938,7 @@ const IM = {
|
|
|
8938
8938
|
},
|
|
8939
8939
|
async doSendDocument() {
|
|
8940
8940
|
var t;
|
|
8941
|
-
this.$v.$touch(), !this.$v.$invalid && (((t = this._document) == null ? void 0 : t.status)
|
|
8941
|
+
this.$v.$touch(), !this.$v.$invalid && (["denied", "expired"].includes((t = this._document) == null ? void 0 : t.status) && this.resetDeniedDocument(), await this.doSaveDocument({ doSend: !0 }));
|
|
8942
8942
|
},
|
|
8943
8943
|
setDeliveryMethod(t, e) {
|
|
8944
8944
|
const r = this.deliveryTypes;
|
|
@@ -9053,7 +9053,7 @@ var PM = function() {
|
|
|
9053
9053
|
AM,
|
|
9054
9054
|
!1,
|
|
9055
9055
|
null,
|
|
9056
|
-
"
|
|
9056
|
+
"37014841",
|
|
9057
9057
|
null,
|
|
9058
9058
|
null
|
|
9059
9059
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as m, J as v, g as $, i as _, K as f, d as C } from "./main.
|
|
1
|
+
import { n as m, J as v, g as $, i as _, K as f, d as C } from "./main.bc768f30.js";
|
|
2
2
|
const g = {
|
|
3
3
|
new: {
|
|
4
4
|
statusClass: "draft",
|
|
@@ -32,6 +32,10 @@ const g = {
|
|
|
32
32
|
statusClass: "accepted",
|
|
33
33
|
icon: "statusSemiSigned"
|
|
34
34
|
},
|
|
35
|
+
expired: {
|
|
36
|
+
statusClass: "expired",
|
|
37
|
+
icon: "statusExpired"
|
|
38
|
+
},
|
|
35
39
|
active: {
|
|
36
40
|
statusClass: "active",
|
|
37
41
|
icon: "statusActive"
|
|
@@ -98,7 +102,7 @@ const w = k.exports, z = {
|
|
|
98
102
|
var B = function() {
|
|
99
103
|
var t = this, e = t._self._c;
|
|
100
104
|
return e(t.transformed, { tag: "component" });
|
|
101
|
-
}, I = [],
|
|
105
|
+
}, I = [], T = /* @__PURE__ */ m(
|
|
102
106
|
z,
|
|
103
107
|
B,
|
|
104
108
|
I,
|
|
@@ -108,10 +112,10 @@ var B = function() {
|
|
|
108
112
|
null,
|
|
109
113
|
null
|
|
110
114
|
);
|
|
111
|
-
const
|
|
115
|
+
const M = T.exports, E = {
|
|
112
116
|
name: "EventItem",
|
|
113
117
|
components: {
|
|
114
|
-
DynamicLink:
|
|
118
|
+
DynamicLink: M
|
|
115
119
|
},
|
|
116
120
|
props: {
|
|
117
121
|
title: {
|
|
@@ -190,13 +194,13 @@ const T = M.exports, N = {
|
|
|
190
194
|
}
|
|
191
195
|
}
|
|
192
196
|
};
|
|
193
|
-
var
|
|
197
|
+
var N = function() {
|
|
194
198
|
var t = this, e = t._self._c;
|
|
195
199
|
return e("div", { staticClass: "flex flex-nowrap relative text-primary-500 cursor-default pb-5 ml-4 event before:content-[''] before:absolute before:w-px before:h-full before:bg-gray-300 before:-left-px before:top-4 last:before:hidden" }, [e("div", { staticClass: "m-0 h-[23px] relative", staticStyle: { "--bg": "#fff" } }, [e("div", { staticClass: "rounded-full absolute left-1/2 top-1/2 z-[1] w-7 h-7 flex items-center justify-center border-none bg-gray-100", class: t.iconClasses, staticStyle: { transform: "translate(-50%, calc(-50% + 8px))", "box-shadow": "0 0 0 2px var(--bg)" } }, [t.loading ? t._e() : e("BaseIcon", { attrs: { type: t.icon, size: "14" } })], 1)]), e("div", { staticClass: "ml-7 min-w-0 flex-grow flex flex-col pt-1" }, [t.loading ? [e("CSkeleton", { staticClass: "max-w-md text-gray-900 font-medium", class: t.titleSize, attrs: { width: "80%" } }), e("CSkeleton", { staticClass: "text-gray-600", class: t.textSize, attrs: { width: "40%" } }), e("CSkeleton", { staticClass: "text-center text-gray-500 text-xs inline-flex pt-0.5", class: t.dateSize, attrs: { hidden: "" } })] : t._e(), e("div", { staticClass: "max-w-md font-medium", class: [t.isFuture ? "text-gray-500" : "text-gray-700", t.titleSize] }, [t.template ? e("DynamicLink", { attrs: { template: t.template } }) : [t._v(t._s(t.title))]], 2), t.content ? e("div", { class: [t.isFuture ? "text-gray-400" : "text-gray-600", t.textSize] }, [e("div", { domProps: { innerHTML: t._s(t.content) } })]) : t._e(), e("div", { staticClass: "text-center text-gray-500 inline-flex pt-1", class: t.dateSize }, [e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.date, expression: "date" }] }, [t._v(t._s(t.dayOfMonth) + " " + t._s(t.month))])])], 2)]);
|
|
196
|
-
},
|
|
200
|
+
}, O = [], A = /* @__PURE__ */ m(
|
|
201
|
+
E,
|
|
197
202
|
N,
|
|
198
203
|
O,
|
|
199
|
-
E,
|
|
200
204
|
!1,
|
|
201
205
|
null,
|
|
202
206
|
null,
|
|
@@ -218,8 +222,9 @@ const F = A.exports, q = {
|
|
|
218
222
|
mailOpenedContent: "{{email}} visat",
|
|
219
223
|
mailDropped: "E-post kunde inte skickas",
|
|
220
224
|
smsDropped: "SMS kunde inte skickas",
|
|
221
|
-
expired: "
|
|
222
|
-
expiredContent: "
|
|
225
|
+
expired: "Dokumentet har f\xF6rfallit",
|
|
226
|
+
expiredContent: "Giltighetstiden har passerats",
|
|
227
|
+
toEmail: "Till: {{email}}"
|
|
223
228
|
},
|
|
224
229
|
en: {
|
|
225
230
|
clientName: "Client",
|
|
@@ -236,7 +241,8 @@ const F = A.exports, q = {
|
|
|
236
241
|
mailDropped: "Could not send email",
|
|
237
242
|
smsDropped: "Could not send SMS",
|
|
238
243
|
expired: "Expired",
|
|
239
|
-
expiredContent: "
|
|
244
|
+
expiredContent: "The expiration date has passed",
|
|
245
|
+
toEmail: "To: {{email}}"
|
|
240
246
|
}
|
|
241
247
|
}, R = {
|
|
242
248
|
name: "DocumentTimeline",
|
|
@@ -402,8 +408,8 @@ const F = A.exports, q = {
|
|
|
402
408
|
title: this.$t("expired"),
|
|
403
409
|
content: this.$t("expiredContent"),
|
|
404
410
|
createdAt: e,
|
|
405
|
-
icon: "
|
|
406
|
-
color: "
|
|
411
|
+
icon: "moon",
|
|
412
|
+
color: "gray"
|
|
407
413
|
})
|
|
408
414
|
}[s]();
|
|
409
415
|
}
|
|
@@ -424,10 +430,10 @@ var L = function() {
|
|
|
424
430
|
null,
|
|
425
431
|
null
|
|
426
432
|
);
|
|
427
|
-
const
|
|
433
|
+
const G = j.exports, K = {
|
|
428
434
|
name: "DocTimeline",
|
|
429
435
|
components: {
|
|
430
|
-
DocumentTimeline:
|
|
436
|
+
DocumentTimeline: G
|
|
431
437
|
},
|
|
432
438
|
props: {
|
|
433
439
|
id: {
|
|
@@ -436,12 +442,12 @@ const U = j.exports, G = {
|
|
|
436
442
|
}
|
|
437
443
|
}
|
|
438
444
|
};
|
|
439
|
-
var
|
|
445
|
+
var U = function() {
|
|
440
446
|
var t = this, e = t._self._c;
|
|
441
447
|
return e("div", { staticClass: "p-8" }, [e("DocumentTimeline", { attrs: { id: t.id } })], 1);
|
|
442
448
|
}, V = [], H = /* @__PURE__ */ m(
|
|
443
|
-
G,
|
|
444
449
|
K,
|
|
450
|
+
U,
|
|
445
451
|
V,
|
|
446
452
|
!1,
|
|
447
453
|
null,
|