@cling-se/widget 0.12.8 → 0.13.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/.eslintrc.cjs +4 -0
- package/dist/{AddClientCallout-1db76c94.js → AddClientCallout-fd6dc000.js} +5 -5
- package/dist/{AnswerModal-6c06a8a2.js → AnswerModal-7c83d608.js} +3 -3
- package/dist/{AttachmentItem-41e444a4.js → AttachmentItem-468fd65c.js} +3 -3
- package/dist/{BaseDatePicker-d2a55800.js → BaseDatePicker-1975be7c.js} +2 -2
- package/dist/{BaseInput-18e129c8.js → BaseInput-2ca68242.js} +1 -1
- package/dist/{BaseUpload-a9e1877b.js → BaseUpload-a37ee3a3.js} +2 -2
- package/dist/{BlockMedia-8f9708c5.js → BlockMedia-9fa610ce.js} +1 -1
- package/dist/{CCallout-b49bff26.js → CCallout-4c253200.js} +2 -2
- package/dist/{CDropdownItem-d4615a56.js → CDropdownItem-7e71da85.js} +1 -1
- package/dist/{CField-f2688fc2.js → CField-823448be.js} +1 -1
- package/dist/{CPhoneFormat-b1e386fc.js → CPhoneFormat-54baa501.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js → CSlider.vue_vue_type_style_index_0_lang-ceb19661.js} +1 -1
- package/dist/{ClientAutocomplete-e74a234a.js → ClientAutocomplete-186cc118.js} +2 -2
- package/dist/{ClientModal-37836644.js → ClientModal-c5ee3885.js} +5 -5
- package/dist/{ColorPicker-ccea269c.js → ColorPicker-65a47379.js} +1 -1
- package/dist/{CompanyModal-1ae0f6ac.js → CompanyModal-564e2b35.js} +3 -3
- package/dist/{ContentWrapper-a4b0def6.js → ContentWrapper-ac56e749.js} +13 -13
- package/dist/{CoverBlockSettings-9adcce77.js → CoverBlockSettings-8949a330.js} +7 -7
- package/dist/{DocAnswer-2cebb34c.js → DocAnswer-2c0cb58f.js} +4 -4
- package/dist/{DocDetails-4779c308.js → DocDetails-6522bb1b.js} +15 -15
- package/dist/{DocForm-211552a8.js → DocForm-983d41f5.js} +6438 -6423
- package/dist/{DocFormSend-046a4add.js → DocFormSend-787ce614.js} +27 -27
- package/dist/{DocLinks-45fab5d6.js → DocLinks-d6b1b080.js} +2 -2
- package/dist/{DocModalBase-5f1948d9.js → DocModalBase-60c69c7f.js} +1 -1
- package/dist/{DocPrint-8332f880.js → DocPrint-78c501ca.js} +1 -1
- package/dist/{DocReceipt-fe11e0cb.js → DocReceipt-ac44b93f.js} +1 -1
- package/dist/{DocSendReminder-8943a812.js → DocSendReminder-6cf2424c.js} +4 -4
- package/dist/{DocTextEditor-de66d76f.js → DocTextEditor-81f63135.js} +8 -8
- package/dist/{DocTimeline-3502cb4c.js → DocTimeline-35106a94.js} +114 -113
- package/dist/{DocumentClient-b781dd1f.js → DocumentClient-eda56a3c.js} +11 -9
- package/dist/{DocumentLayout-27fbb225.js → DocumentLayout-4005baa4.js} +132 -132
- package/dist/{DocumentLogotype-a28abe5a.js → DocumentLogotype-0d7d5080.js} +3 -3
- package/dist/{DocumentVoided-455343c5.js → DocumentVoided-fe1bd505.js} +1 -1
- package/dist/{EmbedInput-d11d5de2.js → EmbedInput-8c301d27.js} +2 -2
- package/dist/{EmbedSettings-016ff455.js → EmbedSettings-05ab2762.js} +3 -3
- package/dist/{ErrorCallout-a074770e.js → ErrorCallout-87033b39.js} +1 -1
- package/dist/{FilePreviewModal-fca6faef.js → FilePreviewModal-743fe489.js} +5 -5
- package/dist/{Flag-900b37df.js → Flag-a6b545e0.js} +1 -1
- package/dist/{HeaderSettings-ae0b3cf5.js → HeaderSettings-b739ddbb.js} +15 -15
- package/dist/{ImageSelectModal-97133858.js → ImageSelectModal-b626ef57.js} +8 -8
- package/dist/{ImageUploadWrapper-1635702c.js → ImageUploadWrapper-be047810.js} +2 -2
- package/dist/{Index-ef2a29e9.js → Index-01224b38.js} +13 -13
- package/dist/{Index-5ddfb8a8.js → Index-071b97c8.js} +2 -2
- package/dist/{Index-8b7c94ba.js → Index-3f02e8ca.js} +5 -5
- package/dist/{Index-59e9af38.js → Index-4298f3e2.js} +1 -1
- package/dist/{Index-693618d0.js → Index-4b09d0fa.js} +2 -2
- package/dist/{Index-9c4b7f92.js → Index-4f119d80.js} +14 -14
- package/dist/{Index-7c6cea7d.js → Index-54f457ee.js} +6 -6
- package/dist/{Index-1c7f63c9.js → Index-56e4127a.js} +9 -9
- package/dist/{Index-86d26237.js → Index-5bf8b9b7.js} +4 -4
- package/dist/{Index-9bb614c4.js → Index-63aea2b8.js} +9 -9
- package/dist/{Index-3b5a9052.js → Index-6b66b9ff.js} +2 -2
- package/dist/{Index-0c29aa88.js → Index-6bfbbbd2.js} +10 -10
- package/dist/{Index-6ee8096a.js → Index-6c21af02.js} +4 -4
- package/dist/{Index-6c0d7d03.js → Index-848bb05c.js} +1 -1
- package/dist/{Index-84efdf4e.js → Index-8cfeac73.js} +6 -6
- package/dist/{Index-31a7de9d.js → Index-8e82da74.js} +7 -7
- package/dist/{Index-7f1831cc.js → Index-8ea1a895.js} +6 -6
- package/dist/{Index-30d88fb4.js → Index-8ebe3371.js} +8 -8
- package/dist/{Index-f1000bb7.js → Index-8f237754.js} +4 -4
- package/dist/{Index-831f4f0b.js → Index-97c18be1.js} +6 -6
- package/dist/{Index-398a837d.js → Index-a3920b7b.js} +4 -4
- package/dist/{Index-330c01cb.js → Index-a52df5e2.js} +7 -7
- package/dist/{Index-3f500f06.js → Index-b2de3af8.js} +2 -2
- package/dist/{Index-1cb91a78.js → Index-b56a2d94.js} +2 -2
- package/dist/{Index-5af3739d.js → Index-c049a6e2.js} +4 -4
- package/dist/{Index-8b8ee120.js → Index-c349151b.js} +4 -4
- package/dist/{Index-1cf58bbf.js → Index-caebb616.js} +2 -2
- package/dist/{Index-87a4e82c.js → Index-cbd0f3f6.js} +2 -2
- package/dist/{Index-1ed5e7ea.js → Index-ea1e223d.js} +4 -4
- package/dist/{Index-d9e51018.js → Index-ecbffb52.js} +14 -14
- package/dist/{Index-b8b9f7f0.js → Index-f006e9fe.js} +3 -3
- package/dist/{Index-7510cf12.js → Index-f1bf6520.js} +4 -4
- package/dist/{Index-0a894180.js → Index-fc0516f6.js} +2 -2
- package/dist/{Index-b626f0cc.js → Index-fe0e805b.js} +5 -5
- package/dist/{InputToggleRow-ea78cea0.js → InputToggleRow-f86fdf91.js} +1 -1
- package/dist/{IsPremiumPreStep-e80f039e.js → IsPremiumPreStep-27645ee9.js} +4 -4
- package/dist/{ManualPopover-4b11a2f4.js → ManualPopover-d7c2a780.js} +1 -1
- package/dist/{MediaWrapper-517aefb6.js → MediaWrapper-2381bc95.js} +3 -3
- package/dist/{NotBindingText-0e7bf539.js → NotBindingText-a9eae0b2.js} +2 -2
- package/dist/{PackageGroup-7686c682.js → PackageGroup-95d99d03.js} +12 -12
- package/dist/{PdfTerms-20b187ab.js → PdfTerms-4a6d6067.js} +5 -5
- package/dist/{PdfViewer-5f7f3e7e.js → PdfViewer-8d7f2143.js} +2 -2
- package/dist/{PlainHtml-8da72eb0.js → PlainHtml-9d3f71d6.js} +1 -1
- package/dist/{PriceHeader-1664be58.js → PriceHeader-f2cb6529.js} +13 -13
- package/dist/{SearchApi-969f26f3.js → SearchApi-2a59cdc7.js} +2 -2
- package/dist/{Setup-6924ae55.js → Setup-74c47337.js} +1 -2
- package/dist/{TermsSettings-24722cab.js → TermsSettings-0c5a6cad.js} +7 -7
- package/dist/{ThemeColorRow-dad2a360.js → ThemeColorRow-bbf4f527.js} +3 -3
- package/dist/{ToggleBinding-95b398b5.js → ToggleBinding-50af6f0f.js} +3 -3
- package/dist/{UploadModal-fcb5d747.js → UploadModal-d2757015.js} +3 -3
- package/dist/{VideoPlayerInput-0653fdac.js → VideoPlayerInput-cb6c91e8.js} +3 -3
- package/dist/{VideoPlayerSettings-cd36d947.js → VideoPlayerSettings-bff30628.js} +4 -4
- package/dist/{VideoSelectModal-80bce79a.js → VideoSelectModal-9ec9ecfc.js} +8 -8
- package/dist/{answerDocumentMixin-562a6227.js → answerDocumentMixin-9368852c.js} +3 -3
- package/dist/{debounce-e16e154a.js → debounce-f8aeabc5.js} +1 -1
- package/dist/{focusDrawerMixin-2ea3f8b2.js → focusDrawerMixin-e2312605.js} +1 -1
- package/dist/{formComponentsInstall-f0935848.js → formComponentsInstall-6894b988.js} +12 -12
- package/dist/{formDrawerState-5cb1d38e.js → formDrawerState-b99be3a7.js} +1 -1
- package/dist/{formValidationMixin-fbcf6044.js → formValidationMixin-a9a35060.js} +1 -1
- package/dist/{index-3eb46e3e.js → index-3671e1b7.js} +3 -3
- package/dist/{index-e7242888.js → index-96e9db00.js} +9 -9
- package/dist/{index-926169da.js → index-9d1ade78.js} +1 -1
- package/dist/{index-0f93916c.js → index-b2348f09.js} +5 -5
- package/dist/{index-4284b917.js → index-c9186403.js} +1 -1
- package/dist/{index-b6c7c8f9.js → index-d35e9363.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +208 -208
- package/dist/{main-00182277.js → main-b9ea9725.js} +34998 -34938
- package/dist/{mapFormMixin-1c6561a7.js → mapFormMixin-de4a37c3.js} +1 -1
- package/dist/{publicSenderState-a9f48e73.js → publicSenderState-a2c0cc9d.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{throttle-ac46d119.js → throttle-53a6c735.js} +2 -2
- package/dist/{tinycolor-dc78edeb.js → tinycolor-071e269c.js} +1 -1
- package/dist/{tippy.esm-95420c02.js → tippy.esm-1b89bf69.js} +5 -5
- package/dist/{utils-eb62baff.js → utils-44a35f52.js} +1 -1
- package/dist/{vuedraggable.umd-f51633ac.js → vuedraggable.umd-1b113186.js} +1 -1
- package/package.json +3 -2
- package/tsconfig.json +26 -0
- package/tsconfig.node.json +10 -0
- package/tsconfig.paths.json +17 -0
- package/vite.config.ts +61 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as m,
|
|
1
|
+
import { i as s, S as r } from "./formComponentsInstall-6894b988.js";
|
|
2
|
+
import { V as n, m as l, a as i, g as u, C as m, n as c } from "./main-b9ea9725.js";
|
|
3
3
|
import "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import "./Flag-
|
|
5
|
-
import "./mapFormMixin-
|
|
6
|
-
import "./BaseDatePicker-
|
|
7
|
-
import "./CDropdownItem-
|
|
8
|
-
import "./ErrorCallout-
|
|
9
|
-
import "./IsPremiumPreStep-
|
|
4
|
+
import "./Flag-a6b545e0.js";
|
|
5
|
+
import "./mapFormMixin-de4a37c3.js";
|
|
6
|
+
import "./BaseDatePicker-1975be7c.js";
|
|
7
|
+
import "./CDropdownItem-7e71da85.js";
|
|
8
|
+
import "./ErrorCallout-87033b39.js";
|
|
9
|
+
import "./IsPremiumPreStep-27645ee9.js";
|
|
10
10
|
import "./anime.es-e284c852.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-d35e9363.js";
|
|
12
12
|
import "./index-805c56e4.js";
|
|
13
13
|
import "./dom-962579a6.js";
|
|
14
|
-
import "./AddClientCallout-
|
|
15
|
-
import "./ClientAutocomplete-
|
|
16
|
-
import "./SearchApi-
|
|
17
|
-
import "./debounce-
|
|
18
|
-
import "./ClientModal-
|
|
19
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
20
|
-
import "./CCallout-
|
|
21
|
-
import "./CField-
|
|
14
|
+
import "./AddClientCallout-fd6dc000.js";
|
|
15
|
+
import "./ClientAutocomplete-186cc118.js";
|
|
16
|
+
import "./SearchApi-2a59cdc7.js";
|
|
17
|
+
import "./debounce-f8aeabc5.js";
|
|
18
|
+
import "./ClientModal-c5ee3885.js";
|
|
19
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
|
|
20
|
+
import "./CCallout-4c253200.js";
|
|
21
|
+
import "./CField-823448be.js";
|
|
22
22
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
23
|
-
n.use(
|
|
23
|
+
n.use(s);
|
|
24
24
|
const a = n.observable({
|
|
25
25
|
canEdit: !1,
|
|
26
26
|
isForm: !0,
|
|
@@ -29,7 +29,7 @@ const a = n.observable({
|
|
|
29
29
|
}), d = {
|
|
30
30
|
name: "DocFormSend",
|
|
31
31
|
components: {
|
|
32
|
-
SendForm:
|
|
32
|
+
SendForm: r
|
|
33
33
|
},
|
|
34
34
|
provide: () => ({ viewSettings: a, allowSenderSign: !1 }),
|
|
35
35
|
// TODO maybe not needed
|
|
@@ -87,7 +87,7 @@ const a = n.observable({
|
|
|
87
87
|
};
|
|
88
88
|
},
|
|
89
89
|
computed: {
|
|
90
|
-
...
|
|
90
|
+
...l({
|
|
91
91
|
company: "application/company",
|
|
92
92
|
can: "application/can",
|
|
93
93
|
rawDoc: "forms/document",
|
|
@@ -106,14 +106,14 @@ const a = n.observable({
|
|
|
106
106
|
this.setDocValue && (a.setFormValue = this.setDocValue), this.removeDocValue && (a.removeFormValue = this.removeDocValue);
|
|
107
107
|
},
|
|
108
108
|
methods: {
|
|
109
|
-
...
|
|
110
|
-
saveDocument:
|
|
109
|
+
...i({
|
|
110
|
+
saveDocument: u.SAVE_DYNDOC_FORM
|
|
111
111
|
// loadCompanyUser: global.LOAD_COMPANY_USER,
|
|
112
112
|
}),
|
|
113
113
|
async initDoc() {
|
|
114
114
|
if (!this.rawDoc)
|
|
115
115
|
throw new Error("Missing initiated form document");
|
|
116
|
-
this.document = new
|
|
116
|
+
this.document = new m({
|
|
117
117
|
data: this.rawDoc,
|
|
118
118
|
can: this.can,
|
|
119
119
|
getters: this.$store.getters,
|
|
@@ -144,8 +144,8 @@ var p = function() {
|
|
|
144
144
|
clients: "clients",
|
|
145
145
|
reminders: "data.reminders",
|
|
146
146
|
name: "data.name"
|
|
147
|
-
}, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: {
|
|
148
|
-
}, f = [], h = /* @__PURE__ */
|
|
147
|
+
}, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: { textContent: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? o("div", { attrs: { slot: "footer" }, domProps: { textContent: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : o("div", { staticClass: "grid h-full w-full place-items-center" }, [o("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
|
|
148
|
+
}, f = [], h = /* @__PURE__ */ c(
|
|
149
149
|
d,
|
|
150
150
|
p,
|
|
151
151
|
f,
|
|
@@ -155,7 +155,7 @@ var p = function() {
|
|
|
155
155
|
null,
|
|
156
156
|
null
|
|
157
157
|
);
|
|
158
|
-
const
|
|
158
|
+
const I = h.exports;
|
|
159
159
|
export {
|
|
160
|
-
|
|
160
|
+
I as default
|
|
161
161
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as m, n as a } from "./main-
|
|
1
|
+
import { g as m, n as a } from "./main-b9ea9725.js";
|
|
2
2
|
import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
|
|
3
3
|
const l = {
|
|
4
4
|
name: "DocumentSendReminderModal",
|
|
@@ -110,14 +110,14 @@ var p = function() {
|
|
|
110
110
|
null
|
|
111
111
|
);
|
|
112
112
|
const v = _.exports, y = {
|
|
113
|
+
components: {
|
|
114
|
+
DocumentSendReminderModal: v
|
|
115
|
+
},
|
|
113
116
|
props: {
|
|
114
117
|
document: {
|
|
115
118
|
type: Object,
|
|
116
119
|
required: !0
|
|
117
120
|
}
|
|
118
|
-
},
|
|
119
|
-
components: {
|
|
120
|
-
DocumentSendReminderModal: v
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
var h = function() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Uo, F as _a, s as $a, d as ys } from "./tippy.esm-
|
|
2
|
-
import { V as Vn, n as ut,
|
|
1
|
+
import { t as Uo, F as _a, s as $a, d as ys } from "./tippy.esm-1b89bf69.js";
|
|
2
|
+
import { V as Vn, n as ut, aa as bs, b as Ds, p as Ha } from "./main-b9ea9725.js";
|
|
3
3
|
import { a as ai } from "./dom-962579a6.js";
|
|
4
|
-
import { i as Jo, w as Va } from "./CDropdownItem-
|
|
5
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { i as Jo, w as Va } from "./CDropdownItem-7e71da85.js";
|
|
5
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
|
|
6
6
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
7
|
-
import { M as Go } from "./ManualPopover-
|
|
8
|
-
import { C as ja } from "./ColorPicker-
|
|
7
|
+
import { M as Go } from "./ManualPopover-d7c2a780.js";
|
|
8
|
+
import { C as ja } from "./ColorPicker-65a47379.js";
|
|
9
9
|
import { h as Wa } from "./color-c1606adc.js";
|
|
10
10
|
function ee(n) {
|
|
11
11
|
this.content = n;
|
|
@@ -13967,7 +13967,7 @@ const Cm = Dm.exports;
|
|
|
13967
13967
|
const km = {
|
|
13968
13968
|
components: {
|
|
13969
13969
|
FormInputRow: _a,
|
|
13970
|
-
TextTemplates: () => import("./index-
|
|
13970
|
+
TextTemplates: () => import("./index-96e9db00.js")
|
|
13971
13971
|
},
|
|
13972
13972
|
props: {
|
|
13973
13973
|
editor: {
|
|
@@ -14860,7 +14860,7 @@ const _m = {
|
|
|
14860
14860
|
},
|
|
14861
14861
|
async openPreview() {
|
|
14862
14862
|
var r;
|
|
14863
|
-
const n = () => import("./FilePreviewModal-
|
|
14863
|
+
const n = () => import("./FilePreviewModal-743fe489.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
|
|
14864
14864
|
this.$modal.show(
|
|
14865
14865
|
n,
|
|
14866
14866
|
{
|
|
@@ -1,96 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
new: {
|
|
5
|
-
statusClass: "draft",
|
|
6
|
-
icon: "statusDraft"
|
|
7
|
-
},
|
|
8
|
-
draft: {
|
|
9
|
-
statusClass: "draft",
|
|
10
|
-
icon: "statusDraft"
|
|
11
|
-
},
|
|
12
|
-
scheduled: {
|
|
13
|
-
statusClass: "scheduled",
|
|
14
|
-
icon: "statusScheduled"
|
|
15
|
-
},
|
|
16
|
-
sent: {
|
|
17
|
-
statusClass: "sent",
|
|
18
|
-
icon: "statusSent"
|
|
19
|
-
},
|
|
20
|
-
denied: {
|
|
21
|
-
statusClass: "denied",
|
|
22
|
-
icon: "statusDenied"
|
|
23
|
-
},
|
|
24
|
-
accepted: {
|
|
25
|
-
statusClass: "accepted",
|
|
26
|
-
icon: "statusAccepted"
|
|
27
|
-
},
|
|
28
|
-
signed: {
|
|
29
|
-
statusClass: "accepted",
|
|
30
|
-
icon: "statusAccepted"
|
|
31
|
-
},
|
|
32
|
-
semiSigned: {
|
|
33
|
-
statusClass: "accepted",
|
|
34
|
-
icon: "statusSemiSigned"
|
|
35
|
-
},
|
|
36
|
-
expired: {
|
|
37
|
-
statusClass: "expired",
|
|
38
|
-
icon: "statusExpired"
|
|
39
|
-
},
|
|
40
|
-
voided: {
|
|
41
|
-
statusClass: "voided",
|
|
42
|
-
icon: "statusVoided"
|
|
43
|
-
},
|
|
44
|
-
active: {
|
|
45
|
-
statusClass: "active",
|
|
46
|
-
icon: "statusActive"
|
|
47
|
-
},
|
|
48
|
-
completed: {
|
|
49
|
-
statusClass: "completed",
|
|
50
|
-
icon: "statusCompleted"
|
|
51
|
-
},
|
|
52
|
-
archived: {
|
|
53
|
-
statusClass: "archived",
|
|
54
|
-
icon: "statusArchive"
|
|
55
|
-
}
|
|
56
|
-
}, w = {
|
|
57
|
-
props: {
|
|
58
|
-
status: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: ""
|
|
61
|
-
},
|
|
62
|
-
split: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: ""
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
computed: {
|
|
68
|
-
text() {
|
|
69
|
-
return this.status ? b.t(`_common:status.${this.status}`) : "";
|
|
70
|
-
},
|
|
71
|
-
className() {
|
|
72
|
-
const { statusClass: s = "" } = v[this.status] || {};
|
|
73
|
-
return s;
|
|
74
|
-
},
|
|
75
|
-
icon() {
|
|
76
|
-
return S(v, `${this.status}.icon`);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
var k = function() {
|
|
81
|
-
var t = this, e = t._self._c;
|
|
82
|
-
return e("div", { staticClass: "c-badge_status inline-flex h-6 items-center rounded-full pl-1 pr-2 text-xs font-medium leading-none", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "status-icon mr-1", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
|
|
83
|
-
}, z = [], T = /* @__PURE__ */ u(
|
|
84
|
-
w,
|
|
85
|
-
k,
|
|
86
|
-
z,
|
|
87
|
-
!1,
|
|
88
|
-
null,
|
|
89
|
-
null,
|
|
90
|
-
null,
|
|
91
|
-
null
|
|
92
|
-
);
|
|
93
|
-
const B = T.exports, I = {
|
|
1
|
+
import { m as b } from "./vuex.esm-4a0fff7c.js";
|
|
2
|
+
import { n as u, a8 as _, a9 as f, aa as S, b as D } from "./main-b9ea9725.js";
|
|
3
|
+
const w = {
|
|
94
4
|
name: "DynamicLink",
|
|
95
5
|
props: {
|
|
96
6
|
template: {
|
|
@@ -104,23 +14,23 @@ const B = T.exports, I = {
|
|
|
104
14
|
}
|
|
105
15
|
}
|
|
106
16
|
};
|
|
107
|
-
var
|
|
17
|
+
var k = function() {
|
|
108
18
|
var t = this, e = t._self._c;
|
|
109
19
|
return e(t.transformed, { tag: "component" });
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
20
|
+
}, z = [], T = /* @__PURE__ */ u(
|
|
21
|
+
w,
|
|
22
|
+
k,
|
|
23
|
+
z,
|
|
114
24
|
!1,
|
|
115
25
|
null,
|
|
116
26
|
null,
|
|
117
27
|
null,
|
|
118
28
|
null
|
|
119
29
|
);
|
|
120
|
-
const
|
|
30
|
+
const B = T.exports, I = {
|
|
121
31
|
name: "EventItem",
|
|
122
32
|
components: {
|
|
123
|
-
DynamicLink:
|
|
33
|
+
DynamicLink: B
|
|
124
34
|
},
|
|
125
35
|
props: {
|
|
126
36
|
title: {
|
|
@@ -208,20 +118,20 @@ const N = M.exports, A = {
|
|
|
208
118
|
}
|
|
209
119
|
}
|
|
210
120
|
};
|
|
211
|
-
var
|
|
121
|
+
var O = function() {
|
|
212
122
|
var t = this, e = t._self._c;
|
|
213
123
|
return e("div", { staticClass: "text-primary-500 event relative ml-4 flex cursor-default flex-nowrap pb-5 before:absolute before:-left-px before:top-4 before:h-full before:w-px before:bg-gray-300 before:content-[''] last:before:hidden" }, [e("div", { staticClass: "relative m-0 h-[23px]", staticStyle: { "--bg": "#fff" } }, [e("div", { staticClass: "absolute left-1/2 top-1/2 z-[1] flex h-7 w-7 items-center justify-center rounded-full 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 flex min-w-0 flex-grow flex-col pt-1" }, [t.loading ? [e("CSkeleton", { staticClass: "max-w-md font-medium text-gray-900", class: t.titleSize, attrs: { width: "80%" } }), e("CSkeleton", { staticClass: "text-gray-600", class: t.textSize, attrs: { width: "40%" } }), e("CSkeleton", { staticClass: "inline-flex pt-0.5 text-center text-xs text-gray-500", 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: "inline-flex pt-1 text-center text-gray-500", 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)]);
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
124
|
+
}, E = [], M = /* @__PURE__ */ u(
|
|
125
|
+
I,
|
|
126
|
+
O,
|
|
127
|
+
E,
|
|
218
128
|
!1,
|
|
219
129
|
null,
|
|
220
130
|
null,
|
|
221
131
|
null,
|
|
222
132
|
null
|
|
223
133
|
);
|
|
224
|
-
const
|
|
134
|
+
const N = M.exports, A = {
|
|
225
135
|
sv: {
|
|
226
136
|
clientName: "Kunden",
|
|
227
137
|
byName: "Av {{- name}}",
|
|
@@ -258,14 +168,14 @@ const R = j.exports, L = {
|
|
|
258
168
|
expiredContent: "The expiration date has passed",
|
|
259
169
|
toEmail: "To: {{email}}"
|
|
260
170
|
}
|
|
261
|
-
},
|
|
171
|
+
}, F = {
|
|
262
172
|
name: "DocumentTimeline",
|
|
263
173
|
i18nOptions: {
|
|
264
174
|
namespaces: "documentTimeline",
|
|
265
|
-
messages:
|
|
175
|
+
messages: A
|
|
266
176
|
},
|
|
267
177
|
components: {
|
|
268
|
-
EventItem:
|
|
178
|
+
EventItem: N
|
|
269
179
|
},
|
|
270
180
|
props: {
|
|
271
181
|
document: {
|
|
@@ -282,7 +192,7 @@ const R = j.exports, L = {
|
|
|
282
192
|
}
|
|
283
193
|
},
|
|
284
194
|
computed: {
|
|
285
|
-
...
|
|
195
|
+
...b({
|
|
286
196
|
userById: "companyUsers/byId"
|
|
287
197
|
}),
|
|
288
198
|
events() {
|
|
@@ -436,11 +346,102 @@ const R = j.exports, L = {
|
|
|
436
346
|
}
|
|
437
347
|
}
|
|
438
348
|
};
|
|
439
|
-
var
|
|
349
|
+
var q = function() {
|
|
440
350
|
var t = this, e = t._self._c;
|
|
441
351
|
return e("div", [t._t("header"), t._l(t.events, function(n, r) {
|
|
442
352
|
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 } });
|
|
443
353
|
})], 2);
|
|
354
|
+
}, j = [], R = /* @__PURE__ */ u(
|
|
355
|
+
F,
|
|
356
|
+
q,
|
|
357
|
+
j,
|
|
358
|
+
!1,
|
|
359
|
+
null,
|
|
360
|
+
null,
|
|
361
|
+
null,
|
|
362
|
+
null
|
|
363
|
+
);
|
|
364
|
+
const L = R.exports;
|
|
365
|
+
const v = {
|
|
366
|
+
new: {
|
|
367
|
+
statusClass: "draft",
|
|
368
|
+
icon: "statusDraft"
|
|
369
|
+
},
|
|
370
|
+
draft: {
|
|
371
|
+
statusClass: "draft",
|
|
372
|
+
icon: "statusDraft"
|
|
373
|
+
},
|
|
374
|
+
scheduled: {
|
|
375
|
+
statusClass: "scheduled",
|
|
376
|
+
icon: "statusScheduled"
|
|
377
|
+
},
|
|
378
|
+
sent: {
|
|
379
|
+
statusClass: "sent",
|
|
380
|
+
icon: "statusSent"
|
|
381
|
+
},
|
|
382
|
+
denied: {
|
|
383
|
+
statusClass: "denied",
|
|
384
|
+
icon: "statusDenied"
|
|
385
|
+
},
|
|
386
|
+
accepted: {
|
|
387
|
+
statusClass: "accepted",
|
|
388
|
+
icon: "statusAccepted"
|
|
389
|
+
},
|
|
390
|
+
signed: {
|
|
391
|
+
statusClass: "accepted",
|
|
392
|
+
icon: "statusAccepted"
|
|
393
|
+
},
|
|
394
|
+
semiSigned: {
|
|
395
|
+
statusClass: "accepted",
|
|
396
|
+
icon: "statusSemiSigned"
|
|
397
|
+
},
|
|
398
|
+
expired: {
|
|
399
|
+
statusClass: "expired",
|
|
400
|
+
icon: "statusExpired"
|
|
401
|
+
},
|
|
402
|
+
voided: {
|
|
403
|
+
statusClass: "voided",
|
|
404
|
+
icon: "statusVoided"
|
|
405
|
+
},
|
|
406
|
+
active: {
|
|
407
|
+
statusClass: "active",
|
|
408
|
+
icon: "statusActive"
|
|
409
|
+
},
|
|
410
|
+
completed: {
|
|
411
|
+
statusClass: "completed",
|
|
412
|
+
icon: "statusCompleted"
|
|
413
|
+
},
|
|
414
|
+
archived: {
|
|
415
|
+
statusClass: "archived",
|
|
416
|
+
icon: "statusArchive"
|
|
417
|
+
}
|
|
418
|
+
}, P = {
|
|
419
|
+
props: {
|
|
420
|
+
status: {
|
|
421
|
+
type: String,
|
|
422
|
+
default: ""
|
|
423
|
+
},
|
|
424
|
+
split: {
|
|
425
|
+
type: String,
|
|
426
|
+
default: ""
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
computed: {
|
|
430
|
+
text() {
|
|
431
|
+
return this.status ? S.t(`_common:status.${this.status}`) : "";
|
|
432
|
+
},
|
|
433
|
+
className() {
|
|
434
|
+
const { statusClass: s = "" } = v[this.status] || {};
|
|
435
|
+
return s;
|
|
436
|
+
},
|
|
437
|
+
icon() {
|
|
438
|
+
return D(v, `${this.status}.icon`);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
var G = function() {
|
|
443
|
+
var t = this, e = t._self._c;
|
|
444
|
+
return e("div", { staticClass: "c-badge_status inline-flex h-6 items-center rounded-full pl-1 pr-2 text-xs font-medium leading-none", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "status-icon mr-1", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
|
|
444
445
|
}, H = [], V = /* @__PURE__ */ u(
|
|
445
446
|
P,
|
|
446
447
|
G,
|
|
@@ -454,8 +455,8 @@ var G = function() {
|
|
|
454
455
|
const U = V.exports, K = {
|
|
455
456
|
name: "DocTimeline",
|
|
456
457
|
components: {
|
|
457
|
-
StatusBadge:
|
|
458
|
-
DocumentTimeline:
|
|
458
|
+
StatusBadge: U,
|
|
459
|
+
DocumentTimeline: L
|
|
459
460
|
},
|
|
460
461
|
props: {
|
|
461
462
|
document: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { V as c, n as a } from "./main-
|
|
2
|
-
import { D as m } from "./DocumentLayout-
|
|
3
|
-
import { f as d } from "./formValidationMixin-
|
|
4
|
-
import { a as l } from "./answerDocumentMixin-
|
|
5
|
-
import { D as f } from "./DocumentVoided-
|
|
6
|
-
import "./debounce-
|
|
7
|
-
import "./CDropdownItem-
|
|
1
|
+
import { V as c, n as a } from "./main-b9ea9725.js";
|
|
2
|
+
import { D as m } from "./DocumentLayout-4005baa4.js";
|
|
3
|
+
import { f as d } from "./formValidationMixin-a9a35060.js";
|
|
4
|
+
import { a as l } from "./answerDocumentMixin-9368852c.js";
|
|
5
|
+
import { D as f } from "./DocumentVoided-fe1bd505.js";
|
|
6
|
+
import "./debounce-f8aeabc5.js";
|
|
7
|
+
import "./CDropdownItem-7e71da85.js";
|
|
8
8
|
import "./dom-962579a6.js";
|
|
9
9
|
const p = (s) => {
|
|
10
10
|
var e;
|
|
@@ -114,11 +114,13 @@ const g = b.exports, y = {
|
|
|
114
114
|
},
|
|
115
115
|
customHtmlAccept: {
|
|
116
116
|
type: String,
|
|
117
|
-
required: ""
|
|
117
|
+
required: "",
|
|
118
|
+
default: ""
|
|
118
119
|
},
|
|
119
120
|
customHtmlDeny: {
|
|
120
121
|
type: String,
|
|
121
|
-
required: ""
|
|
122
|
+
required: "",
|
|
123
|
+
default: ""
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
};
|