@cling-se/widget 0.13.1 → 0.13.3
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/README.md +27 -22
- package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-D9a9MCUX.js} +11 -16
- package/dist/{AnswerModal-7c83d608.js → AnswerModal-D8x72yGp.js} +1931 -1948
- package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-BvRfBRk6.js} +15 -18
- package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BmvP7mNA.js} +139 -142
- package/dist/{BaseInput-2ca68242.js → BaseInput-DDxP_o2d.js} +77 -56
- package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-BYXTgBXu.js} +208 -212
- package/dist/{BlockMedia-9fa610ce.js → BlockMedia-BjasKSPl.js} +6 -8
- package/dist/{CCallout-4c253200.js → CCallout-D66Z5Gmx.js} +26 -16
- package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CsY-c0bJ.js} +51 -50
- package/dist/{CField-823448be.js → CField-P1DJ6Xte.js} +75 -58
- package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-CWaOjZ6c.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-ZmW20zh4.js} +6 -8
- package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-CS5EWC8m.js} +11 -13
- package/dist/{ClientModal-c5ee3885.js → ClientModal-JsCpUq7_.js} +25 -32
- package/dist/{ColorPicker-65a47379.js → ColorPicker-D2qM7zAH.js} +5 -7
- package/dist/{CompanyModal-564e2b35.js → CompanyModal-Cy41VR2V.js} +28 -30
- package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-BZV21UxA.js} +25 -43
- package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-BKSeVFDE.js} +20 -31
- package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-kP7uwYPw.js} +5 -12
- package/dist/{DocDetails-6522bb1b.js → DocDetails-CQokGcQU.js} +47 -59
- package/dist/{DocForm-983d41f5.js → DocForm--8jg79O2.js} +4871 -4946
- package/dist/{DocFormSend-787ce614.js → DocFormSend-yMGm0yem.js} +15 -33
- package/dist/DocLinks-tR60r1YR.js +38 -0
- package/dist/{DocModalBase-60c69c7f.js → DocModalBase-CTK46Brc.js} +8 -10
- package/dist/{DocPrint-78c501ca.js → DocPrint-GY73q9cl.js} +6 -10
- package/dist/{DocReceipt-ac44b93f.js → DocReceipt-pTTh1XRW.js} +11 -15
- package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-C4MsDwmQ.js} +2 -6
- package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-22iwpJ.js} +2509 -2529
- package/dist/{DocTimeline-35106a94.js → DocTimeline-CwcPVMLq.js} +26 -37
- package/dist/{DocumentClient-eda56a3c.js → DocumentClient-C9Lm9899.js} +15 -22
- package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BijbYCjw.js} +4510 -4527
- package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-EyAhhuyy.js} +20 -22
- package/dist/DocumentVoided-D5t8akG5.js +25 -0
- package/dist/{EmbedInput-8c301d27.js → EmbedInput-BgRj0APU.js} +9 -12
- package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-D2AVYJsR.js} +6 -9
- package/dist/ErrorCallout-C2Hz9_Kw.js +28 -0
- package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-qE7IG4wX.js} +8 -14
- package/dist/{Flag-a6b545e0.js → Flag-BCpOsl81.js} +18 -20
- package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-BZNxb77S.js} +34 -49
- package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-FTD0imPM.js} +12 -20
- package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-Dt-_sMWf.js} +356 -384
- package/dist/{Index-ea1e223d.js → Index-21Rqe72Y.js} +16 -18
- package/dist/{Index-54f457ee.js → Index-5j91zO6f.js} +10 -12
- package/dist/{Index-848bb05c.js → Index-BCXTn1sC.js} +11 -13
- package/dist/{Index-01224b38.js → Index-BDET3dI8.js} +233 -273
- package/dist/{Index-071b97c8.js → Index-BFaUGjUB.js} +24 -26
- package/dist/{Index-8cfeac73.js → Index-BKlCGLNd.js} +80 -90
- package/dist/{Index-c349151b.js → Index-BoLTPa35.js} +7 -9
- package/dist/{Index-ecbffb52.js → Index-CBbfIsZN.js} +18 -31
- package/dist/{Index-8f237754.js → Index-CFdROMC3.js} +6 -8
- package/dist/{Index-8ea1a895.js → Index-CJODaFN6.js} +16 -21
- package/dist/{Index-4298f3e2.js → Index-C_xGmfku.js} +13 -15
- package/dist/Index-CcukWQRL.js +21 -0
- package/dist/Index-Cl5xExRO.js +24 -0
- package/dist/{Index-b56a2d94.js → Index-Cp6jRq1R.js} +20 -23
- package/dist/{Index-4b09d0fa.js → Index-CuoBquDv.js} +116 -118
- package/dist/{Index-4f119d80.js → Index-Cwl2NC2m.js} +459 -510
- package/dist/{Index-fe0e805b.js → Index-D-bjhn09.js} +51 -58
- package/dist/{Index-a52df5e2.js → Index-D2nfeQ5x.js} +14 -21
- package/dist/{Index-caebb616.js → Index-D5bdxU_9.js} +4 -6
- package/dist/{Index-6b66b9ff.js → Index-DFtgMiak.js} +4 -6
- package/dist/{Index-3f02e8ca.js → Index-DGZ31KnZ.js} +8 -11
- package/dist/{Index-5bf8b9b7.js → Index-DJR3xxCd.js} +8 -10
- package/dist/{Index-8ebe3371.js → Index-DMY-Sq_M.js} +19 -26
- package/dist/Index-DlhEipBL.js +26 -0
- package/dist/Index-Dv7cLrE4.js +52 -0
- package/dist/{Index-b2de3af8.js → Index-In1yv5wC.js} +2 -4
- package/dist/{Index-8e82da74.js → Index-UamytEM4.js} +12 -15
- package/dist/{Index-63aea2b8.js → Index-WMiYQ88f.js} +12 -21
- package/dist/{Index-a3920b7b.js → Index-WNn-Ygm3.js} +9 -11
- package/dist/{Index-56e4127a.js → Index-_IbAcZwx.js} +29 -29
- package/dist/{Index-f1bf6520.js → Index-djTZz7Ns.js} +6 -8
- package/dist/{Index-c049a6e2.js → Index-sfUDC-CQ.js} +7 -9
- package/dist/Index-tPwll4sB.js +49 -0
- package/dist/{Index-97c18be1.js → Index-xgTLuqmb.js} +5 -9
- package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-BEO32u0P.js} +3 -5
- package/dist/{ManualPopover-d7c2a780.js → ManualPopover-BBh0cUw5.js} +1 -3
- package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-CoMogZxx.js} +3 -6
- package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BT1Q6RMl.js} +5 -7
- package/dist/{PackageGroup-95d99d03.js → PackageGroup-FdTMDsjx.js} +35 -59
- package/dist/{PdfTerms-4a6d6067.js → PdfTerms-DyPWsQVj.js} +11 -18
- package/dist/{PdfViewer-8d7f2143.js → PdfViewer-DypsavPs.js} +25 -29
- package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-BfBjldPv.js} +5 -7
- package/dist/{PriceHeader-f2cb6529.js → PriceHeader-C7uxm0UF.js} +113 -130
- package/dist/SearchApi-BFRaO76p.js +161 -0
- package/dist/{Setup-74c47337.js → Setup-5Bd2oKy5.js} +9 -11
- package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-qp4QTvSS.js} +6 -12
- package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-BVO3w229.js} +8 -10
- package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-kUXMHL_T.js} +7 -9
- package/dist/{UploadModal-d2757015.js → UploadModal-pc_pdLKq.js} +16 -19
- package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-D_pGBwqs.js} +6 -8
- package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-j923whT9.js} +7 -11
- package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-YwoeiHje.js} +20 -28
- package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-B_U73rNw.js} +5 -5
- package/dist/{debounce-f8aeabc5.js → debounce-BsRaWg59.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-JAewKqED.js} +1 -1
- package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-D4n0po7Z.js} +1198 -1171
- package/dist/{formDrawerState-b99be3a7.js → formDrawerState-zC8aJ2vd.js} +1 -1
- package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-BZkYLjQt.js} +2 -2
- package/dist/{index-b2348f09.js → index-B3HvM0tt.js} +39 -44
- package/dist/{index-96e9db00.js → index-CoyXZLrG.js} +41 -59
- package/dist/{index-c9186403.js → index-DMs1rzm_.js} +14 -16
- package/dist/{IsPremiumPreStep-27645ee9.js → index-DNfDl5X3.js} +531 -566
- package/dist/{index-d35e9363.js → index-RA-At4z5.js} +5 -3
- package/dist/{index-9d1ade78.js → index-g89MyoBh.js} +3 -5
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-b9ea9725.js → main-DdTHuJSP.js} +21733 -21943
- package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-jUVHvbDZ.js} +1 -2
- package/dist/{vuedraggable.umd-1b113186.js → omit-Cu3_dgaV.js} +143 -133
- package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-DbENjyL4.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-53a6c735.js → throttle-DP3fD_7G.js} +2 -2
- package/dist/{tinycolor-071e269c.js → tinycolor-BK1IhVpb.js} +6 -6
- package/dist/{tippy.esm-1b89bf69.js → tippy.esm-BZYdaq3J.js} +226 -232
- package/dist/{utils-44a35f52.js → utils-D8WP6t_z.js} +1 -1
- package/package.json +2 -2
- package/dist/DocLinks-d6b1b080.js +0 -41
- package/dist/DocumentVoided-fe1bd505.js +0 -27
- package/dist/ErrorCallout-87033b39.js +0 -30
- package/dist/Index-6bfbbbd2.js +0 -61
- package/dist/Index-6c21af02.js +0 -28
- package/dist/Index-cbd0f3f6.js +0 -23
- package/dist/Index-f006e9fe.js +0 -26
- package/dist/Index-fc0516f6.js +0 -54
- package/dist/SearchApi-2a59cdc7.js +0 -167
- package/dist/index-3671e1b7.js +0 -14
- package/dist/index-805c56e4.js +0 -4
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { n as
|
|
3
|
-
import { v as a } from "./index-
|
|
4
|
-
const c = (e, t) => e ?
|
|
1
|
+
import { m as o } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { n as s, P as l } from "./main-DdTHuJSP.js";
|
|
3
|
+
import { v as a } from "./index-RA-At4z5.js";
|
|
4
|
+
const c = (e, t) => e ? l(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
|
|
5
5
|
name: "ExtraWorkTimeImpactTextEdit",
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "ExtraWorkTimeImpactTextEdit",
|
|
@@ -80,11 +80,11 @@ const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 :
|
|
|
80
80
|
const {
|
|
81
81
|
workStartAt: e,
|
|
82
82
|
workEndAt: t,
|
|
83
|
-
timeUnit:
|
|
83
|
+
timeUnit: r,
|
|
84
84
|
noOfTimeUnits: i,
|
|
85
|
-
timeDeltaDirection:
|
|
85
|
+
timeDeltaDirection: n
|
|
86
86
|
} = this;
|
|
87
|
-
(e || t ||
|
|
87
|
+
(e || t || r || i || n) && (this.isOpen = !0);
|
|
88
88
|
},
|
|
89
89
|
methods: {
|
|
90
90
|
getDateValue(e) {
|
|
@@ -104,37 +104,35 @@ const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 :
|
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
var m = function() {
|
|
107
|
-
var t = this,
|
|
108
|
-
return
|
|
107
|
+
var t = this, r = t._self._c;
|
|
108
|
+
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) {
|
|
109
109
|
t.isOpen = i;
|
|
110
|
-
}, expression: "isOpen" } }), t.isOpen ?
|
|
111
|
-
var
|
|
112
|
-
t.workStartAt = (
|
|
113
|
-
} } }), t._v(" " + t._s(t.$t("inlineForm.2")) + " "),
|
|
114
|
-
var
|
|
115
|
-
t.workEndAt = (
|
|
116
|
-
} } }), t._v(". " + t._s(t.$t("inlineForm.3")) + " "),
|
|
110
|
+
}, 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) {
|
|
111
|
+
var n;
|
|
112
|
+
t.workStartAt = (n = i.target) != null && n.value ? new Date(i.target.value).toISOString() : null;
|
|
113
|
+
} } }), 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) {
|
|
114
|
+
var n;
|
|
115
|
+
t.workEndAt = (n = i.target) != null && n.value ? new Date(i.target.value).toISOString() : null;
|
|
116
|
+
} } }), 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) {
|
|
117
117
|
t.timeDeltaDirection = i;
|
|
118
|
-
}, expression: "timeDeltaDirection" } }, [
|
|
118
|
+
}, 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) {
|
|
119
119
|
t.noOfTimeUnits = i;
|
|
120
|
-
}, expression: "noOfTimeUnits" } }, t._l(31, function(i,
|
|
121
|
-
return
|
|
122
|
-
}), 0),
|
|
120
|
+
}, expression: "noOfTimeUnits" } }, t._l(31, function(i, n) {
|
|
121
|
+
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) + " ")]);
|
|
122
|
+
}), 0), r("CSelect", { staticClass: "select-width unit input-inline-language", attrs: { placeholder: t.$t("_common:select") }, on: { blur: function(i) {
|
|
123
123
|
return t.$v.timeUnit.$touch();
|
|
124
124
|
} }, model: { value: t.timeUnit, callback: function(i) {
|
|
125
125
|
t.timeUnit = i;
|
|
126
|
-
}, expression: "timeUnit" } }, [
|
|
126
|
+
}, 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) {
|
|
127
127
|
return t.$v.$touch();
|
|
128
|
-
} } }, [
|
|
129
|
-
}, d = [], p = /* @__PURE__ */
|
|
128
|
+
} } }, [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);
|
|
129
|
+
}, d = [], p = /* @__PURE__ */ s(
|
|
130
130
|
u,
|
|
131
131
|
m,
|
|
132
132
|
d,
|
|
133
133
|
!1,
|
|
134
134
|
null,
|
|
135
|
-
"
|
|
136
|
-
null,
|
|
137
|
-
null
|
|
135
|
+
"2ca06e45"
|
|
138
136
|
);
|
|
139
137
|
const k = p.exports;
|
|
140
138
|
export {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { m as g } from "./mapFormMixin-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { e as
|
|
7
|
-
import {
|
|
8
|
-
import "./CDropdownItem-7e71da85.js";
|
|
1
|
+
import { m as g } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { x as o, ao as u, b as h, n as l, ap as b, aq as a, ar as n } from "./main-DdTHuJSP.js";
|
|
3
|
+
import { s as v, p as y } from "./splitpanes-BHUVsCZF.js";
|
|
4
|
+
import { t as w } from "./throttle-DP3fD_7G.js";
|
|
5
|
+
import { W as m } from "./DocumentLayout-BijbYCjw.js";
|
|
6
|
+
import { e as p } from "./dom-CPYqHOIw.js";
|
|
7
|
+
import { d as _ } from "./debounce-BsRaWg59.js";
|
|
9
8
|
const x = `
|
|
10
9
|
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
|
|
11
10
|
`, M = (e, { _document: t, id: s, firstRender: i }) => `
|
|
@@ -117,7 +116,7 @@ const x = `
|
|
|
117
116
|
});
|
|
118
117
|
},
|
|
119
118
|
registerStoreListener() {
|
|
120
|
-
this.sendDocumentUpdate =
|
|
119
|
+
this.sendDocumentUpdate = w(this.sendDocMessage, 1e3), this.storeListenerUnsubscribe = this.$store.subscribe((e) => {
|
|
121
120
|
const {
|
|
122
121
|
type: t
|
|
123
122
|
} = e;
|
|
@@ -177,60 +176,7 @@ const x = `
|
|
|
177
176
|
class: "h-0 w-full"
|
|
178
177
|
});
|
|
179
178
|
}
|
|
180
|
-
}
|
|
181
|
-
const S = {
|
|
182
|
-
html: '<path fill="#e44f26" d="M5.902 27.201L3.655 2h24.69l-2.25 25.197L15.985 30L5.902 27.201z"></path><path fill="#f1662a" d="m16 27.858l8.17-2.265l1.922-21.532H16v23.797z"></path><path fill="#ebebeb" d="M16 13.407h-4.09l-.282-3.165H16V7.151H8.25l.074.83l.759 8.517H16v-3.091zm0 8.027l-.014.004l-3.442-.929l-.22-2.465H9.221l.433 4.852l6.332 1.758l.014-.004v-3.216z"></path><path fill="#fff" d="M15.989 13.407v3.091h3.806l-.358 4.009l-3.448.93v3.216l6.337-1.757l.046-.522l.726-8.137l.076-.83h-7.185zm0-6.256v3.091h7.466l.062-.694l.141-1.567l.074-.83h-7.743z"></path>',
|
|
183
|
-
css: '<path fill="#1572b6" d="M5.902 27.201L3.656 2h24.688l-2.249 25.197L15.985 30L5.902 27.201z"></path><path fill="#33a9dc" d="m16 27.858l8.17-2.265l1.922-21.532H16v23.797z"></path><path fill="#fff" d="M16 13.191h4.09l.282-3.165H16V6.935h7.75l-.074.829l-.759 8.518H16v-3.091z"></path><path fill="#ebebeb" d="m16.019 21.218l-.014.004l-3.442-.93l-.22-2.465H9.24l.433 4.853l6.331 1.758l.015-.004v-3.216z"></path><path fill="#fff" d="m19.827 16.151l-.372 4.139l-3.447.93v3.216l6.336-1.756l.047-.522l.537-6.007h-3.101z"></path><path fill="#ebebeb" d="M16.011 6.935v3.091H8.545l-.062-.695l-.141-1.567l-.074-.829h7.743zM16 13.191v3.091h-3.399l-.062-.695l-.14-1.567l-.074-.829H16z"></path>',
|
|
184
|
-
javascript: '<path fill="#f5de19" d="M2 2h28v28H2z"></path><path d="M20.809 23.875a2.866 2.866 0 0 0 2.6 1.6c1.09 0 1.787-.545 1.787-1.3c0-.9-.716-1.222-1.916-1.747l-.658-.282c-1.9-.809-3.16-1.822-3.16-3.964c0-1.973 1.5-3.476 3.853-3.476a3.889 3.889 0 0 1 3.742 2.107L25 18.128A1.789 1.789 0 0 0 23.311 17a1.145 1.145 0 0 0-1.259 1.128c0 .789.489 1.109 1.618 1.6l.658.282c2.236.959 3.5 1.936 3.5 4.133c0 2.369-1.861 3.667-4.36 3.667a5.055 5.055 0 0 1-4.795-2.691Zm-9.295.228c.413.733.789 1.353 1.693 1.353c.864 0 1.41-.338 1.41-1.653v-8.947h2.631v8.982c0 2.724-1.6 3.964-3.929 3.964a4.085 4.085 0 0 1-3.947-2.4Z"></path>',
|
|
185
|
-
json: '<path fill="currentColor" d="M31 11v10h-2l-2-6v6h-2V11h2l2 6v-6h2zm-9.666 10h-2.667A1.668 1.668 0 0 1 17 19.334v-6.667A1.668 1.668 0 0 1 18.666 11h2.667A1.668 1.668 0 0 1 23 12.666v6.667A1.668 1.668 0 0 1 21.334 21zM19 19h2v-6h-2zm-5.666 2H9v-2h4v-2h-2a2.002 2.002 0 0 1-2-2v-2.334A1.668 1.668 0 0 1 10.666 11H15v2h-4v2h2a2.002 2.002 0 0 1 2 2v2.333A1.668 1.668 0 0 1 13.334 21zm-8 0H2.667A1.668 1.668 0 0 1 1 19.334V17h2v2h2v-8h2v8.334A1.668 1.668 0 0 1 5.333 21z"></path>'
|
|
186
|
-
}, z = {
|
|
187
|
-
name: "Tabs",
|
|
188
|
-
props: {
|
|
189
|
-
value: {
|
|
190
|
-
type: String,
|
|
191
|
-
default: ""
|
|
192
|
-
},
|
|
193
|
-
items: {
|
|
194
|
-
type: Array,
|
|
195
|
-
default: () => []
|
|
196
|
-
},
|
|
197
|
-
hLayout: {
|
|
198
|
-
type: Boolean,
|
|
199
|
-
default: !1
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
data() {
|
|
203
|
-
return {
|
|
204
|
-
icons: S
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
var k = function() {
|
|
209
|
-
var t = this, s = t._self._c;
|
|
210
|
-
return s("div", { staticClass: "tabs-root" }, [s("div", { staticClass: "simple-btn", on: { click: function(i) {
|
|
211
|
-
return t.$emit("close");
|
|
212
|
-
} } }, [s("BaseIcon", { attrs: { type: "x", size: "18" } })], 1), t._l(t.items, function(i) {
|
|
213
|
-
return s("div", { key: i.value, staticClass: "tab-item", class: {
|
|
214
|
-
"tab-item-active": t.value === i.value
|
|
215
|
-
}, on: { click: function(c) {
|
|
216
|
-
return t.$emit("input", i.value);
|
|
217
|
-
} } }, [s("svg", { staticStyle: { "margin-right": "0.5em" }, attrs: { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "18", height: "18", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 32 32" }, domProps: { innerHTML: t._s(t.icons[i.value]) } }), s("span", { domProps: { textContent: t._s(i.text) } })]);
|
|
218
|
-
}), s("div", { staticClass: "simple-btn", staticStyle: { "margin-left": "auto" }, on: { click: function(i) {
|
|
219
|
-
return t.$emit("update:hLayout", !t.hLayout);
|
|
220
|
-
} } }, [s("BaseIcon", { staticStyle: { transition: "transform 150ms" }, style: {
|
|
221
|
-
transform: t.hLayout ? "rotate(0deg)" : "rotate(90deg)"
|
|
222
|
-
}, attrs: { type: "layout", size: "18" } })], 1)], 2);
|
|
223
|
-
}, C = [], j = /* @__PURE__ */ l(
|
|
224
|
-
z,
|
|
225
|
-
k,
|
|
226
|
-
C,
|
|
227
|
-
!1,
|
|
228
|
-
null,
|
|
229
|
-
"3fb18927",
|
|
230
|
-
null,
|
|
231
|
-
null
|
|
232
|
-
);
|
|
233
|
-
const $ = j.exports, L = {
|
|
179
|
+
}, S = {
|
|
234
180
|
name: "MonacoEditor",
|
|
235
181
|
props: {
|
|
236
182
|
value: String,
|
|
@@ -273,7 +219,7 @@ const $ = j.exports, L = {
|
|
|
273
219
|
}
|
|
274
220
|
},
|
|
275
221
|
components: {
|
|
276
|
-
WithDimensions:
|
|
222
|
+
WithDimensions: m
|
|
277
223
|
},
|
|
278
224
|
watch: {
|
|
279
225
|
options: {
|
|
@@ -310,7 +256,7 @@ const $ = j.exports, L = {
|
|
|
310
256
|
(e = this.editor) == null || e.dispose(), (s = (t = this.codeChangeEmitter) == null ? void 0 : t.cancel) == null || s.call(t);
|
|
311
257
|
},
|
|
312
258
|
render(e) {
|
|
313
|
-
return e(
|
|
259
|
+
return e(m, {
|
|
314
260
|
on: {
|
|
315
261
|
width: () => {
|
|
316
262
|
var t;
|
|
@@ -325,7 +271,7 @@ const $ = j.exports, L = {
|
|
|
325
271
|
},
|
|
326
272
|
methods: {
|
|
327
273
|
async loadMonaco() {
|
|
328
|
-
await
|
|
274
|
+
await p("https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/loader.js");
|
|
329
275
|
const e = {
|
|
330
276
|
paths: {
|
|
331
277
|
vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs"
|
|
@@ -333,7 +279,7 @@ const $ = j.exports, L = {
|
|
|
333
279
|
};
|
|
334
280
|
await new Promise((t, s) => {
|
|
335
281
|
window.require.config(e), window.require(["vs/editor/editor.main"], t, s);
|
|
336
|
-
}), await
|
|
282
|
+
}), await p("https://cdn.jsdelivr.net/npm/emmet-monaco-es@5.1.0/dist/emmet-monaco.js");
|
|
337
283
|
},
|
|
338
284
|
initMonaco() {
|
|
339
285
|
window.emmetMonaco.emmetHTML(window.monaco), window.emmetMonaco.emmetCSS(window.monaco);
|
|
@@ -375,9 +321,65 @@ const $ = j.exports, L = {
|
|
|
375
321
|
this.$emit("change", e, t), this.$emit("input", e);
|
|
376
322
|
}
|
|
377
323
|
}
|
|
324
|
+
}, z = {
|
|
325
|
+
html: '<path fill="#e44f26" d="M5.902 27.201L3.655 2h24.69l-2.25 25.197L15.985 30L5.902 27.201z"></path><path fill="#f1662a" d="m16 27.858l8.17-2.265l1.922-21.532H16v23.797z"></path><path fill="#ebebeb" d="M16 13.407h-4.09l-.282-3.165H16V7.151H8.25l.074.83l.759 8.517H16v-3.091zm0 8.027l-.014.004l-3.442-.929l-.22-2.465H9.221l.433 4.852l6.332 1.758l.014-.004v-3.216z"></path><path fill="#fff" d="M15.989 13.407v3.091h3.806l-.358 4.009l-3.448.93v3.216l6.337-1.757l.046-.522l.726-8.137l.076-.83h-7.185zm0-6.256v3.091h7.466l.062-.694l.141-1.567l.074-.83h-7.743z"></path>',
|
|
326
|
+
css: '<path fill="#1572b6" d="M5.902 27.201L3.656 2h24.688l-2.249 25.197L15.985 30L5.902 27.201z"></path><path fill="#33a9dc" d="m16 27.858l8.17-2.265l1.922-21.532H16v23.797z"></path><path fill="#fff" d="M16 13.191h4.09l.282-3.165H16V6.935h7.75l-.074.829l-.759 8.518H16v-3.091z"></path><path fill="#ebebeb" d="m16.019 21.218l-.014.004l-3.442-.93l-.22-2.465H9.24l.433 4.853l6.331 1.758l.015-.004v-3.216z"></path><path fill="#fff" d="m19.827 16.151l-.372 4.139l-3.447.93v3.216l6.336-1.756l.047-.522l.537-6.007h-3.101z"></path><path fill="#ebebeb" d="M16.011 6.935v3.091H8.545l-.062-.695l-.141-1.567l-.074-.829h7.743zM16 13.191v3.091h-3.399l-.062-.695l-.14-1.567l-.074-.829H16z"></path>',
|
|
327
|
+
javascript: '<path fill="#f5de19" d="M2 2h28v28H2z"></path><path d="M20.809 23.875a2.866 2.866 0 0 0 2.6 1.6c1.09 0 1.787-.545 1.787-1.3c0-.9-.716-1.222-1.916-1.747l-.658-.282c-1.9-.809-3.16-1.822-3.16-3.964c0-1.973 1.5-3.476 3.853-3.476a3.889 3.889 0 0 1 3.742 2.107L25 18.128A1.789 1.789 0 0 0 23.311 17a1.145 1.145 0 0 0-1.259 1.128c0 .789.489 1.109 1.618 1.6l.658.282c2.236.959 3.5 1.936 3.5 4.133c0 2.369-1.861 3.667-4.36 3.667a5.055 5.055 0 0 1-4.795-2.691Zm-9.295.228c.413.733.789 1.353 1.693 1.353c.864 0 1.41-.338 1.41-1.653v-8.947h2.631v8.982c0 2.724-1.6 3.964-3.929 3.964a4.085 4.085 0 0 1-3.947-2.4Z"></path>',
|
|
328
|
+
json: '<path fill="currentColor" d="M31 11v10h-2l-2-6v6h-2V11h2l2 6v-6h2zm-9.666 10h-2.667A1.668 1.668 0 0 1 17 19.334v-6.667A1.668 1.668 0 0 1 18.666 11h2.667A1.668 1.668 0 0 1 23 12.666v6.667A1.668 1.668 0 0 1 21.334 21zM19 19h2v-6h-2zm-5.666 2H9v-2h4v-2h-2a2.002 2.002 0 0 1-2-2v-2.334A1.668 1.668 0 0 1 10.666 11H15v2h-4v2h2a2.002 2.002 0 0 1 2 2v2.333A1.668 1.668 0 0 1 13.334 21zm-8 0H2.667A1.668 1.668 0 0 1 1 19.334V17h2v2h2v-8h2v8.334A1.668 1.668 0 0 1 5.333 21z"></path>'
|
|
329
|
+
}, k = {
|
|
330
|
+
name: "Tabs",
|
|
331
|
+
props: {
|
|
332
|
+
value: {
|
|
333
|
+
type: String,
|
|
334
|
+
default: ""
|
|
335
|
+
},
|
|
336
|
+
items: {
|
|
337
|
+
type: Array,
|
|
338
|
+
default: () => []
|
|
339
|
+
},
|
|
340
|
+
hLayout: {
|
|
341
|
+
type: Boolean,
|
|
342
|
+
default: !1
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
data() {
|
|
346
|
+
return {
|
|
347
|
+
icons: z
|
|
348
|
+
};
|
|
349
|
+
}
|
|
378
350
|
};
|
|
379
|
-
|
|
351
|
+
var C = function() {
|
|
352
|
+
var t = this, s = t._self._c;
|
|
353
|
+
return s("div", { staticClass: "tabs-root" }, [s("div", { staticClass: "simple-btn", on: { click: function(i) {
|
|
354
|
+
return t.$emit("close");
|
|
355
|
+
} } }, [s("CIcon", { attrs: { type: "x", size: "18" } })], 1), t._l(t.items, function(i) {
|
|
356
|
+
return s("div", { key: i.value, staticClass: "tab-item", class: {
|
|
357
|
+
"tab-item-active": t.value === i.value
|
|
358
|
+
}, on: { click: function(c) {
|
|
359
|
+
return t.$emit("input", i.value);
|
|
360
|
+
} } }, [s("svg", { staticStyle: { "margin-right": "0.5em" }, attrs: { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "18", height: "18", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 32 32" }, domProps: { innerHTML: t._s(t.icons[i.value]) } }), s("span", { domProps: { textContent: t._s(i.text) } })]);
|
|
361
|
+
}), s("div", { staticClass: "simple-btn", staticStyle: { "margin-left": "auto" }, on: { click: function(i) {
|
|
362
|
+
return t.$emit("update:hLayout", !t.hLayout);
|
|
363
|
+
} } }, [s("CIcon", { staticStyle: { transition: "transform 150ms" }, style: {
|
|
364
|
+
transform: t.hLayout ? "rotate(0deg)" : "rotate(90deg)"
|
|
365
|
+
}, attrs: { type: "layout", size: "18" } })], 1)], 2);
|
|
366
|
+
}, j = [], $ = /* @__PURE__ */ l(
|
|
367
|
+
k,
|
|
368
|
+
C,
|
|
369
|
+
j,
|
|
370
|
+
!1,
|
|
371
|
+
null,
|
|
372
|
+
"2b587c3e"
|
|
373
|
+
);
|
|
374
|
+
const L = $.exports, V = {
|
|
380
375
|
name: "CustomModal",
|
|
376
|
+
components: {
|
|
377
|
+
Tabs: L,
|
|
378
|
+
MonacoEditor: S,
|
|
379
|
+
Splitpanes: v,
|
|
380
|
+
Pane: y,
|
|
381
|
+
CustomView: f
|
|
382
|
+
},
|
|
381
383
|
props: {
|
|
382
384
|
_document: {
|
|
383
385
|
type: Object,
|
|
@@ -396,13 +398,6 @@ const T = {
|
|
|
396
398
|
default: ""
|
|
397
399
|
}
|
|
398
400
|
},
|
|
399
|
-
components: {
|
|
400
|
-
Tabs: $,
|
|
401
|
-
MonacoEditor: L,
|
|
402
|
-
Splitpanes: y,
|
|
403
|
-
Pane: w,
|
|
404
|
-
CustomView: f
|
|
405
|
-
},
|
|
406
401
|
data() {
|
|
407
402
|
return {
|
|
408
403
|
hLayout: !1,
|
|
@@ -433,14 +428,14 @@ const T = {
|
|
|
433
428
|
}
|
|
434
429
|
}
|
|
435
430
|
};
|
|
436
|
-
var
|
|
431
|
+
var T = function() {
|
|
437
432
|
var t = this, s = t._self._c;
|
|
438
|
-
return s("portal", { attrs: { to: "modal" } }, [s("modal", { attrs: { name: t.modalName, adaptive: !0, width: "100%", height: "100%", classes: "overflow-visible primary" } }, [s("Splitpanes", { staticClass: "root font-inter", attrs: { horizontal: t.hLayout } }, [s("Pane", [s("Tabs", { attrs: { items: t.items, "h-layout": t.hLayout }, on: {
|
|
439
|
-
return t.$modal.hide(t.modalName);
|
|
440
|
-
}, "update:hLayout": function(i) {
|
|
433
|
+
return s("portal", { attrs: { to: "modal" } }, [s("modal", { attrs: { name: t.modalName, adaptive: !0, width: "100%", height: "100%", classes: "overflow-visible primary" } }, [s("Splitpanes", { staticClass: "root font-inter", attrs: { horizontal: t.hLayout } }, [s("Pane", [s("Tabs", { attrs: { items: t.items, "h-layout": t.hLayout }, on: { "update:hLayout": function(i) {
|
|
441
434
|
t.hLayout = i;
|
|
442
435
|
}, "update:h-layout": function(i) {
|
|
443
436
|
t.hLayout = i;
|
|
437
|
+
}, close: function(i) {
|
|
438
|
+
return t.$modal.hide(t.modalName);
|
|
444
439
|
} }, model: { value: t.currentTab, callback: function(i) {
|
|
445
440
|
t.currentTab = i;
|
|
446
441
|
}, expression: "currentTab" } }), s("MonacoEditor", { staticStyle: { width: "100%", height: "100%" }, attrs: { language: t.currentTab, value: t.currentValue, disabled: t.currentItem.disabled }, on: { change: function(i) {
|
|
@@ -449,17 +444,14 @@ var V = function() {
|
|
|
449
444
|
i.stopPropagation();
|
|
450
445
|
} } })], 1), s("Pane", [s("div", { staticStyle: { height: "100%", width: "100%", overflow: "auto" } }, [s("CustomView", { attrs: { html: t.html, css: t.css, javascript: t.javascript, _document: t._document } })], 1)])], 1)], 1)], 1);
|
|
451
446
|
}, E = [], H = /* @__PURE__ */ l(
|
|
452
|
-
T,
|
|
453
447
|
V,
|
|
448
|
+
T,
|
|
454
449
|
E,
|
|
455
450
|
!1,
|
|
456
451
|
null,
|
|
457
|
-
"
|
|
458
|
-
null,
|
|
459
|
-
null
|
|
452
|
+
"34c1270f"
|
|
460
453
|
);
|
|
461
|
-
const O = H.exports
|
|
462
|
-
const r = v(), D = {
|
|
454
|
+
const O = H.exports, r = b(), D = {
|
|
463
455
|
components: {
|
|
464
456
|
CustomView: f,
|
|
465
457
|
CustomModal: O
|
|
@@ -553,17 +545,15 @@ var P = function() {
|
|
|
553
545
|
}, "update:javascript": function(i) {
|
|
554
546
|
t.javascript = i;
|
|
555
547
|
} } })], 2);
|
|
556
|
-
}, R = [],
|
|
548
|
+
}, R = [], U = /* @__PURE__ */ l(
|
|
557
549
|
D,
|
|
558
550
|
P,
|
|
559
551
|
R,
|
|
560
552
|
!1,
|
|
561
553
|
null,
|
|
562
|
-
null,
|
|
563
|
-
null,
|
|
564
554
|
null
|
|
565
555
|
);
|
|
566
|
-
const
|
|
556
|
+
const W = U.exports;
|
|
567
557
|
export {
|
|
568
|
-
|
|
558
|
+
W as default
|
|
569
559
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { n as t } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { n as t } from "./main-DdTHuJSP.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "ExtraWorkConstructionPricingList",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-Cp6jRq1R.js"),
|
|
7
|
+
Edit: () => import("./Index-sfUDC-CQ.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [
|
|
10
10
|
n([
|
|
@@ -24,11 +24,9 @@ var c = function() {
|
|
|
24
24
|
m,
|
|
25
25
|
!1,
|
|
26
26
|
null,
|
|
27
|
-
"b31d846d"
|
|
28
|
-
null,
|
|
29
|
-
null
|
|
27
|
+
"b31d846d"
|
|
30
28
|
);
|
|
31
|
-
const
|
|
29
|
+
const _ = i.exports;
|
|
32
30
|
export {
|
|
33
|
-
|
|
31
|
+
_ as default
|
|
34
32
|
};
|
|
@@ -1,27 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "./formDrawerState-b99be3a7.js";
|
|
7
|
-
import "./color-c1606adc.js";
|
|
8
|
-
import "./tippy.esm-1b89bf69.js";
|
|
9
|
-
import "./ColorPicker-65a47379.js";
|
|
10
|
-
import "./DocumentLayout-4005baa4.js";
|
|
11
|
-
import "./debounce-f8aeabc5.js";
|
|
12
|
-
import "./CDropdownItem-7e71da85.js";
|
|
13
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
|
|
14
|
-
import "./dom-962579a6.js";
|
|
15
|
-
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
16
|
-
import "./ManualPopover-d7c2a780.js";
|
|
1
|
+
import { m as s } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { B as c } from "./BlockMedia-BjasKSPl.js";
|
|
3
|
+
import { T as a } from "./DocTextEditor-C-22iwpJ.js";
|
|
4
|
+
import { f as n } from "./focusDrawerMixin-JAewKqED.js";
|
|
5
|
+
import { b as i, w as l, x as v, y as d, M as u, n as m } from "./main-DdTHuJSP.js";
|
|
17
6
|
const _ = {
|
|
18
7
|
name: "CoverBlock",
|
|
19
8
|
components: {
|
|
20
|
-
BlockMedia:
|
|
21
|
-
TextEditor:
|
|
22
|
-
CoverBlockSettings: () => import("./CoverBlockSettings-
|
|
9
|
+
BlockMedia: c,
|
|
10
|
+
TextEditor: a,
|
|
11
|
+
CoverBlockSettings: () => import("./CoverBlockSettings-BKSeVFDE.js")
|
|
23
12
|
},
|
|
24
|
-
mixins: [
|
|
13
|
+
mixins: [s(["coverBlock"]), n],
|
|
25
14
|
inject: ["parentSize"],
|
|
26
15
|
data() {
|
|
27
16
|
return {
|
|
@@ -31,15 +20,15 @@ const _ = {
|
|
|
31
20
|
computed: {
|
|
32
21
|
text: {
|
|
33
22
|
get() {
|
|
34
|
-
const t =
|
|
35
|
-
return this.canEdit ?
|
|
23
|
+
const t = i(this, "coverBlock.text", "");
|
|
24
|
+
return this.canEdit ? l(
|
|
36
25
|
t,
|
|
37
26
|
this._document.textTemplateMap,
|
|
38
27
|
this._document._doc
|
|
39
|
-
) :
|
|
28
|
+
) : v(t, this._document._doc);
|
|
40
29
|
},
|
|
41
30
|
set(t) {
|
|
42
|
-
this.setValue({ key: "text", value:
|
|
31
|
+
this.setValue({ key: "text", value: d(t) });
|
|
43
32
|
}
|
|
44
33
|
},
|
|
45
34
|
media() {
|
|
@@ -49,7 +38,7 @@ const _ = {
|
|
|
49
38
|
},
|
|
50
39
|
methods: {
|
|
51
40
|
setValue({ key: t, value: e }) {
|
|
52
|
-
this.coverBlock =
|
|
41
|
+
this.coverBlock = u(this.coverBlock, t, e);
|
|
53
42
|
},
|
|
54
43
|
onAdd() {
|
|
55
44
|
const t = () => this.$refs.editor.focus();
|
|
@@ -81,17 +70,15 @@ var p = function() {
|
|
|
81
70
|
} } }), o("div", { staticClass: "footer-button", attrs: { slot: "footer" }, slot: "footer" }, [o("CButton", { attrs: { type: "danger", pattern: "tertiary", wide: "" }, on: { click: function(r) {
|
|
82
71
|
return e.$emit("section-remove");
|
|
83
72
|
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)], 1) : e._e()] : e._e()], 2);
|
|
84
|
-
}, f = [], k = /* @__PURE__ */
|
|
73
|
+
}, f = [], k = /* @__PURE__ */ m(
|
|
85
74
|
_,
|
|
86
75
|
p,
|
|
87
76
|
f,
|
|
88
77
|
!1,
|
|
89
78
|
null,
|
|
90
|
-
"
|
|
91
|
-
null,
|
|
92
|
-
null
|
|
79
|
+
"a29fb39a"
|
|
93
80
|
);
|
|
94
|
-
const
|
|
81
|
+
const g = k.exports;
|
|
95
82
|
export {
|
|
96
|
-
|
|
83
|
+
g as default
|
|
97
84
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as e } from "./mapFormMixin-
|
|
2
|
-
import { n as r } from "./main-
|
|
1
|
+
import { m as e } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { n as r } from "./main-DdTHuJSP.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "EstimatedWorkStartAndEndAtText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-DFtgMiak.js"),
|
|
7
|
+
Edit: () => import("./Index-DGZ31KnZ.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [e(["startAt", "endAt"])]
|
|
10
10
|
};
|
|
@@ -17,11 +17,9 @@ var s = function() {
|
|
|
17
17
|
o,
|
|
18
18
|
!1,
|
|
19
19
|
null,
|
|
20
|
-
null,
|
|
21
|
-
null,
|
|
22
20
|
null
|
|
23
21
|
);
|
|
24
|
-
const
|
|
22
|
+
const c = m.exports;
|
|
25
23
|
export {
|
|
26
|
-
|
|
24
|
+
c as default
|
|
27
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { C as b } from "./CPhoneFormat-
|
|
1
|
+
import { m as C } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { n as f, b as _ } from "./main-DdTHuJSP.js";
|
|
3
|
+
import { C as b } from "./CPhoneFormat-CWaOjZ6c.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
name: "DocPartiesItem",
|
|
6
6
|
components: {
|
|
@@ -32,20 +32,17 @@ var w = function() {
|
|
|
32
32
|
} }, [t("span", { on: { click: function(a) {
|
|
33
33
|
return e.$emit("click");
|
|
34
34
|
} } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
|
|
35
|
-
},
|
|
35
|
+
}, k = [], x = /* @__PURE__ */ f(
|
|
36
36
|
$,
|
|
37
37
|
w,
|
|
38
|
-
|
|
38
|
+
k,
|
|
39
39
|
!1,
|
|
40
40
|
null,
|
|
41
|
-
"9bad68ca"
|
|
42
|
-
null,
|
|
43
|
-
null
|
|
41
|
+
"9bad68ca"
|
|
44
42
|
);
|
|
45
|
-
const S =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
company: () => import("./CompanyModal-564e2b35.js")
|
|
43
|
+
const S = x.exports, F = {
|
|
44
|
+
client: () => import("./ClientModal-JsCpUq7_.js"),
|
|
45
|
+
company: () => import("./CompanyModal-Cy41VR2V.js")
|
|
49
46
|
}, I = {
|
|
50
47
|
i18nOptions: {
|
|
51
48
|
namespaces: "components"
|
|
@@ -53,7 +50,7 @@ const F = {
|
|
|
53
50
|
name: "DocParties",
|
|
54
51
|
components: {
|
|
55
52
|
DocPartiesItem: S,
|
|
56
|
-
AddClientCallout: () => import("./AddClientCallout-
|
|
53
|
+
AddClientCallout: () => import("./AddClientCallout-D9a9MCUX.js")
|
|
57
54
|
},
|
|
58
55
|
mixins: [C()],
|
|
59
56
|
props: {
|
|
@@ -84,7 +81,7 @@ const F = {
|
|
|
84
81
|
email: u,
|
|
85
82
|
addresses: l,
|
|
86
83
|
hasFSkatt: v,
|
|
87
|
-
hasInsurance:
|
|
84
|
+
hasInsurance: h
|
|
88
85
|
} = t, c = d === "individual", o = l && (l.standard || l.work);
|
|
89
86
|
o && (o.formKey = l.standard ? "street" : "workStreet");
|
|
90
87
|
const g = [
|
|
@@ -118,7 +115,7 @@ const F = {
|
|
|
118
115
|
type: "phone",
|
|
119
116
|
value: {
|
|
120
117
|
cellphone: m,
|
|
121
|
-
region: y ||
|
|
118
|
+
region: y || _(this._document, "sender.company.region", "")
|
|
122
119
|
},
|
|
123
120
|
formKey: "cellphone"
|
|
124
121
|
},
|
|
@@ -131,9 +128,9 @@ const F = {
|
|
|
131
128
|
return v && p.push({
|
|
132
129
|
label: this._document.$t("chapters.parties.fTax"),
|
|
133
130
|
value: v
|
|
134
|
-
}),
|
|
131
|
+
}), h && p.push({
|
|
135
132
|
label: this._document.$t("chapters.parties.allRiskAndLiability"),
|
|
136
|
-
value:
|
|
133
|
+
value: h
|
|
137
134
|
}), {
|
|
138
135
|
main: g,
|
|
139
136
|
checks: p
|
|
@@ -142,7 +139,7 @@ const F = {
|
|
|
142
139
|
}
|
|
143
140
|
},
|
|
144
141
|
created() {
|
|
145
|
-
|
|
142
|
+
_(this, "_value.parties", "") !== "clients" && (this.type = "company");
|
|
146
143
|
},
|
|
147
144
|
methods: {
|
|
148
145
|
openModal({ formKey: n, index: e } = {}) {
|
|
@@ -216,9 +213,7 @@ var P = function() {
|
|
|
216
213
|
D,
|
|
217
214
|
!1,
|
|
218
215
|
null,
|
|
219
|
-
"
|
|
220
|
-
null,
|
|
221
|
-
null
|
|
216
|
+
"e5a143d9"
|
|
222
217
|
);
|
|
223
218
|
const N = M.exports;
|
|
224
219
|
export {
|