@cling-se/widget 0.8.0 → 0.8.1
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.950688d9.js → DocFormSend.3e9cc773.js} +1 -1
- package/dist/{DocReceipt.5cec2925.js → DocReceipt.42ba588c.js} +1 -1
- package/dist/{DocSendReminder.bd5cef73.js → DocSendReminder.5d4e1684.js} +1 -1
- package/dist/{DocTimeline.bde4cf5b.js → DocTimeline.cc884081.js} +37 -45
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +50 -50
- package/dist/{main.746fed94.js → main.5875d1fd.js} +4095 -4052
- package/package.json +1 -1
- package/stats.html +1 -1
- package/tailwind.config.cjs +11 -0
|
@@ -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.5875d1fd.js";
|
|
2
2
|
const fe = {
|
|
3
3
|
AD: {
|
|
4
4
|
name: "Andorra",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as u, J as b, g as S, i as _, K as f, d as D
|
|
2
|
-
const
|
|
1
|
+
import { n as u, J as b, g as S, i as _, K as f, d as D } from "./main.5875d1fd.js";
|
|
2
|
+
const x = {
|
|
3
3
|
new: {
|
|
4
4
|
statusClass: "draft",
|
|
5
5
|
icon: "statusDraft"
|
|
@@ -52,7 +52,7 @@ const v = {
|
|
|
52
52
|
statusClass: "archived",
|
|
53
53
|
icon: "statusArchive"
|
|
54
54
|
}
|
|
55
|
-
},
|
|
55
|
+
}, k = {
|
|
56
56
|
props: {
|
|
57
57
|
status: {
|
|
58
58
|
type: String,
|
|
@@ -68,28 +68,28 @@ const v = {
|
|
|
68
68
|
return this.status ? b.t(`_common:status.${this.status}`) : "";
|
|
69
69
|
},
|
|
70
70
|
className() {
|
|
71
|
-
const { statusClass: s = "" } =
|
|
71
|
+
const { statusClass: s = "" } = x[this.status] || {};
|
|
72
72
|
return s;
|
|
73
73
|
},
|
|
74
74
|
icon() {
|
|
75
|
-
return S(
|
|
75
|
+
return S(x, `${this.status}.icon`);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
|
-
var
|
|
79
|
+
var w = function() {
|
|
80
80
|
var t = this, e = t._self._c;
|
|
81
81
|
return e("div", { staticClass: "inline-flex items-center h-6 pl-1 pr-2 text-xs font-medium leading-none rounded-full c-badge_status", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "mr-1 status-icon", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
|
|
82
|
-
},
|
|
82
|
+
}, z = [], T = /* @__PURE__ */ u(
|
|
83
|
+
k,
|
|
83
84
|
w,
|
|
84
85
|
z,
|
|
85
|
-
B,
|
|
86
86
|
!1,
|
|
87
87
|
null,
|
|
88
88
|
null,
|
|
89
89
|
null,
|
|
90
90
|
null
|
|
91
91
|
);
|
|
92
|
-
const
|
|
92
|
+
const B = T.exports, I = {
|
|
93
93
|
name: "DynamicLink",
|
|
94
94
|
props: {
|
|
95
95
|
template: {
|
|
@@ -103,23 +103,23 @@ const T = I.exports, E = {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var O = function() {
|
|
107
107
|
var t = this, e = t._self._c;
|
|
108
108
|
return e(t.transformed, { tag: "component" });
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
M,
|
|
109
|
+
}, E = [], M = /* @__PURE__ */ u(
|
|
110
|
+
I,
|
|
112
111
|
O,
|
|
112
|
+
E,
|
|
113
113
|
!1,
|
|
114
114
|
null,
|
|
115
115
|
null,
|
|
116
116
|
null,
|
|
117
117
|
null
|
|
118
118
|
);
|
|
119
|
-
const
|
|
119
|
+
const N = M.exports, A = {
|
|
120
120
|
name: "EventItem",
|
|
121
121
|
components: {
|
|
122
|
-
DynamicLink:
|
|
122
|
+
DynamicLink: N
|
|
123
123
|
},
|
|
124
124
|
props: {
|
|
125
125
|
title: {
|
|
@@ -198,20 +198,20 @@ const A = N.exports, F = {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
|
-
var
|
|
201
|
+
var F = function() {
|
|
202
202
|
var t = this, e = t._self._c;
|
|
203
203
|
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)]);
|
|
204
|
-
},
|
|
204
|
+
}, q = [], j = /* @__PURE__ */ u(
|
|
205
|
+
A,
|
|
205
206
|
F,
|
|
206
207
|
q,
|
|
207
|
-
R,
|
|
208
208
|
!1,
|
|
209
209
|
null,
|
|
210
210
|
null,
|
|
211
211
|
null,
|
|
212
212
|
null
|
|
213
213
|
);
|
|
214
|
-
const
|
|
214
|
+
const R = j.exports, L = {
|
|
215
215
|
sv: {
|
|
216
216
|
clientName: "Kunden",
|
|
217
217
|
byName: "Av {{- name}}",
|
|
@@ -255,7 +255,7 @@ const G = j.exports, L = {
|
|
|
255
255
|
messages: L
|
|
256
256
|
},
|
|
257
257
|
components: {
|
|
258
|
-
EventItem:
|
|
258
|
+
EventItem: R
|
|
259
259
|
},
|
|
260
260
|
props: {
|
|
261
261
|
document: {
|
|
@@ -304,16 +304,16 @@ const G = j.exports, L = {
|
|
|
304
304
|
},
|
|
305
305
|
methods: {
|
|
306
306
|
formatEvent({ code: s, data: t, createdAt: e, children: n = [] }) {
|
|
307
|
-
var
|
|
307
|
+
var v;
|
|
308
308
|
const {
|
|
309
309
|
client: r = {},
|
|
310
310
|
clients: o,
|
|
311
311
|
email: d,
|
|
312
312
|
status: m,
|
|
313
|
-
counter:
|
|
313
|
+
counter: y,
|
|
314
314
|
sendSource: h,
|
|
315
315
|
companyUserId: $
|
|
316
|
-
} = t || {}, p =
|
|
316
|
+
} = t || {}, p = y || n.length + 1, l = r.name, C = {
|
|
317
317
|
created: () => ({
|
|
318
318
|
title: this.$t("_common:created"),
|
|
319
319
|
createdAt: e,
|
|
@@ -418,7 +418,7 @@ const G = j.exports, L = {
|
|
|
418
418
|
icon: "moon",
|
|
419
419
|
color: "gray"
|
|
420
420
|
})
|
|
421
|
-
}, g = (
|
|
421
|
+
}, g = (v = this.colors) == null ? void 0 : v[s];
|
|
422
422
|
return {
|
|
423
423
|
...C[s](),
|
|
424
424
|
...g && { color: g }
|
|
@@ -426,56 +426,48 @@ const G = j.exports, L = {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
|
-
var
|
|
429
|
+
var G = function() {
|
|
430
430
|
var t = this, e = t._self._c;
|
|
431
431
|
return e("div", [t._t("header"), t._l(t.events, function(n, r) {
|
|
432
432
|
return e("EventItem", { key: r, attrs: { title: n.title, content: n.content, createdAt: n.createdAt, icon: n.icon, color: n.color, "is-future": n.isFuture, size: t.size } });
|
|
433
433
|
})], 2);
|
|
434
|
-
},
|
|
434
|
+
}, V = [], K = /* @__PURE__ */ u(
|
|
435
435
|
P,
|
|
436
|
+
G,
|
|
436
437
|
V,
|
|
437
|
-
K,
|
|
438
438
|
!1,
|
|
439
439
|
null,
|
|
440
440
|
null,
|
|
441
441
|
null,
|
|
442
442
|
null
|
|
443
443
|
);
|
|
444
|
-
const
|
|
444
|
+
const U = K.exports, H = {
|
|
445
445
|
name: "DocTimeline",
|
|
446
446
|
components: {
|
|
447
|
-
StatusBadge:
|
|
448
|
-
DocumentTimeline:
|
|
447
|
+
StatusBadge: B,
|
|
448
|
+
DocumentTimeline: U
|
|
449
449
|
},
|
|
450
450
|
props: {
|
|
451
|
-
|
|
452
|
-
type:
|
|
451
|
+
document: {
|
|
452
|
+
type: Object,
|
|
453
453
|
required: !0
|
|
454
454
|
}
|
|
455
|
-
},
|
|
456
|
-
computed: {
|
|
457
|
-
...k({
|
|
458
|
-
docById: "documents2/byId"
|
|
459
|
-
}),
|
|
460
|
-
document() {
|
|
461
|
-
return this.docById(this.id);
|
|
462
|
-
}
|
|
463
455
|
}
|
|
464
456
|
};
|
|
465
|
-
var
|
|
457
|
+
var J = function() {
|
|
466
458
|
var t = this, e = t._self._c;
|
|
467
459
|
return e("div", { staticClass: "p-8" }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" } }, [e("div", { staticClass: "border-b mb-4 pb-4", attrs: { slot: "header" }, slot: "header" }, [e("div", { staticClass: "mb-2" }, [e("div", { staticClass: "text-xs text-gray-600", domProps: { textContent: t._s(t.$t("_common:document").capitalize()) } }), e("div", { staticClass: "font-semibold text-lg" }, [t._v(t._s(t.document.name))])]), e("div", { staticClass: "inline-flex items-center -ml-2" }, [e("div", { staticClass: "text-xs text-gray-600 mr-1.5 py-1 pl-2", domProps: { textContent: t._s(t.$t("_common:status.status")) } }), e("StatusBadge", { attrs: { status: t.document.status } })], 1)])])], 1);
|
|
468
|
-
},
|
|
460
|
+
}, Q = [], W = /* @__PURE__ */ u(
|
|
461
|
+
H,
|
|
469
462
|
J,
|
|
470
463
|
Q,
|
|
471
|
-
W,
|
|
472
464
|
!1,
|
|
473
465
|
null,
|
|
474
466
|
null,
|
|
475
467
|
null,
|
|
476
468
|
null
|
|
477
469
|
);
|
|
478
|
-
const
|
|
470
|
+
const Y = W.exports;
|
|
479
471
|
export {
|
|
480
|
-
|
|
472
|
+
Y as default
|
|
481
473
|
};
|