@cling-se/widget 0.17.3 → 0.18.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/CHANGELOG.md +24 -0
- package/dist/AddClientCallout-CCt78VvH.js +101 -0
- package/dist/AnswerModal-B4LwVv2N.js +3371 -0
- package/dist/AttachmentItem-DnvYffKP.js +171 -0
- package/dist/BaseUpload-DFoV0ZLe.js +6503 -0
- package/dist/BlockMedia-Amo_kdHo.js +103 -0
- package/dist/CCallout-Gd06ds6O.js +104 -0
- package/dist/{CCurrencyDropdown-CXXQu8th.js → CCurrencyDropdown-B4GNmOGA.js} +91 -53
- package/dist/CDropdownItem-BUNVCpSR.js +749 -0
- package/dist/CFormField.vue_vue_type_script_setup_true_lang-Bo2J0c4G.js +292 -0
- package/dist/{CPhoneFormat-BtBGl8b4.js → CPhoneFormat-DmN5r9Ci.js} +13 -21
- package/dist/CPhoneInput-B6iyhsOG.js +207 -0
- package/dist/CPriceInput-BLQaNu1d.js +142 -0
- package/dist/CSelect-BVO9iO9L.js +98 -0
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-C9loRtrk.js +51 -0
- package/dist/ClientAutocomplete-C__yUaxD.js +532 -0
- package/dist/ClientModal-B9cbuEiC.js +1188 -0
- package/dist/ColorPicker-G2kkxL7_.js +1408 -0
- package/dist/CompanyModal-por9AG4P.js +250 -0
- package/dist/ContentWrapper-CQtaGA2u.js +265 -0
- package/dist/CoverBlockSettings-BCBDouyl.js +861 -0
- package/dist/DocAnswer-BrKctwrY.js +33 -0
- package/dist/DocDetails-B_LWVHGt.js +452 -0
- package/dist/DocForm-D6T7NmfO.js +6772 -0
- package/dist/DocFormSend-COYPrhl7.js +171 -0
- package/dist/DocLinks-B0LjxXIk.js +36 -0
- package/dist/DocModalBase-DObZHuYr.js +29 -0
- package/dist/DocPrint-CkDq78fB.js +399 -0
- package/dist/DocReceipt-CYBPyePC.js +341 -0
- package/dist/DocSendReminder-Dau6s43e.js +181 -0
- package/dist/{DocTextEditor-yD9Dt_um.js → DocTextEditor-CVn6gE1i.js} +7907 -5579
- package/dist/DocTimeline-ChBDPOfd.js +537 -0
- package/dist/DocumentClient-MLXzzXLb.js +90 -0
- package/dist/DocumentLayout-BMHOt380.js +1434 -0
- package/dist/DocumentLogotype-Clj3fopX.js +162 -0
- package/dist/DocumentVoided-B5_MSBbC.js +33 -0
- package/dist/EmbedInput-CzkOa02p.js +156 -0
- package/dist/EmbedSettings-Cf_F3KrM.js +103 -0
- package/dist/ErrorCallout-CJn6NCse.js +34 -0
- package/dist/FilePreviewModal-Di1VnPNY.js +202 -0
- package/dist/Flag-C4_G5IY1.js +41 -0
- package/dist/HeaderSettings-DWN0TjVD.js +720 -0
- package/dist/ImageSelectModal-DmAJ9PrN.js +119 -0
- package/dist/ImageUploadWrapper-QLEhA_dI.js +1585 -0
- package/dist/Index-B06eCuBA.js +76 -0
- package/dist/Index-B8Zj0-MX.js +87 -0
- package/dist/{Index-C_aIQ908.js → Index-BBBXL4zh.js} +319 -214
- package/dist/Index-BCHLxp7B.js +21 -0
- package/dist/Index-BDAp1CwZ.js +363 -0
- package/dist/Index-BFbcjFo4.js +16 -0
- package/dist/{Index-CRiATiQn.js → Index-BODJXJNp.js} +10 -18
- package/dist/Index-BOx_9tTM.js +136 -0
- package/dist/Index-BgZNiD7A.js +47 -0
- package/dist/Index-Bt97lEsI.js +228 -0
- package/dist/Index-C9aBeBBk.js +70 -0
- package/dist/Index-CE3pWPzp.js +49 -0
- package/dist/Index-CMdPSsp4.js +38 -0
- package/dist/Index-CNhBDG2e.js +126 -0
- package/dist/Index-CdsOdgG2.js +28 -0
- package/dist/{Index-Ch9r5yhG.js → Index-CmxFh3dW.js} +9 -17
- package/dist/Index-CpxzwwQS.js +52 -0
- package/dist/Index-CxTwWRD9.js +93 -0
- package/dist/Index-D9WFWlE6.js +140 -0
- package/dist/Index-D9bulLeI.js +39 -0
- package/dist/{Index-RWMPRDAE.js → Index-DL_9LzoR.js} +10 -18
- package/dist/Index-DR-sGE3Y.js +25 -0
- package/dist/Index-DRoOW5Pn.js +163 -0
- package/dist/Index-DTn47-hP.js +74 -0
- package/dist/Index-DeGDlj0B.js +68 -0
- package/dist/Index-DhYYK4bK.js +28 -0
- package/dist/Index-Dssdb-0Z.js +629 -0
- package/dist/Index-OcBnU480.js +200 -0
- package/dist/Index-Qh_8JqAv.js +3477 -0
- package/dist/Index-W10PQb8i.js +102 -0
- package/dist/Index-lbWFEELM.js +4 -0
- package/dist/Index-qFAg7VVU.js +1098 -0
- package/dist/Index-rDndJKo1.js +160 -0
- package/dist/{Index-Dfq7egc1.js → Index-s-6Qh_NE.js} +47 -60
- package/dist/Index.vue_vue_type_script_lang-CriDqp1F.js +671 -0
- package/dist/InputToggleRow-DJarYsVL.js +99 -0
- package/dist/ManualPopover-BMrkEHtV.js +65 -0
- package/dist/MediaWrapper-BYdVpmov.js +18 -0
- package/dist/{NotBindingText-CC7TxUqg.js → NotBindingText-DGjJoN8-.js} +13 -17
- package/dist/PackageGroup-q7_oBOqw.js +1060 -0
- package/dist/PdfTerms-DBEClYQ5.js +34 -0
- package/dist/PdfViewer-C_y5sqXB.js +392 -0
- package/dist/PlainHtml.vue_vue_type_script_setup_true_lang-D5ZLw34T.js +17 -0
- package/dist/PriceHeader-BSwv3mzc.js +488 -0
- package/dist/{SearchApi-G2Hvp0Dd.js → SearchApi-BM6TTqxW.js} +37 -49
- package/dist/SendForm-DfmBbhp9.js +6689 -0
- package/dist/Setup-BC1feKr_.js +47 -0
- package/dist/{SmartList-BynTuXtB.js → SmartList-B3pgsg4S.js} +16 -24
- package/dist/Sortable.vue_vue_type_script_setup_true_lang-YOP-Y07m.js +1349 -0
- package/dist/{TermsSettings-cA5YAO77.js → TermsSettings-DEkACrRU.js} +169 -56
- package/dist/ThemeColorRow-qG8Dkkyj.js +105 -0
- package/dist/ToggleBinding-Cdtl_-1s.js +44 -0
- package/dist/UploadModal-1OWPRxA5.js +134 -0
- package/dist/VideoPlayerInput-DgFNjiKK.js +134 -0
- package/dist/VideoPlayerSettings-CFuA-7RC.js +78 -0
- package/dist/VideoSelectModal-CSv67eA8.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-CximZA1J.js → focusDrawerMixin-r-OZchfV.js} +1 -1
- package/dist/{formDrawerState-CkNGdxn5.js → formDrawerState-COVczNhJ.js} +2 -2
- package/dist/helpers-ChwW54Ex.js +46 -0
- package/dist/index-BMZle8Ew.js +513 -0
- package/dist/index-Bf-fiKJf.js +268 -0
- package/dist/index-Bg4JRi5S.js +125 -0
- package/dist/index-C7chK2UD.js +3525 -0
- package/dist/index-CR52qIBO.js +149 -0
- package/dist/index-D1x9O_nJ.js +188 -0
- package/dist/index-YFcPqc9m.js +508 -0
- package/dist/index.es.js +2 -5
- package/dist/index.umd.js +303 -1486
- package/dist/main-DI0diChK.js +57570 -0
- package/dist/mapFormMixin-Cgvwie9a.js +1528 -0
- package/dist/omit-DpjD7Dj9.js +56 -0
- package/dist/{publicSenderState-CGEm9EYe.js → publicSenderState-BcjNldje.js} +4 -4
- package/dist/splitpanes-BypKTSRL.js +342 -0
- package/dist/template-Dzexob5I.js +1572 -0
- package/dist/tippy.esm-0UMN6kWf.js +1994 -0
- package/dist/useTermsModal-DzH_PDFP.js +87 -0
- package/dist/{utils-Dr4AcaE9.js → utils--kBYCNZD.js} +8 -11
- package/dist/validation-B-omH73u.js +40 -0
- package/dist/widget.css +1 -0
- package/package.json +20 -25
- package/dist/AddClientCallout-Br6IhwGH.js +0 -48
- package/dist/AnswerModal-CsWltR6j.js +0 -3879
- package/dist/AttachmentItem-BG7FuSCD.js +0 -85
- package/dist/BaseDatePicker-PSNBtUIh.js +0 -3187
- package/dist/BaseUpload-BfEurAAV.js +0 -1977
- package/dist/BlockMedia-Bo3OfNSU.js +0 -76
- package/dist/CCallout-CAjM8-1X.js +0 -58
- package/dist/CDropdownItem-CN7gSfgY.js +0 -640
- package/dist/CFormField-Clvcf2Jh.js +0 -240
- package/dist/CPhoneInput-CEHXh5jM.js +0 -138
- package/dist/CPriceInput-D2c07SXp.js +0 -116
- package/dist/CSelect-Cz2IPzxS.js +0 -91
- package/dist/CSkeleton-AsnvnD-m.js +0 -55
- package/dist/ClientAutocomplete-CZ55-DKe.js +0 -438
- package/dist/ClientModal-CgUhWZ5L.js +0 -666
- package/dist/ColorPicker-IFGHqH-u.js +0 -2879
- package/dist/CompanyModal-TLSBFo3U.js +0 -147
- package/dist/ContentWrapper-HClxKPuT.js +0 -190
- package/dist/CoverBlockSettings-D99hAa6e.js +0 -659
- package/dist/DocAnswer-CTV_Bpt7.js +0 -36
- package/dist/DocDetails-CQe5htXj.js +0 -263
- package/dist/DocForm-6Efv5_oz.js +0 -5017
- package/dist/DocFormSend-DbXcklxU.js +0 -146
- package/dist/DocLinks-BO545zbL.js +0 -38
- package/dist/DocModalBase-DXHNJ-6i.js +0 -28
- package/dist/DocPrint-Bf2U4FQN.js +0 -240
- package/dist/DocReceipt-CWXvC7bY.js +0 -217
- package/dist/DocSendReminder-CRzBM2NJ.js +0 -140
- package/dist/DocTimeline-DGVOk8-2.js +0 -485
- package/dist/DocumentClient-Das9BaJ7.js +0 -136
- package/dist/DocumentLayout-4q8rmTVT.js +0 -4880
- package/dist/DocumentLogotype-DLncJJAB.js +0 -92
- package/dist/DocumentVoided-CcI9lX27.js +0 -25
- package/dist/EmbedInput-BPdy0lGS.js +0 -117
- package/dist/EmbedSettings-L2iwYLQK.js +0 -74
- package/dist/ErrorCallout-Ds_tBT02.js +0 -27
- package/dist/FilePreviewModal-hxUu330p.js +0 -81
- package/dist/Flag-1-HcT5Dz.js +0 -46
- package/dist/HeaderSettings-C27fMugK.js +0 -440
- package/dist/ImageSelectModal-BKDIyxF4.js +0 -86
- package/dist/ImageUploadWrapper-BiYzUQur.js +0 -1604
- package/dist/Index-5BOWxcPG.js +0 -26
- package/dist/Index-B1Odktov.js +0 -754
- package/dist/Index-B3d5BjEn.js +0 -25
- package/dist/Index-B3sSU_4X.js +0 -54
- package/dist/Index-B5Dqsh3K.js +0 -150
- package/dist/Index-B6aO1c_w.js +0 -62
- package/dist/Index-BGfICxJQ.js +0 -643
- package/dist/Index-BHopC0hv.js +0 -24
- package/dist/Index-BJXcSmp_.js +0 -55
- package/dist/Index-BQe6QjQZ.js +0 -25
- package/dist/Index-BmXx_x6t.js +0 -77
- package/dist/Index-C692qMTG.js +0 -294
- package/dist/Index-CEvbw-3i.js +0 -41
- package/dist/Index-CYSULnpn.js +0 -32
- package/dist/Index-CdtYzwAM.js +0 -107
- package/dist/Index-CetF2FW0.js +0 -230
- package/dist/Index-Cv6XLM20.js +0 -73
- package/dist/Index-Cwy8ff76.js +0 -154
- package/dist/Index-D34z4UEY.js +0 -84
- package/dist/Index-DNCei-lp.js +0 -56
- package/dist/Index-DUbxgIYB.js +0 -2445
- package/dist/Index-DVwn_LLf.js +0 -28
- package/dist/Index-Dla-mesV.js +0 -146
- package/dist/Index-KtUkOPI2.js +0 -58
- package/dist/Index-LjnOTVJk.js +0 -66
- package/dist/Index-ky1SRtfY.js +0 -94
- package/dist/Index-mceZW2NX.js +0 -41
- package/dist/Index-tD3hZjh8.js +0 -144
- package/dist/Index-vM5kDtC2.js +0 -33
- package/dist/InputToggleRow-BmDuSbE2.js +0 -57
- package/dist/ManualPopover-CQfjPvFe.js +0 -60
- package/dist/MediaWrapper-DDzcjR6V.js +0 -23
- package/dist/PackageGroup-mAGXfZDv.js +0 -704
- package/dist/PdfTerms-BH_Nwf2h.js +0 -31
- package/dist/PdfViewer-mBLxI8bA.js +0 -383
- package/dist/PlainHtml-B7gUNNZd.js +0 -27
- package/dist/PriceHeader-DClYMPcq.js +0 -338
- package/dist/SendForm-Cxv_m8Rq.js +0 -1023
- package/dist/Setup-B90VDZTG.js +0 -50
- package/dist/ThemeColorRow-D-Z7w4Wk.js +0 -69
- package/dist/ToggleBinding-DOeTcWzi.js +0 -42
- package/dist/UploadModal-DOPLVEpV.js +0 -95
- package/dist/VideoPlayerInput-1zG06elO.js +0 -97
- package/dist/VideoPlayerSettings-O-4rAYYh.js +0 -61
- package/dist/VideoSelectModal-DzqFrqCg.js +0 -104
- package/dist/answerDocumentMixin-HBiNWYCH.js +0 -51
- package/dist/debounce-Ch1d3526.js +0 -84
- package/dist/formValidationMixin-D_MzsHsR.js +0 -49
- package/dist/index-BNdbPq4J.js +0 -492
- package/dist/index-BXzugeJ6.js +0 -81
- package/dist/index-C5wcxrC6.js +0 -167
- package/dist/index-CgDOs7t4.js +0 -2700
- package/dist/index-Cj-_2coz.js +0 -351
- package/dist/index-DpqV5y0K.js +0 -102
- package/dist/main-BL_yzf2r.js +0 -57357
- package/dist/mapFormMixin-Cu_vkTP-.js +0 -3028
- package/dist/omit-Dfe_H1Ft.js +0 -31
- package/dist/simplebar.min-CRlLD1Oz.js +0 -71
- package/dist/splitpanes-BHUVsCZF.js +0 -382
- package/dist/style.css +0 -4
- package/dist/throttle-BX_w77tW.js +0 -18
- package/dist/tippy.esm-n4arfVzA.js +0 -1805
- package/dist/vuedraggable.umd-DW4PJoZ3.js +0 -3161
- package/dist/vuex.esm-DKGl8mcw.js +0 -467
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { m as D } from "./mapFormMixin-Cgvwie9a.js";
|
|
2
|
+
import { C as S } from "./CSelect-BVO9iO9L.js";
|
|
3
|
+
import { b as A } from "./CDropdownItem-BUNVCpSR.js";
|
|
4
|
+
import { _ as U, e as v, o as u, b as p, d as h, s as i, B as l, v as n, w as k, F as V, k as y, f, aG as E } from "./main-DI0diChK.js";
|
|
5
|
+
import { u as O } from "./index-BMZle8Ew.js";
|
|
6
|
+
import { a as d } from "./index-CR52qIBO.js";
|
|
7
|
+
const $ = (t, e) => t ? E(e.workStartAt || /* @__PURE__ */ new Date(), t) >= 0 : !0, C = {
|
|
8
|
+
name: "ExtraWorkTimeImpactTextEdit",
|
|
9
|
+
i18nOptions: {
|
|
10
|
+
namespaces: "ExtraWorkTimeImpactTextEdit",
|
|
11
|
+
messages: {
|
|
12
|
+
en: {
|
|
13
|
+
placeholders: {
|
|
14
|
+
workStartAt: "Start date",
|
|
15
|
+
workEndAt: "End date"
|
|
16
|
+
},
|
|
17
|
+
inlineForm: {
|
|
18
|
+
1: "Work will start",
|
|
19
|
+
2: "and will be completed no later than",
|
|
20
|
+
3: "Due to the work the original project time"
|
|
21
|
+
},
|
|
22
|
+
error: "End date needs to be after start date"
|
|
23
|
+
},
|
|
24
|
+
sv: {
|
|
25
|
+
placeholders: {
|
|
26
|
+
workStartAt: "Startdatum",
|
|
27
|
+
workEndAt: "Slutdatum"
|
|
28
|
+
},
|
|
29
|
+
inlineForm: {
|
|
30
|
+
1: "Arbetet kommer påbörjas",
|
|
31
|
+
2: "och är senast klar",
|
|
32
|
+
3: "Med anledning av arbetet kommer den ursprungliga kontraktstiden"
|
|
33
|
+
},
|
|
34
|
+
error: "Slutdatumet måste vara efter startdatumet."
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
components: {
|
|
39
|
+
CSelect: S,
|
|
40
|
+
CSwitch: A
|
|
41
|
+
},
|
|
42
|
+
emits: ["input"],
|
|
43
|
+
mixins: [
|
|
44
|
+
D([
|
|
45
|
+
"workStartAt",
|
|
46
|
+
"workEndAt",
|
|
47
|
+
"timeUnit",
|
|
48
|
+
"noOfTimeUnits",
|
|
49
|
+
"timeDeltaDirection"
|
|
50
|
+
])
|
|
51
|
+
],
|
|
52
|
+
setup() {
|
|
53
|
+
return {
|
|
54
|
+
v$: O()
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
data() {
|
|
58
|
+
return {
|
|
59
|
+
isOpen: !1,
|
|
60
|
+
// Variable to store the old content when the card is disabled
|
|
61
|
+
hiddenModuleDateDelay: null
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
validations() {
|
|
65
|
+
return {
|
|
66
|
+
workStartAt: {
|
|
67
|
+
required: d(
|
|
68
|
+
this.workStartAt || this.workEndAt || this.timeDeltaDirection || this.noOfTimeUnits || this.timeUnit
|
|
69
|
+
)
|
|
70
|
+
},
|
|
71
|
+
workEndAt: {
|
|
72
|
+
required: d(
|
|
73
|
+
this.workStartAt || this.workEndAt || this.timeDeltaDirection || this.noOfTimeUnits || this.timeUnit
|
|
74
|
+
),
|
|
75
|
+
endDateMustBeGreater: $
|
|
76
|
+
},
|
|
77
|
+
timeDeltaDirection: {
|
|
78
|
+
required: d(
|
|
79
|
+
this.workStartAt || this.workEndAt || this.timeDeltaDirection || this.noOfTimeUnits || this.timeUnit
|
|
80
|
+
)
|
|
81
|
+
},
|
|
82
|
+
noOfTimeUnits: {
|
|
83
|
+
required: d(
|
|
84
|
+
this.workStartAt || this.workEndAt || this.timeDeltaDirection || this.noOfTimeUnits || this.timeUnit
|
|
85
|
+
)
|
|
86
|
+
},
|
|
87
|
+
timeUnit: {
|
|
88
|
+
required: d(
|
|
89
|
+
this.workStartAt || this.workEndAt || this.timeDeltaDirection || this.noOfTimeUnits || this.timeUnit
|
|
90
|
+
)
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
mounted() {
|
|
95
|
+
const {
|
|
96
|
+
workStartAt: t,
|
|
97
|
+
workEndAt: e,
|
|
98
|
+
timeUnit: w,
|
|
99
|
+
noOfTimeUnits: a,
|
|
100
|
+
timeDeltaDirection: s
|
|
101
|
+
} = this;
|
|
102
|
+
(t || e || w || a || s) && (this.isOpen = !0);
|
|
103
|
+
},
|
|
104
|
+
methods: {
|
|
105
|
+
getDateValue(t) {
|
|
106
|
+
return t ? this.$formatDate(t, "yyyy-MM-dd") : null;
|
|
107
|
+
},
|
|
108
|
+
// Method to handle internal data when open/closed
|
|
109
|
+
toggleOpen(t) {
|
|
110
|
+
return t ? !0 : (this.clearRoot(), this.v$.$touch(), !1);
|
|
111
|
+
},
|
|
112
|
+
// Method to set the root object to null to clear data
|
|
113
|
+
clearRoot() {
|
|
114
|
+
const t = this._value.workStartAt.split(".");
|
|
115
|
+
t.pop();
|
|
116
|
+
const e = t.join(".");
|
|
117
|
+
this.$emit("input", { key: e, value: void 0 });
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}, T = { style: { position: "relative" } }, b = { key: 0 }, I = { class: "inline-form" }, F = ["value", "max"], M = ["value", "min"], _ = { value: "extend" }, q = { value: "shorten" }, B = ["value"], z = { value: "days" }, N = { value: "weeks" }, j = { value: "months" };
|
|
121
|
+
function L(t, e, w, a, s, m) {
|
|
122
|
+
const g = v("CSwitch"), c = v("CSelect");
|
|
123
|
+
return u(), p("div", T, [
|
|
124
|
+
h(g, {
|
|
125
|
+
modelValue: s.isOpen,
|
|
126
|
+
"onUpdate:modelValue": [
|
|
127
|
+
e[0] || (e[0] = (o) => s.isOpen = o),
|
|
128
|
+
m.toggleOpen
|
|
129
|
+
],
|
|
130
|
+
style: { position: "absolute", right: "0", top: "calc(-0.5 * var(--rem))", transform: "translateY(-100%)" }
|
|
131
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
132
|
+
s.isOpen ? (u(), p("div", b, [
|
|
133
|
+
i("div", I, [
|
|
134
|
+
l(n(t.$t("inlineForm.1")) + " ", 1),
|
|
135
|
+
i("input", {
|
|
136
|
+
type: "date",
|
|
137
|
+
class: "ml-1 bg-gray-100",
|
|
138
|
+
value: m.getDateValue(t.workStartAt),
|
|
139
|
+
max: m.getDateValue(t.workEndAt),
|
|
140
|
+
onInput: e[1] || (e[1] = (o) => {
|
|
141
|
+
var r;
|
|
142
|
+
return t.workStartAt = (r = o.target) != null && r.value ? new Date(o.target.value).toISOString() : null;
|
|
143
|
+
})
|
|
144
|
+
}, null, 40, F),
|
|
145
|
+
l(" " + n(t.$t("inlineForm.2")) + " ", 1),
|
|
146
|
+
i("input", {
|
|
147
|
+
type: "date",
|
|
148
|
+
class: "ml-1 bg-gray-100",
|
|
149
|
+
value: m.getDateValue(t.workEndAt),
|
|
150
|
+
min: m.getDateValue(t.workStartAt),
|
|
151
|
+
onInput: e[2] || (e[2] = (o) => {
|
|
152
|
+
var r;
|
|
153
|
+
return t.workEndAt = (r = o.target) != null && r.value ? new Date(o.target.value).toISOString() : null;
|
|
154
|
+
})
|
|
155
|
+
}, null, 40, M),
|
|
156
|
+
l(". " + n(t.$t("inlineForm.3")) + " ", 1),
|
|
157
|
+
h(c, {
|
|
158
|
+
modelValue: t.timeDeltaDirection,
|
|
159
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => t.timeDeltaDirection = o),
|
|
160
|
+
placeholder: t.$t("_common:select"),
|
|
161
|
+
class: "select-width input-inline-language"
|
|
162
|
+
}, {
|
|
163
|
+
default: k(() => [
|
|
164
|
+
i("option", _, n(t.$t("_common:extend").toLowerCase()), 1),
|
|
165
|
+
i("option", q, n(t.$t("_common:shorten").toLowerCase()), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["modelValue", "placeholder"]),
|
|
169
|
+
l(" " + n(t.$t("_common:with")) + " ", 1),
|
|
170
|
+
h(c, {
|
|
171
|
+
modelValue: t.noOfTimeUnits,
|
|
172
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => t.noOfTimeUnits = o),
|
|
173
|
+
placeholder: t.$t("_common:select"),
|
|
174
|
+
class: "select-width quantity input-inline-language",
|
|
175
|
+
style: { width: "calc(2 * var(--rem))", "margin-right": "calc(0.5 * var(--rem))" }
|
|
176
|
+
}, {
|
|
177
|
+
default: k(() => [
|
|
178
|
+
(u(), p(V, null, y(31, (o, r) => i("option", {
|
|
179
|
+
key: r,
|
|
180
|
+
value: o - 1,
|
|
181
|
+
style: { "font-size": "calc(calc(1 * var(--rem)) + 1px)", "text-align": "center" }
|
|
182
|
+
}, n(o - 1), 9, B)), 64))
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
}, 8, ["modelValue", "placeholder"]),
|
|
186
|
+
h(c, {
|
|
187
|
+
modelValue: t.timeUnit,
|
|
188
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => t.timeUnit = o),
|
|
189
|
+
placeholder: t.$t("_common:select"),
|
|
190
|
+
class: "select-width unit input-inline-language",
|
|
191
|
+
onBlur: e[6] || (e[6] = (o) => a.v$.timeUnit.$touch())
|
|
192
|
+
}, {
|
|
193
|
+
default: k(() => [
|
|
194
|
+
i("option", z, n(t.$t("_common:day_plural")), 1),
|
|
195
|
+
i("option", N, n(t.$t("_common:week_plural")), 1),
|
|
196
|
+
i("option", j, n(t.$t("_common:month_plural")), 1)
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 8, ["modelValue", "placeholder"]),
|
|
200
|
+
e[8] || (e[8] = l(". "))
|
|
201
|
+
]),
|
|
202
|
+
a.v$.$invalid && a.v$.$dirty ? (u(), p("div", {
|
|
203
|
+
key: 0,
|
|
204
|
+
class: "error-wrapper",
|
|
205
|
+
onClick: e[7] || (e[7] = (o) => a.v$.$touch())
|
|
206
|
+
}, [
|
|
207
|
+
e[9] || (e[9] = i("svg", {
|
|
208
|
+
name: "info-icon",
|
|
209
|
+
width: "14",
|
|
210
|
+
height: "14",
|
|
211
|
+
viewBox: "0 0 125 125",
|
|
212
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
213
|
+
}, [
|
|
214
|
+
i("path", {
|
|
215
|
+
d: "M62.5 125C27.9822 125 0 97.0178 0 62.5S27.9822 0 62.5 0 125 27.9822 125 62.5 97.0178 125 62.5 125zM52.44694 65.23395v26.93183c0 5.43129 4.40293 9.83422 9.83422 9.83422 5.4461 0 9.87524-4.38793 9.92615-9.83379l.25177-26.93269c.05142-5.50025-4.36573-10.00077-9.86598-10.05219a9.963143 9.963143 0 0 0-.0931-.00043c-5.55215 0-10.05306 4.5009-10.05306 10.05305zm.43768-31.76657c0 5.25109 4.2545 9.50584 9.5027 9.50584h.22536c5.2467 0 9.5027-4.25591 9.5027-9.50584 0-5.25109-4.2545-9.50584-9.5027-9.50584h-.22536c-5.2467 0-9.5027 4.25591-9.5027 9.50584z",
|
|
216
|
+
fill: "currentColor",
|
|
217
|
+
"fill-rule": "evenodd"
|
|
218
|
+
})
|
|
219
|
+
], -1)),
|
|
220
|
+
l(" " + n(t.$t("error")), 1)
|
|
221
|
+
])) : f("", !0)
|
|
222
|
+
])) : f("", !0)
|
|
223
|
+
]);
|
|
224
|
+
}
|
|
225
|
+
const K = /* @__PURE__ */ U(C, [["render", L], ["__scopeId", "data-v-057b0b51"]]);
|
|
226
|
+
export {
|
|
227
|
+
K as default
|
|
228
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { m as o } from "./mapFormMixin-Cgvwie9a.js";
|
|
2
|
+
import { I as d } from "./InputToggleRow-DJarYsVL.js";
|
|
3
|
+
import { _ as m, e as u, o as i, c as p, w as g, s } from "./main-DI0diChK.js";
|
|
4
|
+
const A = {
|
|
5
|
+
i18nOptions: {
|
|
6
|
+
namespaces: "estimatedTimeStartEnd",
|
|
7
|
+
messages: {
|
|
8
|
+
en: {
|
|
9
|
+
title: "Start and end date",
|
|
10
|
+
label: "Work start and ends"
|
|
11
|
+
},
|
|
12
|
+
sv: {
|
|
13
|
+
title: "Start- och slutdatum",
|
|
14
|
+
label: "Arbetet påbörjas och avslutas"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
name: "EstimatedWorkStartAndEndAtTextEdit",
|
|
19
|
+
components: {
|
|
20
|
+
InputToggleRow: d
|
|
21
|
+
},
|
|
22
|
+
mixins: [o(["startAt", "endAt"])],
|
|
23
|
+
methods: {
|
|
24
|
+
getDateValue(t) {
|
|
25
|
+
return t ? this.$formatDate(t, "yyyy-MM-dd") : null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}, v = { style: { display: "inline-flex" } }, f = ["value", "max"], y = ["value", "min"];
|
|
29
|
+
function D(t, e, b, w, I, n) {
|
|
30
|
+
const r = u("InputToggleRow");
|
|
31
|
+
return i(), p(r, {
|
|
32
|
+
"display-value": t.startAt && t.endAt ? `${t.$formatDate(t.startAt)} → ${t.$formatDate(t.endAt)}` : t.$t("_common:add"),
|
|
33
|
+
label: t.$t("label"),
|
|
34
|
+
"show-clear": !!(t.startAt && t.endAt),
|
|
35
|
+
onRemove: e[2] || (e[2] = () => {
|
|
36
|
+
t.startAt = null, t.endAt = null;
|
|
37
|
+
})
|
|
38
|
+
}, {
|
|
39
|
+
default: g(() => [
|
|
40
|
+
s("div", v, [
|
|
41
|
+
s("input", {
|
|
42
|
+
type: "date",
|
|
43
|
+
class: "ml-1 bg-gray-100",
|
|
44
|
+
value: n.getDateValue(t.startAt),
|
|
45
|
+
max: n.getDateValue(t.endAt),
|
|
46
|
+
onInput: e[0] || (e[0] = (a) => {
|
|
47
|
+
var l;
|
|
48
|
+
return t.startAt = (l = a.target) != null && l.value ? new Date(a.target.value).toISOString() : null;
|
|
49
|
+
})
|
|
50
|
+
}, null, 40, f),
|
|
51
|
+
e[3] || (e[3] = s("div", { style: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, " → ", -1)),
|
|
52
|
+
s("input", {
|
|
53
|
+
type: "date",
|
|
54
|
+
class: "ml-1 bg-gray-100",
|
|
55
|
+
value: n.getDateValue(t.endAt),
|
|
56
|
+
min: n.getDateValue(t.startAt),
|
|
57
|
+
onInput: e[1] || (e[1] = (a) => {
|
|
58
|
+
var l;
|
|
59
|
+
return t.endAt = (l = a.target) != null && l.value ? new Date(a.target.value).toISOString() : null;
|
|
60
|
+
})
|
|
61
|
+
}, null, 40, y)
|
|
62
|
+
])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["display-value", "label", "show-clear"]);
|
|
66
|
+
}
|
|
67
|
+
const T = /* @__PURE__ */ m(A, [["render", D]]);
|
|
68
|
+
export {
|
|
69
|
+
T as default
|
|
70
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { h as f, i as l, o as c, b as r, s as i, c as h, ae as k, v as y, f as u, S as b, e as B, P as E, _ as g } from "./main-DI0diChK.js";
|
|
2
|
+
const w = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "sub-chapter"
|
|
5
|
+
}, C = { class: "sub-chapter-title" }, F = { key: 1 }, I = { class: "sub-chapter-content" }, S = /* @__PURE__ */ f({
|
|
6
|
+
__name: "Index",
|
|
7
|
+
props: {
|
|
8
|
+
title: {},
|
|
9
|
+
hideFromEdit: { type: Boolean, default: !1 },
|
|
10
|
+
_value: { default: () => ({
|
|
11
|
+
title: ""
|
|
12
|
+
}) }
|
|
13
|
+
},
|
|
14
|
+
setup(d) {
|
|
15
|
+
const o = d, t = E("viewSettings", { canEdit: !1 }), p = l(
|
|
16
|
+
() => o.hideFromEdit && t.canEdit
|
|
17
|
+
), v = l(() => t.canEdit), s = l(() => o.title || ""), m = (n) => {
|
|
18
|
+
var a;
|
|
19
|
+
const e = n.target;
|
|
20
|
+
t.setFormValue && t.setFormValue({
|
|
21
|
+
key: (a = o._value) == null ? void 0 : a.title,
|
|
22
|
+
value: (e == null ? void 0 : e.value) || ""
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
return (n, e) => {
|
|
26
|
+
const a = B("CInput");
|
|
27
|
+
return p.value ? u("", !0) : (c(), r("div", w, [
|
|
28
|
+
i("div", C, [
|
|
29
|
+
e[1] || (e[1] = i("span", { class: "sub-chapter-counter primary-pseudo-background" }, null, -1)),
|
|
30
|
+
v.value && s.value ? (c(), h(a, {
|
|
31
|
+
key: 0,
|
|
32
|
+
"model-value": s.value,
|
|
33
|
+
spellcheck: !1,
|
|
34
|
+
static: "",
|
|
35
|
+
class: "preview-title-input",
|
|
36
|
+
onKeydown: e[0] || (e[0] = k((_) => _.target.blur(), ["enter"])),
|
|
37
|
+
onBlur: m
|
|
38
|
+
}, null, 8, ["model-value"])) : s.value ? (c(), r("div", F, y(s.value), 1)) : u("", !0)
|
|
39
|
+
]),
|
|
40
|
+
i("div", I, [
|
|
41
|
+
b(n.$slots, "default", {}, void 0, !0)
|
|
42
|
+
])
|
|
43
|
+
]));
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}), V = /* @__PURE__ */ g(S, [["__scopeId", "data-v-1a63c96c"]]);
|
|
47
|
+
export {
|
|
48
|
+
V as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { m as c } from "./mapFormMixin-Cgvwie9a.js";
|
|
2
|
+
import { _ as u, z as r, o as t, c as o, e as a } from "./main-DI0diChK.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ExtraWorkConstructionPricingList",
|
|
5
|
+
components: {
|
|
6
|
+
Read: r(() => import("./Index-s-6Qh_NE.js")),
|
|
7
|
+
Edit: r(() => import("./Index-D9WFWlE6.js"))
|
|
8
|
+
},
|
|
9
|
+
emits: ["input"],
|
|
10
|
+
mixins: [
|
|
11
|
+
c([
|
|
12
|
+
"workPrice",
|
|
13
|
+
"managementPrice",
|
|
14
|
+
"entrepreneurMarkupPercentage",
|
|
15
|
+
"miscMarkupPercentage"
|
|
16
|
+
])
|
|
17
|
+
]
|
|
18
|
+
};
|
|
19
|
+
function d(e, n, k, g, l, _) {
|
|
20
|
+
const m = a("Edit"), p = a("Read");
|
|
21
|
+
return e.canEdit ? (t(), o(m, {
|
|
22
|
+
key: 0,
|
|
23
|
+
_document: e._document,
|
|
24
|
+
_value: e._value,
|
|
25
|
+
onInput: n[0] || (n[0] = (i) => e.$emit("input", i))
|
|
26
|
+
}, null, 8, ["_document", "_value"])) : (t(), o(p, {
|
|
27
|
+
key: 1,
|
|
28
|
+
_document: e._document,
|
|
29
|
+
"work-price": e.workPrice,
|
|
30
|
+
"management-price": e.managementPrice,
|
|
31
|
+
"entrepreneur-markup-percentage": e.entrepreneurMarkupPercentage,
|
|
32
|
+
"misc-markup-percentage": e.miscMarkupPercentage
|
|
33
|
+
}, null, 8, ["_document", "work-price", "management-price", "entrepreneur-markup-percentage", "misc-markup-percentage"]));
|
|
34
|
+
}
|
|
35
|
+
const E = /* @__PURE__ */ u(s, [["render", d]]);
|
|
36
|
+
export {
|
|
37
|
+
E as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { m as h } from "./mapFormMixin-Cgvwie9a.js";
|
|
2
|
+
import { B as C } from "./BlockMedia-Amo_kdHo.js";
|
|
3
|
+
import { T as y } from "./DocTextEditor-CVn6gE1i.js";
|
|
4
|
+
import { u as g } from "./DocumentLayout-BMHOt380.js";
|
|
5
|
+
import { f as $ } from "./focusDrawerMixin-r-OZchfV.js";
|
|
6
|
+
import { _ as w, z as M, a9 as V, aa as b, ab as T, ac as E, ad as S, o as n, b as d, s as a, d as l, c as v, F as x, w as c, B as N, v as A, f as u, n as D, e as t } from "./main-DI0diChK.js";
|
|
7
|
+
const F = {
|
|
8
|
+
name: "CoverBlock",
|
|
9
|
+
components: {
|
|
10
|
+
BlockMedia: C,
|
|
11
|
+
TextEditor: y,
|
|
12
|
+
CoverBlockSettings: M(
|
|
13
|
+
() => import("./CoverBlockSettings-BCBDouyl.js")
|
|
14
|
+
)
|
|
15
|
+
},
|
|
16
|
+
emits: ["section-remove"],
|
|
17
|
+
mixins: [h(["coverBlock"]), $],
|
|
18
|
+
setup() {
|
|
19
|
+
return { docWidth: g() };
|
|
20
|
+
},
|
|
21
|
+
data() {
|
|
22
|
+
return {
|
|
23
|
+
showControls: !1
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
computed: {
|
|
27
|
+
text: {
|
|
28
|
+
get() {
|
|
29
|
+
const e = V(this, "coverBlock.text", "");
|
|
30
|
+
return this.canEdit ? b(
|
|
31
|
+
e,
|
|
32
|
+
this._document.textTemplateMap,
|
|
33
|
+
this._document._doc
|
|
34
|
+
) : T(e, this._document._doc);
|
|
35
|
+
},
|
|
36
|
+
set(e) {
|
|
37
|
+
this.setValue({ key: "text", value: E(e) });
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
media() {
|
|
41
|
+
const { type: e, cover: o } = this.coverBlock || {};
|
|
42
|
+
return { ...o, ...e && { type: e } };
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
setValue({ key: e, value: o }) {
|
|
47
|
+
this.coverBlock = S(this.coverBlock, e, o);
|
|
48
|
+
},
|
|
49
|
+
onAdd() {
|
|
50
|
+
var e;
|
|
51
|
+
this._isNodeRecentlyAdded() && ((e = this.$refs.editor) == null || e.focus());
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}, W = { class: "cover-base" }, I = { class: "cover-text-wrapper no-drag" }, U = { class: "cover-text" }, z = { class: "footer-button" };
|
|
55
|
+
function P(e, o, R, m, i, r) {
|
|
56
|
+
const p = t("BlockMedia"), k = t("TextEditor"), B = t("CoverBlockSettings"), f = t("CButton"), _ = t("portal");
|
|
57
|
+
return n(), d("div", {
|
|
58
|
+
class: D([{ "is-700-plus": m.docWidth >= 700 }, "cover-root font-inter"]),
|
|
59
|
+
onMouseoverPassive: o[2] || (o[2] = (s) => i.showControls = !0),
|
|
60
|
+
onMouseleavePassive: o[3] || (o[3] = (s) => i.showControls = !1)
|
|
61
|
+
}, [
|
|
62
|
+
a("div", W, [
|
|
63
|
+
l(p, { media: r.media }, null, 8, ["media"]),
|
|
64
|
+
a("div", I, [
|
|
65
|
+
a("div", U, [
|
|
66
|
+
(n(), v(k, {
|
|
67
|
+
ref: "editor",
|
|
68
|
+
key: e.canEdit,
|
|
69
|
+
modelValue: r.text,
|
|
70
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => r.text = s),
|
|
71
|
+
editable: e.canEdit,
|
|
72
|
+
mentions: () => e._document.textTemplateItems,
|
|
73
|
+
snippets: !0,
|
|
74
|
+
extensions: "all",
|
|
75
|
+
unstyled: "",
|
|
76
|
+
onVnodeMounted: r.onAdd
|
|
77
|
+
}, null, 8, ["modelValue", "editable", "mentions", "onVnodeMounted"]))
|
|
78
|
+
])
|
|
79
|
+
])
|
|
80
|
+
]),
|
|
81
|
+
e.isForm ? (n(), d(x, { key: 0 }, [
|
|
82
|
+
e.showDrawer ? (n(), v(_, {
|
|
83
|
+
key: 0,
|
|
84
|
+
to: "drawer-content"
|
|
85
|
+
}, {
|
|
86
|
+
footer: c(() => [
|
|
87
|
+
a("div", z, [
|
|
88
|
+
l(f, {
|
|
89
|
+
type: "danger",
|
|
90
|
+
pattern: "tertiary",
|
|
91
|
+
wide: "",
|
|
92
|
+
onClick: o[1] || (o[1] = (s) => e.$emit("section-remove"))
|
|
93
|
+
}, {
|
|
94
|
+
default: c(() => [
|
|
95
|
+
N(A(e.$t("_common:remove")), 1)
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
])
|
|
100
|
+
]),
|
|
101
|
+
default: c(() => [
|
|
102
|
+
l(B, {
|
|
103
|
+
_document: e._document,
|
|
104
|
+
_value: {
|
|
105
|
+
type: `${e._value.coverBlock}.type`,
|
|
106
|
+
video: `${e._value.coverBlock}.cover.video`,
|
|
107
|
+
resourceUrl: `${e._value.coverBlock}.cover.resourceUrl`,
|
|
108
|
+
filter: `${e._value.coverBlock}.cover.filter`,
|
|
109
|
+
blur: `${e._value.coverBlock}.cover.blur`,
|
|
110
|
+
position: `${e._value.coverBlock}.cover.position`,
|
|
111
|
+
overlay: `${e._value.coverBlock}.cover.overlay`,
|
|
112
|
+
overlayColor: `${e._value.coverBlock}.cover.overlayColor`,
|
|
113
|
+
gradient: `${e._value.coverBlock}.cover.gradient`,
|
|
114
|
+
backgroundColor: `${e._value.coverBlock}.cover.backgroundColor`
|
|
115
|
+
}
|
|
116
|
+
}, null, 8, ["_document", "_value"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
})) : u("", !0)
|
|
120
|
+
], 64)) : u("", !0)
|
|
121
|
+
], 34);
|
|
122
|
+
}
|
|
123
|
+
const L = /* @__PURE__ */ w(F, [["render", P], ["__scopeId", "data-v-3a10d1d6"]]);
|
|
124
|
+
export {
|
|
125
|
+
L as default
|
|
126
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { m as u } from "./mapFormMixin-Cgvwie9a.js";
|
|
2
|
+
import { _ as r, z as t, o, c as i, e as m } from "./main-DI0diChK.js";
|
|
3
|
+
const d = {
|
|
4
|
+
name: "EstimatedTimeToComplete",
|
|
5
|
+
components: {
|
|
6
|
+
Read: t(() => import("./Index-BODJXJNp.js")),
|
|
7
|
+
Edit: t(() => import("./Index-B06eCuBA.js"))
|
|
8
|
+
},
|
|
9
|
+
emits: ["input"],
|
|
10
|
+
mixins: [u(["noOfTimeUnits", "timeUnit"])]
|
|
11
|
+
};
|
|
12
|
+
function c(n, e, f, l, _, E) {
|
|
13
|
+
const s = m("Edit"), a = m("Read");
|
|
14
|
+
return n.canEdit ? (o(), i(s, {
|
|
15
|
+
key: 0,
|
|
16
|
+
_document: n._document,
|
|
17
|
+
_value: n._value,
|
|
18
|
+
onInput: e[0] || (e[0] = (p) => n.$emit("input", p))
|
|
19
|
+
}, null, 8, ["_document", "_value"])) : (o(), i(a, {
|
|
20
|
+
key: 1,
|
|
21
|
+
"no-of-time-units": n.noOfTimeUnits,
|
|
22
|
+
"time-unit": n.timeUnit
|
|
23
|
+
}, null, 8, ["no-of-time-units", "time-unit"]));
|
|
24
|
+
}
|
|
25
|
+
const v = /* @__PURE__ */ r(d, [["render", c]]);
|
|
26
|
+
export {
|
|
27
|
+
v as default
|
|
28
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { _ as n } from "./PlainHtml.vue_vue_type_script_setup_true_lang-D5ZLw34T.js";
|
|
2
|
+
import { d as e, B as t } from "./main-DI0diChK.js";
|
|
3
|
+
const a = {
|
|
4
4
|
name: "EstimatedWorkStartAndEndAtTextRead",
|
|
5
5
|
props: {
|
|
6
6
|
startAt: {
|
|
@@ -27,20 +27,12 @@ const s = {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
render() {
|
|
31
|
+
return e(n, null, {
|
|
32
|
+
default: () => [this.$t("description1"), t(" "), e("strong", null, [this.$formatDate(this.startAt)]), t(" "), this.$t("description2"), t(" "), e("strong", null, [this.$formatDate(this.endAt)]), t("."), " ", this.$t("description3")]
|
|
33
|
+
});
|
|
33
34
|
}
|
|
34
|
-
}
|
|
35
|
-
var a = /* @__PURE__ */ n(
|
|
36
|
-
s,
|
|
37
|
-
r,
|
|
38
|
-
o,
|
|
39
|
-
!1,
|
|
40
|
-
null,
|
|
41
|
-
null
|
|
42
|
-
);
|
|
43
|
-
const l = a.exports;
|
|
35
|
+
};
|
|
44
36
|
export {
|
|
45
|
-
|
|
37
|
+
a as default
|
|
46
38
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { h, P as o, i as c, z as k, o as n, b as i, c as v, ap as B, n as T, j as a, s as l, B as x, v as m, an as y, _ as C } from "./main-DI0diChK.js";
|
|
2
|
+
import { u as b } from "./useTermsModal-DzH_PDFP.js";
|
|
3
|
+
const P = {
|
|
4
|
+
key: 1,
|
|
5
|
+
class: "terms-disclaimer"
|
|
6
|
+
}, g = { class: "terms-disclaimer__divider" }, w = /* @__PURE__ */ h({
|
|
7
|
+
__name: "Index",
|
|
8
|
+
props: {
|
|
9
|
+
href: {},
|
|
10
|
+
termType: {},
|
|
11
|
+
file: {},
|
|
12
|
+
text: {},
|
|
13
|
+
_document: {}
|
|
14
|
+
},
|
|
15
|
+
setup(e) {
|
|
16
|
+
const { showTermsModal: d } = b(), s = o("isPdf", !1), f = o("_firstBlock", !1), p = o("_lastBlock", !1), r = c(
|
|
17
|
+
() => s ? k(() => import("./PdfTerms-DBEClYQ5.js")) : null
|
|
18
|
+
), u = c(() => s && r), _ = () => {
|
|
19
|
+
d({
|
|
20
|
+
text: e.text,
|
|
21
|
+
_document: e._document,
|
|
22
|
+
termType: e.termType,
|
|
23
|
+
file: e.file,
|
|
24
|
+
href: e.href
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
return (t, D) => u.value ? (n(), i("div", {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: T({
|
|
30
|
+
"break-before-page": a(s) && !a(f),
|
|
31
|
+
"break-after-page": a(s) && !a(p)
|
|
32
|
+
})
|
|
33
|
+
}, [
|
|
34
|
+
(n(), v(B(r.value), {
|
|
35
|
+
text: t.text,
|
|
36
|
+
file: t.file
|
|
37
|
+
}, null, 8, ["text", "file"]))
|
|
38
|
+
], 2)) : (n(), i("div", P, [
|
|
39
|
+
l("div", g, [
|
|
40
|
+
x(m(t._document.$t("chapters.termsDisclaimer.description")) + " ", 1),
|
|
41
|
+
l("a", {
|
|
42
|
+
onClick: y(_, ["prevent"]),
|
|
43
|
+
target: "_blank",
|
|
44
|
+
rel: "noopener"
|
|
45
|
+
}, m(t._document.$t("chapters.termsDisclaimer.termsAndConditions")), 1)
|
|
46
|
+
])
|
|
47
|
+
]));
|
|
48
|
+
}
|
|
49
|
+
}), j = /* @__PURE__ */ C(w, [["__scopeId", "data-v-7c03eed7"]]);
|
|
50
|
+
export {
|
|
51
|
+
j as default
|
|
52
|
+
};
|