@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
package/dist/Index-DVwn_LLf.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { u as t, x as o, n as _ } from "./main-BL_yzf2r.js";
|
|
2
|
-
const p = /* @__PURE__ */ t({
|
|
3
|
-
__name: "Index",
|
|
4
|
-
props: {
|
|
5
|
-
street: null,
|
|
6
|
-
zip: null,
|
|
7
|
-
city: null
|
|
8
|
-
},
|
|
9
|
-
setup(s) {
|
|
10
|
-
const e = s, n = o(() => `${e.street ? `${e.street}, ` : ""}${e.zip ? `${e.zip} ` : ""}${e.city}`);
|
|
11
|
-
return { __sfc: !0, props: e, address: n };
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
var a = function() {
|
|
15
|
-
var e = this, n = e._self._c, r = e._self._setupProxy;
|
|
16
|
-
return n("div", { domProps: { innerHTML: e._s(r.address) } });
|
|
17
|
-
}, c = [], u = /* @__PURE__ */ _(
|
|
18
|
-
p,
|
|
19
|
-
a,
|
|
20
|
-
c,
|
|
21
|
-
!1,
|
|
22
|
-
null,
|
|
23
|
-
null
|
|
24
|
-
);
|
|
25
|
-
const d = u.exports;
|
|
26
|
-
export {
|
|
27
|
-
d as default
|
|
28
|
-
};
|
package/dist/Index-Dla-mesV.js
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { C as s } from "./CSelect-Cz2IPzxS.js";
|
|
3
|
-
import { b as l } from "./CDropdownItem-CN7gSfgY.js";
|
|
4
|
-
import { n as c, _ as m } from "./main-BL_yzf2r.js";
|
|
5
|
-
import { v as a } from "./index-BNdbPq4J.js";
|
|
6
|
-
const u = (e, t) => e ? m(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, d = {
|
|
7
|
-
name: "ExtraWorkTimeImpactTextEdit",
|
|
8
|
-
i18nOptions: {
|
|
9
|
-
namespaces: "ExtraWorkTimeImpactTextEdit",
|
|
10
|
-
messages: {
|
|
11
|
-
en: {
|
|
12
|
-
placeholders: {
|
|
13
|
-
workStartAt: "Start date",
|
|
14
|
-
workEndAt: "End date"
|
|
15
|
-
},
|
|
16
|
-
inlineForm: {
|
|
17
|
-
1: "Work will start",
|
|
18
|
-
2: "and will be completed no later than",
|
|
19
|
-
3: "Due to the work the original project time"
|
|
20
|
-
},
|
|
21
|
-
error: "End date needs to be after start date"
|
|
22
|
-
},
|
|
23
|
-
sv: {
|
|
24
|
-
placeholders: {
|
|
25
|
-
workStartAt: "Startdatum",
|
|
26
|
-
workEndAt: "Slutdatum"
|
|
27
|
-
},
|
|
28
|
-
inlineForm: {
|
|
29
|
-
1: "Arbetet kommer påbörjas",
|
|
30
|
-
2: "och är senast klar",
|
|
31
|
-
3: "Med anledning av arbetet kommer den ursprungliga kontraktstiden"
|
|
32
|
-
},
|
|
33
|
-
error: "Slutdatumet måste vara efter startdatumet."
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
components: {
|
|
38
|
-
CSelect: s,
|
|
39
|
-
CSwitch: l
|
|
40
|
-
},
|
|
41
|
-
mixins: [
|
|
42
|
-
o([
|
|
43
|
-
"workStartAt",
|
|
44
|
-
"workEndAt",
|
|
45
|
-
"timeUnit",
|
|
46
|
-
"noOfTimeUnits",
|
|
47
|
-
"timeDeltaDirection"
|
|
48
|
-
])
|
|
49
|
-
],
|
|
50
|
-
data() {
|
|
51
|
-
return {
|
|
52
|
-
isOpen: !1,
|
|
53
|
-
// Variable to store the old content when the card is disabled
|
|
54
|
-
hiddenModuleDateDelay: null
|
|
55
|
-
};
|
|
56
|
-
},
|
|
57
|
-
validations: {
|
|
58
|
-
workStartAt: {
|
|
59
|
-
required: a.requiredIf(
|
|
60
|
-
(e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
|
|
61
|
-
)
|
|
62
|
-
},
|
|
63
|
-
workEndAt: {
|
|
64
|
-
required: a.requiredIf(
|
|
65
|
-
(e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
|
|
66
|
-
),
|
|
67
|
-
endDateMustBeGreater: u
|
|
68
|
-
},
|
|
69
|
-
timeDeltaDirection: {
|
|
70
|
-
required: a.requiredIf(
|
|
71
|
-
(e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
|
|
72
|
-
)
|
|
73
|
-
},
|
|
74
|
-
noOfTimeUnits: {
|
|
75
|
-
required: a.requiredIf(
|
|
76
|
-
(e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
|
|
77
|
-
)
|
|
78
|
-
},
|
|
79
|
-
timeUnit: {
|
|
80
|
-
required: a.requiredIf(
|
|
81
|
-
(e) => e.workStartAt || e.workEndAt || e.timeDeltaDirection || e.noOfTimeUnits || e.timeUnit
|
|
82
|
-
)
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
mounted() {
|
|
86
|
-
const {
|
|
87
|
-
workStartAt: e,
|
|
88
|
-
workEndAt: t,
|
|
89
|
-
timeUnit: r,
|
|
90
|
-
noOfTimeUnits: i,
|
|
91
|
-
timeDeltaDirection: n
|
|
92
|
-
} = this;
|
|
93
|
-
(e || t || r || i || n) && (this.isOpen = !0);
|
|
94
|
-
},
|
|
95
|
-
methods: {
|
|
96
|
-
getDateValue(e) {
|
|
97
|
-
return e ? this.$formatDate(e, "yyyy-MM-dd") : null;
|
|
98
|
-
},
|
|
99
|
-
// Method to handle internal data when open/closed
|
|
100
|
-
toggleOpen(e) {
|
|
101
|
-
return e ? !0 : (this.clearRoot(), this.$v.$touch(), !1);
|
|
102
|
-
},
|
|
103
|
-
// Method to set the root object to null to clear data
|
|
104
|
-
clearRoot() {
|
|
105
|
-
const e = this._value.workStartAt.split(".");
|
|
106
|
-
e.pop();
|
|
107
|
-
const t = e.join(".");
|
|
108
|
-
this.$emit("input", { key: t, value: void 0 });
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
var p = function() {
|
|
113
|
-
var t = this, r = t._self._c;
|
|
114
|
-
return r("div", { staticStyle: { position: "relative" } }, [r("CSwitch", { staticStyle: { position: "absolute", right: "0", top: "calc(-0.5 * var(--rem))", transform: "translateY(-100%)" }, on: { input: t.toggleOpen }, model: { value: t.isOpen, callback: function(i) {
|
|
115
|
-
t.isOpen = i;
|
|
116
|
-
}, expression: "isOpen" } }), t.isOpen ? r("div", [r("div", { staticClass: "inline-form" }, [t._v(" " + t._s(t.$t("inlineForm.1")) + " "), r("input", { staticClass: "ml-1 bg-gray-100", attrs: { type: "date", max: t.getDateValue(t.workEndAt) }, domProps: { value: t.getDateValue(t.workStartAt) }, on: { input: function(i) {
|
|
117
|
-
var n;
|
|
118
|
-
t.workStartAt = (n = i.target) != null && n.value ? new Date(i.target.value).toISOString() : null;
|
|
119
|
-
} } }), t._v(" " + t._s(t.$t("inlineForm.2")) + " "), r("input", { staticClass: "ml-1 bg-gray-100", attrs: { type: "date", min: t.getDateValue(t.workStartAt) }, domProps: { value: t.getDateValue(t.workEndAt) }, on: { input: function(i) {
|
|
120
|
-
var n;
|
|
121
|
-
t.workEndAt = (n = i.target) != null && n.value ? new Date(i.target.value).toISOString() : null;
|
|
122
|
-
} } }), t._v(". " + t._s(t.$t("inlineForm.3")) + " "), r("CSelect", { staticClass: "select-width input-inline-language", attrs: { placeholder: t.$t("_common:select") }, model: { value: t.timeDeltaDirection, callback: function(i) {
|
|
123
|
-
t.timeDeltaDirection = i;
|
|
124
|
-
}, expression: "timeDeltaDirection" } }, [r("option", { attrs: { value: "extend" } }, [t._v(" " + t._s(t.$t("_common:extend").toLowerCase()) + " ")]), r("option", { attrs: { value: "shorten" } }, [t._v(" " + t._s(t.$t("_common:shorten").toLowerCase()) + " ")])]), t._v(" " + t._s(t.$t("_common:with")) + " "), r("CSelect", { staticClass: "select-width quantity input-inline-language", staticStyle: { width: "calc(2 * var(--rem))", "margin-right": "calc(0.5 * var(--rem))" }, attrs: { placeholder: t.$t("_common:select") }, model: { value: t.noOfTimeUnits, callback: function(i) {
|
|
125
|
-
t.noOfTimeUnits = i;
|
|
126
|
-
}, expression: "noOfTimeUnits" } }, t._l(31, function(i, n) {
|
|
127
|
-
return r("option", { key: n, staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 1px)", "text-align": "center" }, domProps: { value: i - 1 } }, [t._v(" " + t._s(i - 1) + " ")]);
|
|
128
|
-
}), 0), r("CSelect", { staticClass: "select-width unit input-inline-language", attrs: { placeholder: t.$t("_common:select") }, on: { blur: function(i) {
|
|
129
|
-
return t.$v.timeUnit.$touch();
|
|
130
|
-
} }, model: { value: t.timeUnit, callback: function(i) {
|
|
131
|
-
t.timeUnit = i;
|
|
132
|
-
}, expression: "timeUnit" } }, [r("option", { attrs: { value: "days" } }, [t._v(t._s(t.$t("_common:day_plural")))]), r("option", { attrs: { value: "weeks" } }, [t._v(t._s(t.$t("_common:week_plural")))]), r("option", { attrs: { value: "months" } }, [t._v(" " + t._s(t.$t("_common:month_plural")) + " ")])]), t._v(". ")], 1), t.$v.$invalid && t.$v.$dirty ? r("div", { staticClass: "error-wrapper", on: { click: function(i) {
|
|
133
|
-
return t.$v.$touch();
|
|
134
|
-
} } }, [r("svg", { attrs: { name: "info-icon", width: "14", height: "14", viewBox: "0 0 125 125", xmlns: "http://www.w3.org/2000/svg" } }, [r("path", { attrs: { 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", fill: "currentColor", "fill-rule": "evenodd" } })]), t._v(" " + t._s(t.$t("error")) + " ")]) : t._e()]) : t._e()], 1);
|
|
135
|
-
}, f = [], _ = /* @__PURE__ */ c(
|
|
136
|
-
d,
|
|
137
|
-
p,
|
|
138
|
-
f,
|
|
139
|
-
!1,
|
|
140
|
-
null,
|
|
141
|
-
"8eeff7da"
|
|
142
|
-
);
|
|
143
|
-
const D = _.exports;
|
|
144
|
-
export {
|
|
145
|
-
D as default
|
|
146
|
-
};
|
package/dist/Index-KtUkOPI2.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { I as n } from "./InputToggleRow-BmDuSbE2.js";
|
|
3
|
-
import { B as s } from "./BaseDatePicker-PSNBtUIh.js";
|
|
4
|
-
import { n as l } from "./main-BL_yzf2r.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-LjnOTVJk.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { S as i, n as a } from "./main-BL_yzf2r.js";
|
|
3
|
-
import { f as d } from "./focusDrawerMixin-CximZA1J.js";
|
|
4
|
-
const r = {
|
|
5
|
-
// eslint-disable-next-line vue/no-reserved-component-names
|
|
6
|
-
name: "Embed",
|
|
7
|
-
i18nOptions: {
|
|
8
|
-
namespaces: "embed",
|
|
9
|
-
messages: {
|
|
10
|
-
en: {
|
|
11
|
-
subTitle: "Embed anything (PDFs, Google Docs, Calender Sheets...)"
|
|
12
|
-
},
|
|
13
|
-
sv: {
|
|
14
|
-
subTitle: "Bädda in vad som helst (PDF:er, Google Docs, Calender Sheets...)"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
components: {
|
|
19
|
-
EmbedSettings: () => import("./EmbedSettings-L2iwYLQK.js"),
|
|
20
|
-
EmbedInput: () => import("./EmbedInput-BPdy0lGS.js"),
|
|
21
|
-
Spinner: i
|
|
22
|
-
},
|
|
23
|
-
mixins: [o(["embed", "size"]), d],
|
|
24
|
-
data() {
|
|
25
|
-
return {
|
|
26
|
-
showControls: !1,
|
|
27
|
-
isLoading: !0
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
onAdd() {
|
|
32
|
-
var n;
|
|
33
|
-
this._isNodeRecentlyAdded() && ((n = this.$refs.input) == null || n.focus());
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
var m = function() {
|
|
38
|
-
var e = this, s = e._self._c;
|
|
39
|
-
return s("div", { staticClass: "embed-root font-inter", on: { "&mouseover": function(t) {
|
|
40
|
-
e.showControls = !0;
|
|
41
|
-
}, "&mouseleave": function(t) {
|
|
42
|
-
e.showControls = !1;
|
|
43
|
-
} } }, [s("div", { staticClass: "no-drag", class: [
|
|
44
|
-
(e.size || !(e.embed && e.embed.src)) && "auto-size",
|
|
45
|
-
`embed-is-${e.size}`
|
|
46
|
-
] }, [e.embed ? s("div", { staticClass: "embed-container" }, [!e.embed.src && e.canEdit ? s("div", { staticClass: "embed-element" }, [s("div", { staticClass: "is-placeholder" }, [s("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), s("EmbedInput", { ref: "input", staticStyle: { "padding-top": "1em" }, on: { "hook:mounted": e.onAdd }, model: { value: e.embed, callback: function(t) {
|
|
47
|
-
e.embed = t;
|
|
48
|
-
}, expression: "embed" } })], 1)]) : e.embed.src ? s("iframe", e._b({ ref: "iframe", staticClass: "embed-element", on: { load: function(t) {
|
|
49
|
-
e.isLoading = !1;
|
|
50
|
-
} } }, "iframe", { allowfullscreen: "", ...e.embed }, !1)) : e._e(), e.embed.src && e.isLoading ? s("div", { staticClass: "embed-loading-container" }, [s("Spinner", { attrs: { color: "hsl(0, 0%, 60%)" } })], 1) : e._e()]) : e._e()]), e.isForm ? [e.showDrawer ? s("portal", { attrs: { to: "drawer-content" } }, [s("EmbedSettings", { attrs: { size: e.size }, on: { "update:size": function(t) {
|
|
51
|
-
e.size = t;
|
|
52
|
-
} }, model: { value: e.embed, callback: function(t) {
|
|
53
|
-
e.embed = t;
|
|
54
|
-
}, expression: "embed" } })], 1) : e._e()] : e._e()], 2);
|
|
55
|
-
}, l = [], c = /* @__PURE__ */ a(
|
|
56
|
-
r,
|
|
57
|
-
m,
|
|
58
|
-
l,
|
|
59
|
-
!1,
|
|
60
|
-
null,
|
|
61
|
-
"34433ee5"
|
|
62
|
-
);
|
|
63
|
-
const p = c.exports;
|
|
64
|
-
export {
|
|
65
|
-
p as default
|
|
66
|
-
};
|
package/dist/Index-ky1SRtfY.js
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { f as a } from "./focusDrawerMixin-CximZA1J.js";
|
|
3
|
-
import { g as r } from "./utils-Dr4AcaE9.js";
|
|
4
|
-
import { n } from "./main-BL_yzf2r.js";
|
|
5
|
-
const d = {
|
|
6
|
-
name: "VideoPlayer",
|
|
7
|
-
i18nOptions: {
|
|
8
|
-
namespaces: "components",
|
|
9
|
-
keyPrefix: "document.videoPlayer"
|
|
10
|
-
},
|
|
11
|
-
components: {
|
|
12
|
-
VideoPlayerSettings: () => import("./VideoPlayerSettings-O-4rAYYh.js"),
|
|
13
|
-
VideoPlayerInput: () => import("./VideoPlayerInput-1zG06elO.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-mceZW2NX.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { u, Y as d, x as l, n as _ } from "./main-BL_yzf2r.js";
|
|
2
|
-
const p = /* @__PURE__ */ u({
|
|
3
|
-
__name: "Index",
|
|
4
|
-
props: {
|
|
5
|
-
title: null,
|
|
6
|
-
hideFromEdit: { type: Boolean, default: !1 },
|
|
7
|
-
_value: { default: () => ({
|
|
8
|
-
title: ""
|
|
9
|
-
}) }
|
|
10
|
-
},
|
|
11
|
-
setup(i) {
|
|
12
|
-
const t = i, e = d("viewSettings", { canEdit: !1 }), s = l(
|
|
13
|
-
() => t.hideFromEdit && e.canEdit
|
|
14
|
-
), a = l(() => e.canEdit), o = l(() => t.title || "");
|
|
15
|
-
return { __sfc: !0, props: t, viewSettings: e, shouldHideFromEdit: s, canEdit: a, title: o, handleBlur: (c) => {
|
|
16
|
-
var r;
|
|
17
|
-
const n = c.target;
|
|
18
|
-
e.setFormValue && e.setFormValue({
|
|
19
|
-
key: (r = t._value) == null ? void 0 : r.title,
|
|
20
|
-
value: (n == null ? void 0 : n.value) || ""
|
|
21
|
-
});
|
|
22
|
-
} };
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
var f = function() {
|
|
26
|
-
var t = this, e = t._self._c, s = t._self._setupProxy;
|
|
27
|
-
return s.shouldHideFromEdit ? t._e() : e("div", { staticClass: "sub-chapter" }, [e("div", { staticClass: "sub-chapter-title" }, [e("span", { staticClass: "sub-chapter-counter primary-pseudo-background" }), s.canEdit && s.title ? [e("CInput", { staticClass: "preview-title-input", attrs: { value: s.title, spellcheck: !1, static: "" }, on: { keydown: function(a) {
|
|
28
|
-
return !a.type.indexOf("key") && t._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : a.target.blur();
|
|
29
|
-
}, blur: s.handleBlur } })] : s.title ? e("div", [t._v(t._s(s.title))]) : t._e()], 2), e("div", { staticClass: "sub-chapter-content" }, [t._t("default")], 2)]);
|
|
30
|
-
}, m = [], v = /* @__PURE__ */ _(
|
|
31
|
-
p,
|
|
32
|
-
f,
|
|
33
|
-
m,
|
|
34
|
-
!1,
|
|
35
|
-
null,
|
|
36
|
-
"5ec34827"
|
|
37
|
-
);
|
|
38
|
-
const C = v.exports;
|
|
39
|
-
export {
|
|
40
|
-
C as default
|
|
41
|
-
};
|
package/dist/Index-tD3hZjh8.js
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { f as l } from "./focusDrawerMixin-CximZA1J.js";
|
|
3
|
-
import { d as c } from "./debounce-Ch1d3526.js";
|
|
4
|
-
import { s as m, p as u } from "./splitpanes-BHUVsCZF.js";
|
|
5
|
-
import { n } from "./main-BL_yzf2r.js";
|
|
6
|
-
const d = {
|
|
7
|
-
name: "HeaderItems",
|
|
8
|
-
components: {
|
|
9
|
-
MediaWrapper: () => import("./MediaWrapper-DDzcjR6V.js"),
|
|
10
|
-
ContentWrapper: () => import("./ContentWrapper-HClxKPuT.js"),
|
|
11
|
-
Splitpanes: m,
|
|
12
|
-
Pane: u
|
|
13
|
-
},
|
|
14
|
-
mixins: [r(["layout", "items", "baseStyle"])],
|
|
15
|
-
props: {
|
|
16
|
-
showControls: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: !1
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
computed: {
|
|
22
|
-
forceHorizontal() {
|
|
23
|
-
return this.device === "mobile";
|
|
24
|
-
},
|
|
25
|
-
canResize() {
|
|
26
|
-
return this.device === "desktop" || this.device === "tablet";
|
|
27
|
-
},
|
|
28
|
-
useSplitPane() {
|
|
29
|
-
return this.canEdit && this.canResize;
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
created() {
|
|
33
|
-
["layout", "canEdit"].forEach(
|
|
34
|
-
(t) => this.$watch(t, {
|
|
35
|
-
immediate: !0,
|
|
36
|
-
handler: this.addNoDragClass
|
|
37
|
-
})
|
|
38
|
-
);
|
|
39
|
-
},
|
|
40
|
-
methods: {
|
|
41
|
-
addNoDragClass() {
|
|
42
|
-
!this.canEdit || !["vertical", "horizontal"].includes(this.layout) || setTimeout(() => {
|
|
43
|
-
const t = this.$el.querySelector(".splitpanes__splitter");
|
|
44
|
-
t && !t.classList.contains("no-drag") && t.classList.add("no-drag");
|
|
45
|
-
}, 0);
|
|
46
|
-
},
|
|
47
|
-
onResize: c(function([{ size: e }]) {
|
|
48
|
-
const a = Math.round(e), o = 100 - a;
|
|
49
|
-
this.items = this.items.map((s, i) => ({ ...s, size: [a, o][i] }));
|
|
50
|
-
}, 100)
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var h = function() {
|
|
54
|
-
var e = this, a = e._self._c;
|
|
55
|
-
return e.layout === "center" ? a("div", { staticStyle: { position: "relative", "min-height": "calc(100 * var(--vh, 1vh))" } }, e._l(e.items, function(o, s) {
|
|
56
|
-
return a(`${o.type}Wrapper`, e._g({ key: s, tag: "component", staticClass: "item", staticStyle: { position: "absolute", left: "0", top: "0", right: "0", bottom: "0" }, attrs: { size: o.size, _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners));
|
|
57
|
-
}), 1) : a(e.useSplitPane ? "splitpanes" : "div", { tag: "component", staticClass: "layout-wrapper", style: !e.canEdit && {
|
|
58
|
-
"flex-direction": e.forceHorizontal || e.layout === "horizontal" ? "column" : "row"
|
|
59
|
-
}, attrs: { horizontal: e.forceHorizontal ? !0 : e.layout === "horizontal", vertical: e.forceHorizontal ? !1 : e.layout === "vertical" }, on: { resize: e.onResize } }, e._l(e.items, function(o, s) {
|
|
60
|
-
return a(e.useSplitPane ? "pane" : "div", { key: s, tag: "component", style: !e.useSplitPane && {
|
|
61
|
-
flex: `1 1 ${o.size}%`
|
|
62
|
-
}, attrs: { size: o.size } }, [a(`${o.type}Wrapper`, e._g({ tag: "component", staticClass: "item", attrs: { _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners))], 1);
|
|
63
|
-
}), 1);
|
|
64
|
-
}, _ = [], p = /* @__PURE__ */ n(
|
|
65
|
-
d,
|
|
66
|
-
h,
|
|
67
|
-
_,
|
|
68
|
-
!1,
|
|
69
|
-
null,
|
|
70
|
-
"683ee6d3"
|
|
71
|
-
);
|
|
72
|
-
const v = p.exports, f = {
|
|
73
|
-
name: "HeaderBlock",
|
|
74
|
-
components: {
|
|
75
|
-
PriceHeader: () => import("./PriceHeader-DClYMPcq.js"),
|
|
76
|
-
HeaderSettings: () => import("./HeaderSettings-C27fMugK.js"),
|
|
77
|
-
HeaderItems: v
|
|
78
|
-
},
|
|
79
|
-
mixins: [r(["header"]), l],
|
|
80
|
-
data() {
|
|
81
|
-
return {
|
|
82
|
-
showControls: !1
|
|
83
|
-
};
|
|
84
|
-
},
|
|
85
|
-
computed: {
|
|
86
|
-
layout() {
|
|
87
|
-
var t;
|
|
88
|
-
return (t = this.header) == null ? void 0 : t.layout;
|
|
89
|
-
},
|
|
90
|
-
items() {
|
|
91
|
-
var t;
|
|
92
|
-
return ((t = this.header) == null ? void 0 : t.items) || [];
|
|
93
|
-
},
|
|
94
|
-
mediaPath() {
|
|
95
|
-
const t = this.items.findIndex(({ type: e }) => e === "media");
|
|
96
|
-
return t !== -1 ? `${this._value.header}.items.${t}.media` : "";
|
|
97
|
-
},
|
|
98
|
-
contentPath() {
|
|
99
|
-
const t = this.items.findIndex(({ type: e }) => e === "content");
|
|
100
|
-
return t !== -1 ? `${this._value.header}.items.${t}` : "";
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
var $ = function() {
|
|
105
|
-
var e = this, a = e._self._c;
|
|
106
|
-
return a("div", { staticClass: "header-root", class: {
|
|
107
|
-
"has-parent-nav": e.viewSettings.isForm,
|
|
108
|
-
"has-hover": e.showControls
|
|
109
|
-
}, on: { "&mouseover": function(o) {
|
|
110
|
-
e.showControls = !0;
|
|
111
|
-
}, "&mouseleave": function(o) {
|
|
112
|
-
e.showControls = !1;
|
|
113
|
-
} } }, [e.layout === "price" ? a("PriceHeader", e._g({ attrs: { _document: e._document, _value: {
|
|
114
|
-
media: e.mediaPath,
|
|
115
|
-
backgroundColor: `${e.contentPath}.media.backgroundColor`,
|
|
116
|
-
documentName: `${e.contentPath}.value.documentName`,
|
|
117
|
-
showLogo: `${e.contentPath}.value.showLogo`,
|
|
118
|
-
logotype: `${e.contentPath}.value.logotype`,
|
|
119
|
-
showPriceSummary: `${e._value.header}.showPriceSummary`
|
|
120
|
-
}, "has-hover": e.showControls } }, e.$listeners)) : a("HeaderItems", e._g({ attrs: { _document: e._document, _value: {
|
|
121
|
-
layout: `${e._value.header}.layout`,
|
|
122
|
-
items: `${e._value.header}.items`,
|
|
123
|
-
baseStyle: `${e._value.header}.baseStyle`
|
|
124
|
-
}, "show-controls": e.showControls } }, e.$listeners)), e.isForm ? [e.showDrawer ? a("portal", { attrs: { to: "drawer-content" } }, [a("HeaderSettings", { attrs: { _document: e._document, _value: {
|
|
125
|
-
layout: `${e._value.header}.layout`,
|
|
126
|
-
items: `${e._value.header}.items`,
|
|
127
|
-
showPriceSummary: `${e._value.header}.showPriceSummary`,
|
|
128
|
-
media: e.mediaPath,
|
|
129
|
-
backgroundColor: `${e.contentPath}.media.backgroundColor`,
|
|
130
|
-
textAlign: `${e._value.header}.baseStyle.textAlign`,
|
|
131
|
-
textColor: `${e._value.header}.baseStyle.textColor`
|
|
132
|
-
} } })], 1) : e._e()] : e._e()], 2);
|
|
133
|
-
}, y = [], g = /* @__PURE__ */ n(
|
|
134
|
-
f,
|
|
135
|
-
$,
|
|
136
|
-
y,
|
|
137
|
-
!1,
|
|
138
|
-
null,
|
|
139
|
-
null
|
|
140
|
-
);
|
|
141
|
-
const x = g.exports;
|
|
142
|
-
export {
|
|
143
|
-
x as default
|
|
144
|
-
};
|
package/dist/Index-vM5kDtC2.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { n as i } from "./main-BL_yzf2r.js";
|
|
3
|
-
const r = {
|
|
4
|
-
name: "ExtraWorkTimeImpactText",
|
|
5
|
-
components: {
|
|
6
|
-
Read: () => import("./Index-RWMPRDAE.js"),
|
|
7
|
-
Edit: () => import("./Index-Dla-mesV.js")
|
|
8
|
-
},
|
|
9
|
-
mixins: [
|
|
10
|
-
n([
|
|
11
|
-
"workStartAt",
|
|
12
|
-
"workEndAt",
|
|
13
|
-
"timeUnit",
|
|
14
|
-
"noOfTimeUnits",
|
|
15
|
-
"timeDeltaDirection"
|
|
16
|
-
])
|
|
17
|
-
]
|
|
18
|
-
};
|
|
19
|
-
var o = function() {
|
|
20
|
-
var t = this, e = t._self._c;
|
|
21
|
-
return t.canEdit ? e("Edit", t._g({ attrs: { _document: t._document, _value: t._value } }, t.$listeners)) : e("Read", { attrs: { "work-start-at": t.workStartAt, "work-end-at": t.workEndAt, "time-unit": t.timeUnit, "no-of-time-units": t.noOfTimeUnits, "time-delta-direction": t.timeDeltaDirection } });
|
|
22
|
-
}, a = [], m = /* @__PURE__ */ i(
|
|
23
|
-
r,
|
|
24
|
-
o,
|
|
25
|
-
a,
|
|
26
|
-
!1,
|
|
27
|
-
null,
|
|
28
|
-
null
|
|
29
|
-
);
|
|
30
|
-
const d = m.exports;
|
|
31
|
-
export {
|
|
32
|
-
d as default
|
|
33
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { n as s } from "./main-BL_yzf2r.js";
|
|
2
|
-
const n = {
|
|
3
|
-
name: "InputCompactRow",
|
|
4
|
-
props: {
|
|
5
|
-
label: {
|
|
6
|
-
type: String,
|
|
7
|
-
required: !0
|
|
8
|
-
},
|
|
9
|
-
showClear: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
default: !1
|
|
12
|
-
},
|
|
13
|
-
displayValue: {
|
|
14
|
-
type: [String, Number, Boolean],
|
|
15
|
-
default: ""
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
data() {
|
|
19
|
-
return {
|
|
20
|
-
isEditing: !1
|
|
21
|
-
};
|
|
22
|
-
},
|
|
23
|
-
methods: {
|
|
24
|
-
openEdit() {
|
|
25
|
-
this.isEditing = !0, this.$nextTick(() => {
|
|
26
|
-
const i = this.$el.querySelector("input, [contenteditable]");
|
|
27
|
-
i && i.focus();
|
|
28
|
-
});
|
|
29
|
-
},
|
|
30
|
-
closeEdit() {
|
|
31
|
-
this.isEditing = !1;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
var l = function() {
|
|
36
|
-
var t = this, e = t._self._c;
|
|
37
|
-
return e("div", { staticClass: "input-row" }, [e("div", { staticClass: "flex w-full justify-between" }, [e("div", { staticClass: "input-label" }, [t._t("label", function() {
|
|
38
|
-
return [t._v(t._s(t.label))];
|
|
39
|
-
})], 2), e("div", { staticClass: "flex w-full justify-end", staticStyle: { width: "initial" } }, [t._t("toggle", function() {
|
|
40
|
-
return [t.showClear ? e("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("remove"), expression: "$t('remove')" }], staticClass: "clear-input-button", attrs: { size: "small", icon: "x" }, on: { click: function(r) {
|
|
41
|
-
return t.$emit("remove");
|
|
42
|
-
} } }) : t._e(), t.isEditing ? t.$scopedSlots.bottom ? t._e() : e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: t.closeEdit, expression: "closeEdit" }], ref: "inputContainer" }, [t._t("default")], 2) : e("CButton", { staticClass: "input-toggle-button", class: { "is-edit": t.isEditing }, attrs: { type: "none", pattern: "secondary", size: "small" }, on: { click: t.openEdit } }, [t._t("displayValue", function() {
|
|
43
|
-
return [t._v(t._s(t.displayValue))];
|
|
44
|
-
})], 2)];
|
|
45
|
-
})], 2)]), t.$scopedSlots.bottom ? e("div", [e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => t.isEditing ? t.closeEdit : null, expression: "() => (isEditing ? closeEdit : null)" }] }, [t._t("bottom", null, { isEditing: t.isEditing, closeEdit: t.closeEdit })], 2)]) : t._e()]);
|
|
46
|
-
}, o = [], a = /* @__PURE__ */ s(
|
|
47
|
-
n,
|
|
48
|
-
l,
|
|
49
|
-
o,
|
|
50
|
-
!1,
|
|
51
|
-
null,
|
|
52
|
-
"089f7e86"
|
|
53
|
-
);
|
|
54
|
-
const d = a.exports;
|
|
55
|
-
export {
|
|
56
|
-
d as I
|
|
57
|
-
};
|