@cling-se/widget 0.17.2 → 0.18.0
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/CHANGELOG.md +7 -0
- package/dist/AddClientCallout-Bod9Eqx4.js +101 -0
- package/dist/AnswerModal-a2cyKFbt.js +3371 -0
- package/dist/AttachmentItem-DBUqckCS.js +171 -0
- package/dist/BaseUpload-DrWzuvbS.js +6503 -0
- package/dist/BlockMedia-DuE_K9hR.js +103 -0
- package/dist/CCallout-CM1VsH30.js +104 -0
- package/dist/{CCurrencyDropdown-CKRgncWy.js → CCurrencyDropdown-C_lAaq4P.js} +91 -53
- package/dist/CDropdownItem-DMUAJ90n.js +749 -0
- package/dist/CFormField.vue_vue_type_script_setup_true_lang-BqAyWe3T.js +292 -0
- package/dist/{CPhoneFormat-Bd-HZuYo.js → CPhoneFormat-Dnn_cKk7.js} +13 -21
- package/dist/CPhoneInput-DuGkDiv-.js +207 -0
- package/dist/CPriceInput-B7DYzKcF.js +142 -0
- package/dist/CSelect-BZZDr27O.js +98 -0
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-D2jDhnYI.js +51 -0
- package/dist/ClientAutocomplete-DuaJ5zDf.js +532 -0
- package/dist/ClientModal-CaMSjLkD.js +1188 -0
- package/dist/ColorPicker-BISZPQ6j.js +1408 -0
- package/dist/CompanyModal-ClTcmU4Y.js +250 -0
- package/dist/ContentWrapper-Bj7jbWU0.js +265 -0
- package/dist/CoverBlockSettings-AXyiLxrF.js +861 -0
- package/dist/DocAnswer-Bu09V33D.js +33 -0
- package/dist/DocDetails-B6-2LKsO.js +452 -0
- package/dist/DocForm-CFN8LWSd.js +6772 -0
- package/dist/DocFormSend-D1CUhy4n.js +171 -0
- package/dist/DocLinks-CuliFqtN.js +36 -0
- package/dist/DocModalBase-BxKsnwN-.js +29 -0
- package/dist/DocPrint-B_HJ_RET.js +399 -0
- package/dist/DocReceipt-D-A1TaTI.js +341 -0
- package/dist/DocSendReminder-BKTJonzh.js +181 -0
- package/dist/{DocTextEditor-DFid7uKr.js → DocTextEditor-CEPcJT2o.js} +7907 -5579
- package/dist/DocTimeline-CF9S4YDZ.js +537 -0
- package/dist/DocumentClient-7mbq2QA4.js +90 -0
- package/dist/DocumentLayout-DkFlHgW6.js +1434 -0
- package/dist/DocumentLogotype-BTYMdpNi.js +162 -0
- package/dist/DocumentVoided-CWr5WMUv.js +33 -0
- package/dist/EmbedInput-SevVEpwc.js +156 -0
- package/dist/EmbedSettings-YMbUmp1O.js +103 -0
- package/dist/ErrorCallout-CQo2iF9c.js +34 -0
- package/dist/FilePreviewModal-C0xBeoAz.js +202 -0
- package/dist/Flag-BObij6SN.js +41 -0
- package/dist/HeaderSettings-C77pR78n.js +720 -0
- package/dist/ImageSelectModal-DKdU-0uq.js +119 -0
- package/dist/ImageUploadWrapper-BGkS5Cll.js +1585 -0
- package/dist/Index-B3y-jq9s.js +1098 -0
- package/dist/Index-B41pUREi.js +47 -0
- package/dist/Index-BEyeS1OG.js +52 -0
- package/dist/Index-BG5j8ZFP.js +93 -0
- package/dist/Index-BOT65yQR.js +68 -0
- package/dist/Index-BQNl-cXP.js +28 -0
- package/dist/Index-BY6xsS7C.js +38 -0
- package/dist/Index-Bh0Xv5ry.js +163 -0
- package/dist/Index-Bn4FSQcx.js +228 -0
- package/dist/Index-BrRIAede.js +87 -0
- package/dist/Index-C-6um0kX.js +76 -0
- package/dist/{Index-EO0rsTmx.js → Index-C-gHa5xk.js} +319 -214
- package/dist/Index-C0wcjKCH.js +629 -0
- package/dist/Index-C6BbUFYw.js +160 -0
- package/dist/Index-C8xwJ0m1.js +200 -0
- package/dist/Index-CKgFEJF4.js +140 -0
- package/dist/{Index-CbYLDVU5.js → Index-CQwmu4f1.js} +47 -60
- package/dist/Index-CXchTpBa.js +74 -0
- package/dist/{Index-BzcZCdHj.js → Index-CYoRt8PA.js} +9 -17
- package/dist/Index-CZZNQ4q5.js +39 -0
- package/dist/Index-CkaAs5ms.js +136 -0
- package/dist/Index-CtpXaBz8.js +363 -0
- package/dist/Index-CxDsSGtZ.js +126 -0
- package/dist/Index-DFkTBm02.js +102 -0
- package/dist/Index-DP3ll8F-.js +70 -0
- package/dist/{Index-BdJbs8bM.js → Index-DPDzMKQa.js} +10 -18
- package/dist/Index-DvxSig3z.js +25 -0
- package/dist/Index-Dzrn3Y6p.js +16 -0
- package/dist/{Index-BWnh94_i.js → Index-LQb0omFE.js} +10 -18
- package/dist/Index-Mt4mSaNT.js +4 -0
- package/dist/Index-_xN_cczo.js +3477 -0
- package/dist/Index-gAz45qgR.js +21 -0
- package/dist/Index-xXLFalgR.js +49 -0
- package/dist/Index-zyZRPz3H.js +28 -0
- package/dist/Index.vue_vue_type_script_lang-Ddo1wo-D.js +671 -0
- package/dist/InputToggleRow-CokEYwm2.js +99 -0
- package/dist/ManualPopover-Dukly7GP.js +65 -0
- package/dist/MediaWrapper-B8msCrQm.js +18 -0
- package/dist/{NotBindingText-D8Blua5a.js → NotBindingText-DcQd8Eej.js} +13 -17
- package/dist/PackageGroup-clUIUoik.js +1060 -0
- package/dist/PdfTerms-DpzMVRfN.js +34 -0
- package/dist/PdfViewer-CSf4Rtbj.js +392 -0
- package/dist/PlainHtml.vue_vue_type_script_setup_true_lang-D6KSjjMA.js +17 -0
- package/dist/PriceHeader-Dyweu8aH.js +488 -0
- package/dist/{SearchApi-Bg9FwkW0.js → SearchApi-Y1fDQn0u.js} +37 -49
- package/dist/SendForm-B9l24WwR.js +6689 -0
- package/dist/Setup-DyzbPFM4.js +47 -0
- package/dist/{SmartList-DofjZjfy.js → SmartList-CWGKoAJh.js} +16 -24
- package/dist/Sortable.vue_vue_type_script_setup_true_lang-C2Gwp6Q-.js +1349 -0
- package/dist/{TermsSettings-B4glHd0I.js → TermsSettings-BeQH307A.js} +169 -56
- package/dist/ThemeColorRow-DFIsPy55.js +105 -0
- package/dist/ToggleBinding-DlH4y1IM.js +44 -0
- package/dist/UploadModal-BZ0mPBBB.js +134 -0
- package/dist/VideoPlayerInput-DBxcTUb7.js +134 -0
- package/dist/VideoPlayerSettings-Dg1OxjOa.js +78 -0
- package/dist/VideoSelectModal-BhbanMix.js +217 -0
- package/dist/{anime.es-BrPTThYb.js → anime.es-4wvNItHq.js} +205 -201
- package/dist/{color-TdtKxwVa.js → color-HetJPhlA.js} +1 -2
- package/dist/{dom-Ds4ypDrd.js → dom-CkTGWrfu.js} +3 -6
- package/dist/{focusDrawerMixin-DVCJIsb_.js → focusDrawerMixin-BVbTYOGr.js} +1 -1
- package/dist/{formDrawerState-BYsq1pB0.js → formDrawerState-CogZ-GVm.js} +2 -2
- package/dist/helpers-B4GUxtdD.js +46 -0
- package/dist/index-BZDey7B-.js +268 -0
- package/dist/index-Bd8_ZHHq.js +188 -0
- package/dist/index-BvyoYp1e.js +508 -0
- package/dist/index-CJZoubA3.js +3525 -0
- package/dist/index-D7yQWP4d.js +125 -0
- package/dist/index-D8hGHka6.js +513 -0
- package/dist/index-Dxy4tf7x.js +149 -0
- package/dist/index.es.js +2 -5
- package/dist/index.umd.js +303 -1486
- package/dist/main-Bn5XkQPb.js +57570 -0
- package/dist/mapFormMixin-C7FJLnbO.js +1528 -0
- package/dist/omit-DrWpFvRJ.js +56 -0
- package/dist/{publicSenderState-C4cIGu3m.js → publicSenderState-tdtCFPMx.js} +4 -4
- package/dist/splitpanes-BApidgjj.js +342 -0
- package/dist/template-CHdf2K2I.js +1572 -0
- package/dist/tippy.esm-Co6FYzEM.js +1994 -0
- package/dist/useTermsModal-VDnO1Lro.js +87 -0
- package/dist/{utils-CMs9ODO8.js → utils-DZkn0Q9c.js} +8 -11
- package/dist/validation-CqBkar3f.js +40 -0
- package/dist/widget.css +1 -0
- package/package.json +20 -25
- package/dist/AddClientCallout-TF4dWJwb.js +0 -48
- package/dist/AnswerModal-CLHDa2TD.js +0 -3879
- package/dist/AttachmentItem-ICP5nbhT.js +0 -85
- package/dist/BaseDatePicker-wwmiz_b5.js +0 -3187
- package/dist/BaseUpload-CDZOjohX.js +0 -1977
- package/dist/BlockMedia-D1JAYF9F.js +0 -76
- package/dist/CCallout-dAjcZXrm.js +0 -58
- package/dist/CDropdownItem-CkSNbSdj.js +0 -640
- package/dist/CFormField-Dw6UM1u6.js +0 -240
- package/dist/CPhoneInput-Dd6cJ4jg.js +0 -138
- package/dist/CPriceInput-CjV95s8E.js +0 -116
- package/dist/CSelect-izVnsQME.js +0 -91
- package/dist/CSkeleton-C0TjtLtY.js +0 -55
- package/dist/ClientAutocomplete-Cfu3abEx.js +0 -438
- package/dist/ClientModal-DjSoPQ9x.js +0 -666
- package/dist/ColorPicker-DZP6FIdn.js +0 -2879
- package/dist/CompanyModal-BYQWdbhG.js +0 -147
- package/dist/ContentWrapper-Bci9pSEp.js +0 -190
- package/dist/CoverBlockSettings-wD55bj3k.js +0 -659
- package/dist/DocAnswer-B5q-ntKP.js +0 -36
- package/dist/DocDetails-BQuaNZ4b.js +0 -263
- package/dist/DocForm-QzZ5wqsS.js +0 -5017
- package/dist/DocFormSend-CORtQPhb.js +0 -146
- package/dist/DocLinks-DZPzODUe.js +0 -38
- package/dist/DocModalBase-TTALjv6K.js +0 -28
- package/dist/DocPrint-BB-KT9ut.js +0 -240
- package/dist/DocReceipt-CGks1GLS.js +0 -217
- package/dist/DocSendReminder-BBQXJbsV.js +0 -140
- package/dist/DocTimeline-4jnYDmBI.js +0 -485
- package/dist/DocumentClient-BAAX7Dxk.js +0 -136
- package/dist/DocumentLayout-C4edCFmr.js +0 -4880
- package/dist/DocumentLogotype-i7YSQKcH.js +0 -92
- package/dist/DocumentVoided-BvZoMFB_.js +0 -25
- package/dist/EmbedInput-Bij7ER30.js +0 -117
- package/dist/EmbedSettings-D0oyq4-9.js +0 -74
- package/dist/ErrorCallout-CsW3WTZp.js +0 -27
- package/dist/FilePreviewModal-Doaawg0l.js +0 -81
- package/dist/Flag-C4Mf2xUU.js +0 -46
- package/dist/HeaderSettings-DwZ54IsK.js +0 -440
- package/dist/ImageSelectModal-ClFJ5uXM.js +0 -86
- package/dist/ImageUploadWrapper-DtEp_Pg3.js +0 -1604
- package/dist/Index-2MwnGZ_4.js +0 -25
- package/dist/Index-3CwdeytO.js +0 -107
- package/dist/Index-B-bSVOoh.js +0 -73
- package/dist/Index-BDyMp1ib.js +0 -643
- package/dist/Index-BMgtwHVA.js +0 -24
- package/dist/Index-BTD3hWbY.js +0 -54
- package/dist/Index-BUbd06rz.js +0 -144
- package/dist/Index-Bv2XrpgK.js +0 -25
- package/dist/Index-C00Ay-7P.js +0 -62
- package/dist/Index-CHL_6WQH.js +0 -66
- package/dist/Index-CLyNrkJA.js +0 -28
- package/dist/Index-CV57PvUE.js +0 -26
- package/dist/Index-Crj4apcP.js +0 -146
- package/dist/Index-CryBgLTa.js +0 -294
- package/dist/Index-Cv33nreP.js +0 -33
- package/dist/Index-D0ErQJ2M.js +0 -2445
- package/dist/Index-D8ZnVbsP.js +0 -32
- package/dist/Index-DPNIJewY.js +0 -56
- package/dist/Index-DVXhB0Ja.js +0 -58
- package/dist/Index-DWhQwxeB.js +0 -94
- package/dist/Index-DX7tomhl.js +0 -230
- package/dist/Index-D_AdmLWe.js +0 -41
- package/dist/Index-DgTQzlfK.js +0 -754
- package/dist/Index-DhapmO-4.js +0 -55
- package/dist/Index-DjC8joRt.js +0 -150
- package/dist/Index-Dv4l4LKF.js +0 -154
- package/dist/Index-TTFKPIIC.js +0 -84
- package/dist/Index-cT8oYfLR.js +0 -41
- package/dist/Index-igPwrQMu.js +0 -77
- package/dist/InputToggleRow-BgOubdXs.js +0 -57
- package/dist/ManualPopover-8suun-i9.js +0 -60
- package/dist/MediaWrapper-BadblLbS.js +0 -23
- package/dist/PackageGroup-BxmqH6qI.js +0 -704
- package/dist/PdfTerms-C6MRk0Ix.js +0 -31
- package/dist/PdfViewer-DUoiQx_1.js +0 -383
- package/dist/PlainHtml-DZ9V0Yuf.js +0 -27
- package/dist/PriceHeader-C3_CoKrL.js +0 -338
- package/dist/SendForm-D-OvqCee.js +0 -1023
- package/dist/Setup-CwK4er2y.js +0 -50
- package/dist/ThemeColorRow-BplIaxA2.js +0 -69
- package/dist/ToggleBinding-6ntt38Ye.js +0 -42
- package/dist/UploadModal-B6jQzsYA.js +0 -95
- package/dist/VideoPlayerInput-ryP77WC0.js +0 -97
- package/dist/VideoPlayerSettings-DJh0JNRI.js +0 -61
- package/dist/VideoSelectModal-8udQ394X.js +0 -104
- package/dist/answerDocumentMixin-CF4J_vsp.js +0 -51
- package/dist/debounce-CgyZi04Q.js +0 -84
- package/dist/formValidationMixin-Dq7aZhBk.js +0 -49
- package/dist/index-2Q8Ejpof.js +0 -167
- package/dist/index-B5-izJkt.js +0 -102
- package/dist/index-BQb6k0M8.js +0 -351
- package/dist/index-CR-KQfRE.js +0 -81
- package/dist/index-CogHiXWx.js +0 -2700
- package/dist/index-lZ1sSNWc.js +0 -492
- package/dist/main-BpqUyMpC.js +0 -57349
- package/dist/mapFormMixin-rxtAFyFK.js +0 -3028
- package/dist/omit-C7FeydiO.js +0 -31
- package/dist/simplebar.min-Dm388s-3.js +0 -71
- package/dist/splitpanes-BHUVsCZF.js +0 -382
- package/dist/style.css +0 -4
- package/dist/throttle-CfcsX8nA.js +0 -18
- package/dist/tippy.esm-C9mV-Rzr.js +0 -1805
- package/dist/vuedraggable.umd-CChGnToh.js +0 -3161
- package/dist/vuex.esm-DKGl8mcw.js +0 -467
package/dist/Index-D8ZnVbsP.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
-
import { n as t } from "./main-BpqUyMpC.js";
|
|
3
|
-
const a = {
|
|
4
|
-
name: "ExtraWorkConstructionPricingList",
|
|
5
|
-
components: {
|
|
6
|
-
Read: () => import("./Index-CbYLDVU5.js"),
|
|
7
|
-
Edit: () => import("./Index-B-bSVOoh.js")
|
|
8
|
-
},
|
|
9
|
-
mixins: [
|
|
10
|
-
n([
|
|
11
|
-
"workPrice",
|
|
12
|
-
"managementPrice",
|
|
13
|
-
"entrepreneurMarkupPercentage",
|
|
14
|
-
"miscMarkupPercentage"
|
|
15
|
-
])
|
|
16
|
-
]
|
|
17
|
-
};
|
|
18
|
-
var c = function() {
|
|
19
|
-
var e = this, r = e._self._c;
|
|
20
|
-
return e.canEdit ? r("Edit", e._g({ attrs: { _document: e._document, _value: e._value } }, e.$listeners)) : r("Read", { attrs: { _document: e._document, "work-price": e.workPrice, "management-price": e.managementPrice, "entrepreneur-markup-percentage": e.entrepreneurMarkupPercentage, "misc-markup-percentage": e.miscMarkupPercentage } });
|
|
21
|
-
}, m = [], i = /* @__PURE__ */ t(
|
|
22
|
-
a,
|
|
23
|
-
c,
|
|
24
|
-
m,
|
|
25
|
-
!1,
|
|
26
|
-
null,
|
|
27
|
-
"b31d846d"
|
|
28
|
-
);
|
|
29
|
-
const _ = i.exports;
|
|
30
|
-
export {
|
|
31
|
-
_ as default
|
|
32
|
-
};
|
package/dist/Index-DPNIJewY.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
-
import { I as i } from "./InputToggleRow-BgOubdXs.js";
|
|
3
|
-
import { C as a } from "./CSelect-izVnsQME.js";
|
|
4
|
-
import { n as m } from "./main-BpqUyMpC.js";
|
|
5
|
-
const l = {
|
|
6
|
-
i18nOptions: {
|
|
7
|
-
namespaces: "estimatedTimeToCompleteText",
|
|
8
|
-
messages: {
|
|
9
|
-
en: {
|
|
10
|
-
label: "Time to complete work",
|
|
11
|
-
placeholder: "Time unit"
|
|
12
|
-
},
|
|
13
|
-
sv: {
|
|
14
|
-
label: "Tid för att klargöra arbetet",
|
|
15
|
-
placeholder: "Tidsenhet"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
name: "EstimatedTimeToCompleteEdit",
|
|
20
|
-
components: {
|
|
21
|
-
InputToggleRow: i,
|
|
22
|
-
CSelect: a
|
|
23
|
-
},
|
|
24
|
-
mixins: [
|
|
25
|
-
o(["timeUnit"]),
|
|
26
|
-
o(["noOfTimeUnits"], { type: "number" })
|
|
27
|
-
],
|
|
28
|
-
created() {
|
|
29
|
-
this.timeUnit || (this.timeUnit = "day");
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
var s = function() {
|
|
33
|
-
var t = this, e = t._self._c;
|
|
34
|
-
return e("InputToggleRow", { attrs: { "display-value": t.noOfTimeUnits && t.timeUnit ? `${t.noOfTimeUnits} ${t.$t(`_common:${t.timeUnit}`, {
|
|
35
|
-
count: t.noOfTimeUnits
|
|
36
|
-
})}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.noOfTimeUnits && t.timeUnit) }, on: { remove: function(n) {
|
|
37
|
-
t.noOfTimeUnits = null;
|
|
38
|
-
} } }, [e("CInput", { staticStyle: { width: "calc(15 * var(--rem))" }, attrs: { type: "number" }, scopedSlots: t._u([{ key: "append", fn: function() {
|
|
39
|
-
return [e("CSelect", { staticClass: "select-width plain", staticStyle: { width: "120px" }, attrs: { placeholder: t.$t("placeholder") }, model: { value: t.timeUnit, callback: function(n) {
|
|
40
|
-
t.timeUnit = n;
|
|
41
|
-
}, expression: "timeUnit" } }, [e("option", { attrs: { value: "hour" } }, [t._v(t._s(t.$t("_common:hour_plural")))]), e("option", { attrs: { value: "day" } }, [t._v(t._s(t.$t("_common:day_plural")))]), e("option", { attrs: { value: "week" } }, [t._v(t._s(t.$t("_common:week_plural")))]), e("option", { attrs: { value: "month" } }, [t._v(t._s(t.$t("_common:month_plural")))])])];
|
|
42
|
-
}, proxy: !0 }]), model: { value: t.noOfTimeUnits, callback: function(n) {
|
|
43
|
-
t.noOfTimeUnits = t._n(n);
|
|
44
|
-
}, expression: "noOfTimeUnits" } })], 1);
|
|
45
|
-
}, r = [], c = /* @__PURE__ */ m(
|
|
46
|
-
l,
|
|
47
|
-
s,
|
|
48
|
-
r,
|
|
49
|
-
!1,
|
|
50
|
-
null,
|
|
51
|
-
null
|
|
52
|
-
);
|
|
53
|
-
const v = c.exports;
|
|
54
|
-
export {
|
|
55
|
-
v as default
|
|
56
|
-
};
|
package/dist/Index-DVXhB0Ja.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
-
import { I as n } from "./InputToggleRow-BgOubdXs.js";
|
|
3
|
-
import { B as s } from "./BaseDatePicker-wwmiz_b5.js";
|
|
4
|
-
import { n as l } from "./main-BpqUyMpC.js";
|
|
5
|
-
const c = {
|
|
6
|
-
i18nOptions: {
|
|
7
|
-
namespaces: "estimatedTimeStartEnd",
|
|
8
|
-
messages: {
|
|
9
|
-
en: {
|
|
10
|
-
title: "Start and end date",
|
|
11
|
-
label: "Work start and ends",
|
|
12
|
-
placeholders: {
|
|
13
|
-
start: "Start date",
|
|
14
|
-
end: "End date"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
sv: {
|
|
18
|
-
title: "Start- och slutdatum",
|
|
19
|
-
label: "Arbetet påbörjas och avslutas",
|
|
20
|
-
placeholders: {
|
|
21
|
-
start: "Startdatum",
|
|
22
|
-
end: "Slutdatum"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
name: "EstimatedWorkStartAndEndAtTextEdit",
|
|
28
|
-
components: {
|
|
29
|
-
InputToggleRow: n,
|
|
30
|
-
BaseDatePicker: s
|
|
31
|
-
},
|
|
32
|
-
mixins: [r(["startAt", "endAt"])]
|
|
33
|
-
};
|
|
34
|
-
var i = function() {
|
|
35
|
-
var t = this, a = t._self._c;
|
|
36
|
-
return a("InputToggleRow", { attrs: { "display-value": t.startAt && t.endAt ? `${t.$formatDate(t.startAt)} → ${t.$formatDate(t.endAt)}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.startAt && t.endAt) }, on: { remove: function(e) {
|
|
37
|
-
t.startAt = null, t.endAt = null;
|
|
38
|
-
} } }, [a("div", { staticStyle: { display: "inline-flex" } }, [a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { placeholder: t.$t("placeholders.start") }, on: { click: function(e) {
|
|
39
|
-
e.preventDefault();
|
|
40
|
-
} }, model: { value: t.startAt, callback: function(e) {
|
|
41
|
-
t.startAt = e;
|
|
42
|
-
}, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, [t._v(" → ")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
|
|
43
|
-
e.preventDefault();
|
|
44
|
-
} }, model: { value: t.endAt, callback: function(e) {
|
|
45
|
-
t.endAt = e;
|
|
46
|
-
}, expression: "endAt" } })], 1)]);
|
|
47
|
-
}, o = [], d = /* @__PURE__ */ l(
|
|
48
|
-
c,
|
|
49
|
-
i,
|
|
50
|
-
o,
|
|
51
|
-
!1,
|
|
52
|
-
null,
|
|
53
|
-
null
|
|
54
|
-
);
|
|
55
|
-
const A = d.exports;
|
|
56
|
-
export {
|
|
57
|
-
A as default
|
|
58
|
-
};
|
package/dist/Index-DWhQwxeB.js
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
-
import { f as a } from "./focusDrawerMixin-DVCJIsb_.js";
|
|
3
|
-
import { g as r } from "./utils-CMs9ODO8.js";
|
|
4
|
-
import { n } from "./main-BpqUyMpC.js";
|
|
5
|
-
const d = {
|
|
6
|
-
name: "VideoPlayer",
|
|
7
|
-
i18nOptions: {
|
|
8
|
-
namespaces: "components",
|
|
9
|
-
keyPrefix: "document.videoPlayer"
|
|
10
|
-
},
|
|
11
|
-
components: {
|
|
12
|
-
VideoPlayerSettings: () => import("./VideoPlayerSettings-DJh0JNRI.js"),
|
|
13
|
-
VideoPlayerInput: () => import("./VideoPlayerInput-ryP77WC0.js")
|
|
14
|
-
},
|
|
15
|
-
mixins: [o(["videoPlayer"]), a],
|
|
16
|
-
data() {
|
|
17
|
-
return {
|
|
18
|
-
showControls: !1,
|
|
19
|
-
aspectRatio: null,
|
|
20
|
-
sizes: {
|
|
21
|
-
small: 600,
|
|
22
|
-
medium: 1e3,
|
|
23
|
-
large: 1e3
|
|
24
|
-
},
|
|
25
|
-
// defaults to 16:9 aspect ratio
|
|
26
|
-
videoSize: {
|
|
27
|
-
width: 480,
|
|
28
|
-
height: 270
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
video() {
|
|
34
|
-
var t;
|
|
35
|
-
return ((t = this.videoPlayer) == null ? void 0 : t.video) || {};
|
|
36
|
-
},
|
|
37
|
-
size() {
|
|
38
|
-
var t;
|
|
39
|
-
return ((t = this.videoPlayer) == null ? void 0 : t.size) || "medium";
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
watch: {
|
|
43
|
-
video: {
|
|
44
|
-
immediate: !0,
|
|
45
|
-
async handler(t) {
|
|
46
|
-
if (!t || !t.url)
|
|
47
|
-
return;
|
|
48
|
-
let { width: e, height: i } = t;
|
|
49
|
-
(!e || !i) && ({ width: e, height: i } = await r(t.url) || {}), this.videoSize = { width: e, height: i }, this.setAspectRatio();
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
size() {
|
|
53
|
-
this.setAspectRatio();
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
methods: {
|
|
57
|
-
setValue({ key: t, value: e }) {
|
|
58
|
-
this.videoPlayer = {
|
|
59
|
-
...this.videoPlayer,
|
|
60
|
-
[t]: e
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
setAspectRatio() {
|
|
64
|
-
!this.videoSize.width || !this.videoSize.height || (this.aspectRatio = `${Math.round(
|
|
65
|
-
100 * this.videoSize.height / this.videoSize.width
|
|
66
|
-
)}%`);
|
|
67
|
-
},
|
|
68
|
-
onAdd() {
|
|
69
|
-
var t;
|
|
70
|
-
this._isNodeRecentlyAdded() && ((t = this.$refs.input) == null || t.focus());
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
var l = function() {
|
|
75
|
-
var e = this, i = e._self._c;
|
|
76
|
-
return i("div", { staticClass: "video-root font-inter", on: { "&mouseover": function(s) {
|
|
77
|
-
e.showControls = !0;
|
|
78
|
-
}, "&mouseleave": function(s) {
|
|
79
|
-
e.showControls = !1;
|
|
80
|
-
} } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(s) {
|
|
81
|
-
return e.setValue({ key: "video", value: s });
|
|
82
|
-
}, "hook:mounted": e.onAdd } })], 1)]) : i("iframe", { ref: "iframe", staticClass: "video-element", attrs: { title: "Video", src: e.video.url, frameborder: "0", allowfullscreen: "" } })])]), e.isForm ? [e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
|
|
83
|
-
}, c = [], m = /* @__PURE__ */ n(
|
|
84
|
-
d,
|
|
85
|
-
l,
|
|
86
|
-
c,
|
|
87
|
-
!1,
|
|
88
|
-
null,
|
|
89
|
-
"a0759f45"
|
|
90
|
-
);
|
|
91
|
-
const f = m.exports;
|
|
92
|
-
export {
|
|
93
|
-
f as default
|
|
94
|
-
};
|
package/dist/Index-DX7tomhl.js
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
-
import { C as b } from "./CCallout-dAjcZXrm.js";
|
|
3
|
-
import { C as $, a as w } from "./CDropdownItem-CkSNbSdj.js";
|
|
4
|
-
import { n as _, b as h } from "./main-BpqUyMpC.js";
|
|
5
|
-
import { C as k } from "./CPhoneFormat-Bd-HZuYo.js";
|
|
6
|
-
const x = {
|
|
7
|
-
name: "DocPartiesItem",
|
|
8
|
-
components: {
|
|
9
|
-
CPhoneFormat: k
|
|
10
|
-
},
|
|
11
|
-
props: {
|
|
12
|
-
label: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: !0
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
type: [String, Object],
|
|
18
|
-
required: !0
|
|
19
|
-
},
|
|
20
|
-
type: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
canEdit: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !1
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var S = function() {
|
|
31
|
-
var e = this, t = e._self._c;
|
|
32
|
-
return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
|
|
33
|
-
"is-editable": e.canEdit
|
|
34
|
-
} }, [t("span", { on: { click: function(a) {
|
|
35
|
-
return e.$emit("click");
|
|
36
|
-
} } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
|
|
37
|
-
}, F = [], I = /* @__PURE__ */ _(
|
|
38
|
-
x,
|
|
39
|
-
S,
|
|
40
|
-
F,
|
|
41
|
-
!1,
|
|
42
|
-
null,
|
|
43
|
-
"9bad68ca"
|
|
44
|
-
);
|
|
45
|
-
const D = I.exports, P = {
|
|
46
|
-
client: () => import("./ClientModal-DjSoPQ9x.js").then((n) => n.b),
|
|
47
|
-
company: () => import("./CompanyModal-BYQWdbhG.js")
|
|
48
|
-
}, M = {
|
|
49
|
-
i18nOptions: {
|
|
50
|
-
namespaces: "components"
|
|
51
|
-
},
|
|
52
|
-
name: "DocParties",
|
|
53
|
-
components: {
|
|
54
|
-
DocPartiesItem: D,
|
|
55
|
-
CCallout: b,
|
|
56
|
-
CDropdown: $,
|
|
57
|
-
CDropdownItem: w,
|
|
58
|
-
AddClientCallout: () => import("./AddClientCallout-TF4dWJwb.js")
|
|
59
|
-
},
|
|
60
|
-
mixins: [C()],
|
|
61
|
-
props: {
|
|
62
|
-
// todo: atm custom behaviour for path 'data.sender' through doc-class
|
|
63
|
-
parties: {
|
|
64
|
-
type: [Array, Object],
|
|
65
|
-
default: () => []
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
data() {
|
|
69
|
-
return {
|
|
70
|
-
type: "client",
|
|
71
|
-
hoverIndex: null
|
|
72
|
-
};
|
|
73
|
-
},
|
|
74
|
-
computed: {
|
|
75
|
-
mappedParties() {
|
|
76
|
-
const n = (t, a = {}) => this._document.$t(t, { postProcess: "capitalize", ...a });
|
|
77
|
-
return (Array.isArray(this.parties) ? this.parties : [this.parties]).map((t) => {
|
|
78
|
-
const {
|
|
79
|
-
orgNo: a,
|
|
80
|
-
socialNo: i,
|
|
81
|
-
companyName: o,
|
|
82
|
-
name: r,
|
|
83
|
-
type: d,
|
|
84
|
-
cellphone: m,
|
|
85
|
-
cellphoneRegion: y,
|
|
86
|
-
email: u,
|
|
87
|
-
addresses: l,
|
|
88
|
-
hasFSkatt: v,
|
|
89
|
-
hasInsurance: f
|
|
90
|
-
} = t, c = d === "individual", s = l && (l.standard || l.work);
|
|
91
|
-
s && (s.formKey = l.standard ? "street" : "workStreet");
|
|
92
|
-
const g = [
|
|
93
|
-
o && {
|
|
94
|
-
label: n("company"),
|
|
95
|
-
value: o,
|
|
96
|
-
formKey: "name"
|
|
97
|
-
},
|
|
98
|
-
a && {
|
|
99
|
-
label: n("orgNoShort"),
|
|
100
|
-
value: a,
|
|
101
|
-
formKey: "orgNo"
|
|
102
|
-
},
|
|
103
|
-
r && {
|
|
104
|
-
label: n(c ? "name" : "reference"),
|
|
105
|
-
value: r,
|
|
106
|
-
formKey: c ? "name" : "reference"
|
|
107
|
-
},
|
|
108
|
-
i && c && {
|
|
109
|
-
label: n("socialNo"),
|
|
110
|
-
value: i,
|
|
111
|
-
formKey: "orgNo"
|
|
112
|
-
},
|
|
113
|
-
u && {
|
|
114
|
-
label: n("email"),
|
|
115
|
-
value: u,
|
|
116
|
-
formKey: "email"
|
|
117
|
-
},
|
|
118
|
-
m && {
|
|
119
|
-
label: n("phone"),
|
|
120
|
-
type: "phone",
|
|
121
|
-
value: {
|
|
122
|
-
cellphone: m,
|
|
123
|
-
region: y || h(this._document, "sender.company.region", "")
|
|
124
|
-
},
|
|
125
|
-
formKey: "cellphone"
|
|
126
|
-
},
|
|
127
|
-
s && {
|
|
128
|
-
label: n("address"),
|
|
129
|
-
value: this.parseStreet(s.street, s.city, s.zip),
|
|
130
|
-
formKey: s.formKey
|
|
131
|
-
}
|
|
132
|
-
], p = [];
|
|
133
|
-
return v && p.push({
|
|
134
|
-
label: this._document.$t("chapters.parties.fTax"),
|
|
135
|
-
value: v
|
|
136
|
-
}), f && p.push({
|
|
137
|
-
label: this._document.$t("chapters.parties.allRiskAndLiability"),
|
|
138
|
-
value: f
|
|
139
|
-
}), {
|
|
140
|
-
main: g,
|
|
141
|
-
checks: p
|
|
142
|
-
};
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
created() {
|
|
147
|
-
h(this, "_value.parties", "") !== "clients" && (this.type = "company");
|
|
148
|
-
},
|
|
149
|
-
methods: {
|
|
150
|
-
openModal({ formKey: n, index: e } = {}) {
|
|
151
|
-
var i;
|
|
152
|
-
let t = "name", a = !1;
|
|
153
|
-
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(P[this.type], {
|
|
154
|
-
inputFocusOnMount: t,
|
|
155
|
-
forceExpand: a,
|
|
156
|
-
documentClientIndex: e,
|
|
157
|
-
signOptions: (i = this._document) == null ? void 0 : i.signOptions,
|
|
158
|
-
setFormValue: this.viewSettings.setFormValue,
|
|
159
|
-
removeFormValue: this.viewSettings.removeFormValue,
|
|
160
|
-
isPublicForm: this.viewSettings.isPublicForm
|
|
161
|
-
});
|
|
162
|
-
},
|
|
163
|
-
removeClient(n) {
|
|
164
|
-
this.parties[n] && this.removeField(`clients[${n}]`);
|
|
165
|
-
},
|
|
166
|
-
parseStreet(n, e, t) {
|
|
167
|
-
let a = "";
|
|
168
|
-
return n && (a += n), n && (t || e) && (a += ", "), t && (a += ` ${t}`), e && (a += ` ${e}`), a;
|
|
169
|
-
},
|
|
170
|
-
searchEndCustomers(n, e) {
|
|
171
|
-
n({
|
|
172
|
-
q: e,
|
|
173
|
-
cb: ({ endCustomer: t }) => {
|
|
174
|
-
this.results = t;
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
},
|
|
178
|
-
setClient(n) {
|
|
179
|
-
this.$emit("input", {
|
|
180
|
-
key: `clients[${this.parties.length}]`,
|
|
181
|
-
value: n
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
var z = function() {
|
|
187
|
-
var e = this, t = e._self._c;
|
|
188
|
-
return t("div", { staticStyle: { position: "relative" } }, [e.viewSettings.canEdit ? t("div", { staticClass: "edit-button" }, [e.type === "company" ? t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e.parties.length && e.type === "client" ? t("CDropdown", { ref: "dropdown", attrs: { position: "is-bottom-left" }, scopedSlots: e._u([{ key: "trigger", fn: function() {
|
|
189
|
-
return [t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" } }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")])];
|
|
190
|
-
}, proxy: !0 }], null, !1, 2768188015) }, [t("CDropdownItem", { attrs: { "icon-props": {
|
|
191
|
-
class: "text-primary-500"
|
|
192
|
-
}, "icon-left": "plus-circle" }, on: { click: function(a) {
|
|
193
|
-
return e.openModal({ index: e.parties.length });
|
|
194
|
-
} } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, i) {
|
|
195
|
-
return t("CDropdownItem", { key: i, attrs: { "icon-props": {
|
|
196
|
-
class: "text-gray-400"
|
|
197
|
-
}, "icon-left": "edit" }, on: { click: function(o) {
|
|
198
|
-
return e.openModal({ index: i });
|
|
199
|
-
} } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
|
|
200
|
-
})], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
|
|
201
|
-
return e.openModal({ index: e.parties.length });
|
|
202
|
-
}, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(a, i) {
|
|
203
|
-
return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
|
|
204
|
-
e.hoverIndex = i;
|
|
205
|
-
}, "&mouseleave": function(o) {
|
|
206
|
-
e.hoverIndex = null;
|
|
207
|
-
} } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === i ? t("div", { staticClass: "controls", staticStyle: { position: "absolute", left: "100%", top: "0", "padding-left": "calc(0.5 * var(--rem))" } }, [t("CButton", { attrs: { circle: "", size: "small", icon: "edit", type: "none", pattern: "tertiary" }, on: { click: function(o) {
|
|
208
|
-
return e.openModal({ index: i });
|
|
209
|
-
} } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(o) {
|
|
210
|
-
return e.removeClient(i);
|
|
211
|
-
} } })], 1) : e._e(), e._l(a.main, function(o, r) {
|
|
212
|
-
return [o ? t("DocPartiesItem", { key: r, attrs: { label: o.label, data: o.value, type: o.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
|
|
213
|
-
e.viewSettings.canEdit && e.openModal({ formKey: o.formKey, index: i });
|
|
214
|
-
} } }) : e._e()];
|
|
215
|
-
}), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(o, r) {
|
|
216
|
-
return t("div", { key: r, staticClass: "check-text" }, [t("svg", { attrs: { width: "11", height: "11", viewBox: "0 0 218 185", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { staticClass: "primary-svg-fill", attrs: { d: "M217.931476 30.821773L180.506583.515692 85.82601 117.436462 29.993388 72.224097.068524 109.178227l93.257515 75.518447z", fill: "#D8D8D8", "fill-rule": "evenodd" } })]), t("div", [e._v(e._s(o.label))])]);
|
|
217
|
-
}), 0) : e._e()], 2);
|
|
218
|
-
})], 2);
|
|
219
|
-
}, E = [], K = /* @__PURE__ */ _(
|
|
220
|
-
M,
|
|
221
|
-
z,
|
|
222
|
-
E,
|
|
223
|
-
!1,
|
|
224
|
-
null,
|
|
225
|
-
"6051fd15"
|
|
226
|
-
);
|
|
227
|
-
const V = K.exports;
|
|
228
|
-
export {
|
|
229
|
-
V as default
|
|
230
|
-
};
|
package/dist/Index-D_AdmLWe.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { m as s } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
-
import { T as a } from "./DocTextEditor-DFid7uKr.js";
|
|
3
|
-
import { H as i, J as c, K as r, n as m } from "./main-BpqUyMpC.js";
|
|
4
|
-
const l = {
|
|
5
|
-
name: "TextContent",
|
|
6
|
-
components: {
|
|
7
|
-
TextEditor: a
|
|
8
|
-
},
|
|
9
|
-
mixins: [s(["content"])],
|
|
10
|
-
computed: {
|
|
11
|
-
value: {
|
|
12
|
-
get() {
|
|
13
|
-
return this.canEdit ? i(
|
|
14
|
-
this.content,
|
|
15
|
-
this._document.textTemplateMap,
|
|
16
|
-
this._document._doc
|
|
17
|
-
) : c(this.content, this._document._doc);
|
|
18
|
-
},
|
|
19
|
-
set(e) {
|
|
20
|
-
this.content = r(e);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var u = function() {
|
|
26
|
-
var t = this, n = t._self._c;
|
|
27
|
-
return n("div", { staticClass: "quill-format", staticStyle: { "font-size": "16px" } }, [n("TextEditor", { ref: "textEditor", staticClass: "text-editor", staticStyle: { "margin-bottom": "1em" }, attrs: { placeholder: t.$t("components:account.documentForm.titleAndText.text"), mentions: () => t._document.textTemplateItems, snippets: !0, "is-absolute": !0 }, model: { value: t.value, callback: function(o) {
|
|
28
|
-
t.value = o;
|
|
29
|
-
}, expression: "value" } })], 1);
|
|
30
|
-
}, d = [], p = /* @__PURE__ */ m(
|
|
31
|
-
l,
|
|
32
|
-
u,
|
|
33
|
-
d,
|
|
34
|
-
!1,
|
|
35
|
-
null,
|
|
36
|
-
"4df272c3"
|
|
37
|
-
);
|
|
38
|
-
const h = p.exports;
|
|
39
|
-
export {
|
|
40
|
-
h as default
|
|
41
|
-
};
|