@cling-se/widget 0.21.4 → 0.22.2

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.
Files changed (129) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CtfDZ5iE.js} +7 -7
  3. package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-DER90JgH.js} +935 -651
  4. package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-CFxoxFwU.js} +9 -9
  5. package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-D3vsnEbC.js} +2 -2
  6. package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-CrmRCTpi.js} +1 -1
  7. package/dist/{CCallout-wp8bWld3.js → CCallout-B86E6HJd.js} +5 -5
  8. package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
  9. package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-BU65rYaX.js} +8 -8
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +13 -13
  11. package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CSys3pPM.js} +1 -1
  12. package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-hF_VGitf.js} +5 -5
  13. package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-CLM3EzaL.js} +2 -2
  14. package/dist/{CSelect-DDYAe8O9.js → CSelect-DsoRaNYd.js} +5 -5
  15. package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-B0wL3--W.js} +7 -7
  16. package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-qkpa-KG_.js} +16 -16
  17. package/dist/{ClientModal-C3UbUFjz.js → ClientModal-BHUD-VYM.js} +135 -127
  18. package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-uVefUdOd.js} +21 -21
  19. package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-C38jvSZX.js} +66 -67
  20. package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Du0rszAK.js} +15 -15
  21. package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-DqKNt5cM.js} +19 -19
  22. package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Bm6FQnu7.js} +2 -2
  23. package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Cg1EQ2xc.js} +100 -94
  24. package/dist/{DocForm-YI0UG4lv.js → DocForm-DUjeY7qQ.js} +440 -438
  25. package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-B8x93Oo_.js} +2 -2
  26. package/dist/{DocLinks-CPhh8hox.js → DocLinks-bnZCCfQJ.js} +2 -2
  27. package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-CwuAA5_c.js} +1 -1
  28. package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-DkmwNCYi.js} +9 -9
  29. package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-BzrwYz7z.js} +111 -81
  30. package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder--ZuTWwRa.js} +1 -1
  31. package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-CblX6a9b.js} +8 -8
  32. package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-C3cx2eIz.js} +6 -6
  33. package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-B9yEPQ1U.js} +5 -5
  34. package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-BMgU3m7Q.js} +32 -32
  35. package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-BBA1HLK3.js} +31 -34
  36. package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-AL_vXoWD.js} +1 -1
  37. package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-BHy9NMjl.js} +18 -18
  38. package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-DwcY0r8D.js} +5 -5
  39. package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-DKV9zW1H.js} +4 -4
  40. package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-DEoFvxri.js} +2 -2
  41. package/dist/{Flag-U3wm6frF.js → Flag-BZ7C12iN.js} +1 -1
  42. package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-Bsj1JZNt.js} +20 -20
  43. package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-Dd9le6p5.js} +3 -3
  44. package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-DY9TKhpB.js} +23 -23
  45. package/dist/{Index-DZzmEObV.js → Index-4ZB096MF.js} +9 -9
  46. package/dist/{Index-B0js1lQ9.js → Index-B1HU3FW8.js} +11 -11
  47. package/dist/{Index-hzFkpPtu.js → Index-B3S-W2Du.js} +26 -26
  48. package/dist/{Index-cb83jmmP.js → Index-B8v_k79U.js} +4 -4
  49. package/dist/{Index-jCDreJV4.js → Index-BPua2gSJ.js} +5 -5
  50. package/dist/{Index-UkLmXQf7.js → Index-BSDQejtT.js} +10 -10
  51. package/dist/{Index-Bh58_V98.js → Index-BW4sv9So.js} +5 -5
  52. package/dist/{Index-gZpXuLSM.js → Index-BWog4DkS.js} +2 -2
  53. package/dist/{Index-DIfpkUtR.js → Index-BZ5ZfAMl.js} +8 -8
  54. package/dist/Index-BfMZgBeX.js +4 -0
  55. package/dist/{Index-BBnlZtoe.js → Index-Bx8Dt9rr.js} +5 -5
  56. package/dist/{Index-BQUdVuCj.js → Index-C9W7656O.js} +8 -8
  57. package/dist/{Index-DwAyOR71.js → Index-CB7F-c3z.js} +3 -3
  58. package/dist/{Index-ZNidoNys.js → Index-CEg8sUf6.js} +2 -2
  59. package/dist/{Index-z6FhBfRg.js → Index-CEm7_7xb.js} +2 -2
  60. package/dist/{Index-011UWI-5.js → Index-CGDHE6Q9.js} +3 -3
  61. package/dist/{Index-Dmd9h-QW.js → Index-CadObAqC.js} +3 -3
  62. package/dist/{Index-C-Y_FGIG.js → Index-Cazuortx.js} +30 -30
  63. package/dist/{Index-BPE5xozF.js → Index-Cfh_uoVu.js} +1 -1
  64. package/dist/{Index-D8T4ZAGK.js → Index-D9S6btwh.js} +4 -4
  65. package/dist/{Index-BOxSyAOT.js → Index-DCeSSD89.js} +4 -4
  66. package/dist/{Index-C8tXlpnc.js → Index-DLzhjgNh.js} +4 -4
  67. package/dist/{Index-BbINQ0SU.js → Index-Da3NMw99.js} +1 -1
  68. package/dist/{Index-06RLiHU7.js → Index-DiQG7Yys.js} +8 -8
  69. package/dist/{Index-DND_3eOV.js → Index-DkuudM32.js} +14 -14
  70. package/dist/{Index-C6eCTYlb.js → Index-DpNsBSK5.js} +7 -7
  71. package/dist/{Index-BNrnEteM.js → Index-DsAM46X9.js} +6 -6
  72. package/dist/{Index-BZ3G8u4L.js → Index-IOHmUaDV.js} +16 -16
  73. package/dist/{Index-HpvIqyQK.js → Index-N95Kg_Bu.js} +4 -4
  74. package/dist/Index-T8YnqXUP.js +106 -0
  75. package/dist/{Index-C9yjlO_o.js → Index-bSfn5DlT.js} +13 -13
  76. package/dist/{Index-AOzEiDJ6.js → Index-hOzI3WwH.js} +2 -2
  77. package/dist/{Index-Lr-w-2nq.js → Index-lxyzCTwv.js} +28 -28
  78. package/dist/{Index-DspgGnIy.js → Index-usMDK34R.js} +6 -6
  79. package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
  80. package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DX08yhB8.js} +9 -9
  81. package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-DjkDQLEk.js} +3 -3
  82. package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-BRDS1uEY.js} +3 -3
  83. package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-gttVLkSY.js} +2 -2
  84. package/dist/{PackageGroup-DonphykF.js → PackageGroup-DqCNizOl.js} +10 -10
  85. package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-9EF-oTZV.js} +4 -4
  86. package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-fgokwyxy.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
  88. package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-DBiTZGL4.js} +25 -25
  89. package/dist/{SearchApi-B2ED3FdK.js → SearchApi-DP2NKS7Z.js} +1 -1
  90. package/dist/{SendForm-Bz1AN65o.js → SendForm-Dx-meiU3.js} +451 -421
  91. package/dist/{Setup-BIa-5REE.js → Setup-KZckFxmn.js} +1 -1
  92. package/dist/{SmartList-C9DXNnNX.js → SmartList-C7tf3UFs.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +35 -35
  94. package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-O43bydwI.js} +11 -11
  95. package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-BiIviRnJ.js} +5 -5
  96. package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-DNh6J5WO.js} +4 -4
  97. package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BLnwHEtM.js} +2 -2
  98. package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-CDSsWKbt.js} +6 -6
  99. package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-9e0rWXBn.js} +6 -6
  100. package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-DdmGQUJs.js} +9 -9
  101. package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
  102. package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-VO67JhNj.js} +1 -1
  103. package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-C6LfSfkU.js} +1 -1
  104. package/dist/{helpers-vOT4bDZk.js → helpers-DdvMGJyI.js} +1 -1
  105. package/dist/{index-aqgR0F9F.js → index--tMYYuEo.js} +30 -30
  106. package/dist/{index-C_k-2pHu.js → index-BtdoM5zU.js} +7 -7
  107. package/dist/{index-BinehglS.js → index-C6t6B42B.js} +26 -25
  108. package/dist/{index-DIxSHthq.js → index-CYrm4Bbf.js} +1 -1
  109. package/dist/{index-DSDwk2v_.js → index-Cn5TO9wL.js} +6 -6
  110. package/dist/{index-Cm9MF5Ro.js → index-DrxPFi0q.js} +22 -22
  111. package/dist/{index-BtZlk67X.js → index-SreRcZHY.js} +13 -13
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +151 -149
  114. package/dist/{main-CCA1EgK_.js → main-BI2UvBxx.js} +8359 -8142
  115. package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-DmIyfVCN.js} +2 -2
  116. package/dist/omit-FBv_EXqi.js +56 -0
  117. package/dist/{splitpanes-B5GGsG65.js → splitpanes-CpTZw8TJ.js} +1 -1
  118. package/dist/{template-BTmi3cQk.js → template-B4OhhS85.js} +1 -1
  119. package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-D5nfFX7g.js} +66 -66
  120. package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-CvdV0cT0.js} +4 -4
  121. package/dist/{utils-DLVtsRRz.js → utils-Blt-S487.js} +1 -1
  122. package/dist/validation-ZZ0eQUj2.js +40 -0
  123. package/dist/widget.css +1 -1
  124. package/package.json +1 -1
  125. package/dist/Index-1MRJMA0V.js +0 -4
  126. package/dist/Index-DGkk540X.js +0 -87
  127. package/dist/omit-sqUJ46Re.js +0 -56
  128. package/dist/publicSenderState-CSYveOTQ.js +0 -21
  129. package/dist/validation-DGxGtXMe.js +0 -40
@@ -0,0 +1,106 @@
1
+ import { m as k } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { E as w } from "./ErrorCallout-DKV9zW1H.js";
3
+ import { f as g } from "./focusDrawerMixin-Cz1mPbI5.js";
4
+ import { u as $ } from "./index-SreRcZHY.js";
5
+ import { _ as F, n as u, b as s, a5 as S, d, e as r, o as n, f as c, F as _, v as B, c as i, w as D } from "./main-BI2UvBxx.js";
6
+ const E = {
7
+ name: "Terms",
8
+ i18nOptions: {
9
+ namespaces: "terms",
10
+ messages: {
11
+ en: {
12
+ noneSelected: "No terms selected"
13
+ },
14
+ sv: {
15
+ noneSelected: "Inga villkor valda"
16
+ }
17
+ }
18
+ },
19
+ components: {
20
+ Read: u(() => import("./Index-4ZB096MF.js")),
21
+ TermsSettings: u(() => import("./TermsSettings-O43bydwI.js")),
22
+ ErrorCallout: w
23
+ },
24
+ emits: ["input"],
25
+ mixins: [
26
+ k(["href", "termType", "file", "text"]),
27
+ g
28
+ ],
29
+ setup() {
30
+ return {
31
+ v$: $()
32
+ };
33
+ },
34
+ data() {
35
+ return {
36
+ showControls: !1
37
+ };
38
+ },
39
+ computed: {
40
+ hasTerms() {
41
+ const e = ["href", "file"].includes(this.termType) && this.href, t = this.termType === "text" && this.text, m = this.termType === "file" && this.file;
42
+ return e || t || m;
43
+ }
44
+ },
45
+ validations() {
46
+ return this.isForm ? {
47
+ hasTerms: {
48
+ required: (e) => !!e
49
+ }
50
+ } : {};
51
+ }
52
+ };
53
+ function I(e, t, m, a, l, p) {
54
+ const f = s("Read"), v = s("CButton"), h = s("ErrorCallout"), y = s("TermsSettings"), T = s("portal"), C = S("tooltip");
55
+ return e.isForm || p.hasTerms ? (n(), d("div", {
56
+ key: 0,
57
+ onMouseoverPassive: t[2] || (t[2] = (o) => l.showControls = !0),
58
+ onMouseleavePassive: t[3] || (t[3] = (o) => l.showControls = !1),
59
+ class: "px-7 py-5"
60
+ }, [
61
+ c(f, {
62
+ _document: e._document,
63
+ href: e.href,
64
+ "term-type": e.termType,
65
+ file: e.file,
66
+ text: e.text,
67
+ onInput: t[0] || (t[0] = (o) => e.$emit("input", o))
68
+ }, null, 8, ["_document", "href", "term-type", "file", "text"]),
69
+ e.isForm ? (n(), d(_, { key: 0 }, [
70
+ p.hasTerms ? r("", !0) : B((n(), i(v, {
71
+ key: 0,
72
+ "icon-props": { size: 18 },
73
+ pattern: "secondary",
74
+ icon: "info",
75
+ circle: "",
76
+ size: "small",
77
+ type: "danger",
78
+ style: { position: "absolute", left: "calc(1 * var(--rem))", top: "calc(1 * var(--rem))", width: "2em", height: "2em" },
79
+ onClick: e.openDrawer
80
+ }, null, 8, ["onClick"])), [
81
+ [C, e.$t("noneSelected")]
82
+ ]),
83
+ a.v$.hasTerms.$invalid && a.v$.hasTerms.$dirty ? (n(), i(h, {
84
+ key: 1,
85
+ message: e.$t("noneSelected")
86
+ }, null, 8, ["message"])) : r("", !0),
87
+ e.showDrawer ? (n(), i(T, {
88
+ key: 2,
89
+ to: "drawer-content"
90
+ }, {
91
+ default: D(() => [
92
+ c(y, {
93
+ _document: e._document,
94
+ _value: { term: "data.terms" },
95
+ onInput: t[1] || (t[1] = (o) => e.$emit("input", o))
96
+ }, null, 8, ["_document"])
97
+ ]),
98
+ _: 1
99
+ })) : r("", !0)
100
+ ], 64)) : r("", !0)
101
+ ], 32)) : r("", !0);
102
+ }
103
+ const x = /* @__PURE__ */ F(E, [["render", I]]);
104
+ export {
105
+ x as default
106
+ };
@@ -1,8 +1,8 @@
1
- import { m as E } from "./mapFormMixin-DarsdTYn.js";
2
- import { C as z } from "./CCallout-wp8bWld3.js";
3
- import { C as K, a as B } from "./CDropdownItem-llOP71-u.js";
4
- import { _ as A, b as v, d as c, o as n, j as g, t as u, c as f, F as C, q as b, x as V, l as M, e as y, w as h, f as w, n as I, af as N } from "./main-CCA1EgK_.js";
5
- import { C as O } from "./CPhoneFormat-BqLsCDaG.js";
1
+ import { m as E } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { C as z } from "./CCallout-B86E6HJd.js";
3
+ import { C as K, a as B } from "./CDropdownItem-BU65rYaX.js";
4
+ import { _ as A, b as v, d as c, o as n, j as g, t as u, c as f, F as C, s as b, y as V, n as M, e as y, w as h, f as w, q as I, af as x } from "./main-BI2UvBxx.js";
5
+ import { C as O } from "./CPhoneFormat-CSys3pPM.js";
6
6
  const $ = {
7
7
  name: "DocPartiesItem",
8
8
  components: {
@@ -53,10 +53,10 @@ function L(e, o, t, i, s, l) {
53
53
  }
54
54
  const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5f1f8662"]]), T = {
55
55
  client: M(
56
- () => import("./ClientModal-C3UbUFjz.js").then((e) => e.b)
56
+ () => import("./ClientModal-BHUD-VYM.js").then((e) => e.b)
57
57
  ),
58
58
  company: M(
59
- () => import("./CompanyModal-BvzLn9gU.js")
59
+ () => import("./CompanyModal-C38jvSZX.js")
60
60
  )
61
61
  }, G = {
62
62
  i18nOptions: {
@@ -69,7 +69,7 @@ const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5f1f8662"]]
69
69
  CDropdown: B,
70
70
  CDropdownItem: K,
71
71
  AddClientCallout: M(
72
- () => import("./AddClientCallout-BjeE7RY6.js")
72
+ () => import("./AddClientCallout-CtfDZ5iE.js")
73
73
  )
74
74
  },
75
75
  emits: ["input"],
@@ -105,7 +105,7 @@ const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5f1f8662"]]
105
105
  hasInsurance: d
106
106
  } = t, a = k === "individual", m = _ && (_.standard || _.work);
107
107
  m && (m.formKey = _.standard ? "street" : "workStreet");
108
- const x = [
108
+ const N = [
109
109
  l && {
110
110
  label: e("company"),
111
111
  value: l,
@@ -136,7 +136,7 @@ const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5f1f8662"]]
136
136
  type: "phone",
137
137
  value: {
138
138
  cellphone: S,
139
- region: P || N(this._document, "sender.company.region", "")
139
+ region: P || x(this._document, "sender.company.region", "")
140
140
  },
141
141
  formKey: "cellphone"
142
142
  },
@@ -153,14 +153,14 @@ const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5f1f8662"]]
153
153
  label: this._document.$t("chapters.parties.allRiskAndLiability"),
154
154
  value: d
155
155
  }), {
156
- main: x,
156
+ main: N,
157
157
  checks: D
158
158
  };
159
159
  });
160
160
  }
161
161
  },
162
162
  created() {
163
- N(this, "_value.parties", "") !== "clients" && (this.type = "company");
163
+ x(this, "_value.parties", "") !== "clients" && (this.type = "company");
164
164
  },
165
165
  methods: {
166
166
  openModal({ formKey: e, index: o } = {}) {
@@ -331,7 +331,7 @@ function Y(e, o, t, i, s, l) {
331
331
  data: a.value,
332
332
  type: a.type,
333
333
  "can-edit": e.viewSettings.canEdit,
334
- onClick: (x) => e.viewSettings.canEdit ? l.openModal({ formKey: a.formKey, index: d }) : null
334
+ onClick: (N) => e.viewSettings.canEdit ? l.openModal({ formKey: a.formKey, index: d }) : null
335
335
  }, null, 8, ["label", "data", "type", "can-edit", "onClick"])) : y("", !0)
336
336
  ], 64))), 128)),
337
337
  r.checks && r.checks.length ? (n(), c("div", X, [
@@ -1,5 +1,5 @@
1
- import { _ as n } from "./PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js";
2
- import { f as e, q as t } from "./main-CCA1EgK_.js";
1
+ import { _ as n } from "./PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js";
2
+ import { f as e, s as t } from "./main-BI2UvBxx.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,14 +1,14 @@
1
- import { m as g } from "./mapFormMixin-DarsdTYn.js";
2
- import { f as $ } from "./focusDrawerMixin-BS0v03Pf.js";
3
- import { u as b } from "./DocumentLayout-DwifYYit.js";
4
- import { _ as C, X as k, l as v, H as y, d as h, c as u, o as a, F as f, n as _, ap as c, w, W as P, b as p, e as z, f as H, R as I } from "./main-CCA1EgK_.js";
5
- import { g as M, M as R } from "./splitpanes-B5GGsG65.js";
6
- const W = {
1
+ import { m as g } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { f as $ } from "./focusDrawerMixin-Cz1mPbI5.js";
3
+ import { u as b } from "./DocumentLayout-BMgU3m7Q.js";
4
+ import { _ as C, Y as k, n as v, I as y, d as h, c as u, o as a, F as f, q as _, ap as c, w, X as P, b as p, e as z, f as H, T as I } from "./main-BI2UvBxx.js";
5
+ import { g as M, M as D } from "./splitpanes-CpTZw8TJ.js";
6
+ const N = {
7
7
  name: "HeaderItems",
8
8
  components: {
9
- MediaWrapper: v(() => import("./MediaWrapper-CuCltxOM.js")),
10
- ContentWrapper: v(() => import("./ContentWrapper-oh1FnZea.js")),
11
- Splitpanes: R,
9
+ MediaWrapper: v(() => import("./MediaWrapper-BRDS1uEY.js")),
10
+ ContentWrapper: v(() => import("./ContentWrapper-Du0rszAK.js")),
11
+ Splitpanes: D,
12
12
  Pane: M
13
13
  },
14
14
  emits: ["input"],
@@ -51,17 +51,17 @@ const W = {
51
51
  this.items = this.items.map((r, o) => ({ ...r, size: [s, n][o] }));
52
52
  }, 100)
53
53
  }
54
- }, D = {
54
+ }, R = {
55
55
  key: 0,
56
56
  style: { position: "relative", "min-height": "calc(100 * var(--vh, 1vh))" }
57
57
  };
58
- function N(e, t, s, n, r, o) {
59
- return e.layout === "center" ? (a(), h("div", D, [
60
- (a(!0), h(f, null, _(e.items, (l, i) => (a(), u(c(`${l.type}Wrapper`), {
61
- key: i,
62
- size: l.size,
58
+ function W(e, t, s, n, r, o) {
59
+ return e.layout === "center" ? (a(), h("div", R, [
60
+ (a(!0), h(f, null, _(e.items, (i, l) => (a(), u(c(`${i.type}Wrapper`), {
61
+ key: l,
62
+ size: i.size,
63
63
  _document: e._document,
64
- _value: { ...e._value, item: `${e._value.items}.${i}` },
64
+ _value: { ...e._value, item: `${e._value.items}.${l}` },
65
65
  "has-hover": s.showControls,
66
66
  class: "item",
67
67
  style: { position: "absolute", left: "0", top: "0", right: "0", bottom: "0" },
@@ -80,19 +80,19 @@ function N(e, t, s, n, r, o) {
80
80
  onResize: o.onResize
81
81
  }, {
82
82
  default: w(() => [
83
- (a(!0), h(f, null, _(e.items, (l, i) => (a(), u(c(o.useSplitPane ? "pane" : "div"), {
84
- key: i,
85
- size: l.size,
83
+ (a(!0), h(f, null, _(e.items, (i, l) => (a(), u(c(o.useSplitPane ? "pane" : "div"), {
84
+ key: l,
85
+ size: i.size,
86
86
  style: P(
87
87
  !o.useSplitPane && {
88
- flex: `1 1 ${l.size}%`
88
+ flex: `1 1 ${i.size}%`
89
89
  }
90
90
  )
91
91
  }, {
92
92
  default: w(() => [
93
- (a(), u(c(`${l.type}Wrapper`), {
93
+ (a(), u(c(`${i.type}Wrapper`), {
94
94
  _document: e._document,
95
- _value: { ...e._value, item: `${e._value.items}.${i}` },
95
+ _value: { ...e._value, item: `${e._value.items}.${l}` },
96
96
  "has-hover": s.showControls,
97
97
  class: "item",
98
98
  onInput: t[1] || (t[1] = (m) => e.$emit("input", m))
@@ -104,11 +104,11 @@ function N(e, t, s, n, r, o) {
104
104
  _: 1
105
105
  }, 40, ["horizontal", "vertical", "style", "onResize"]));
106
106
  }
107
- const B = /* @__PURE__ */ C(W, [["render", N], ["__scopeId", "data-v-936c260d"]]), E = {
107
+ const B = /* @__PURE__ */ C(N, [["render", W], ["__scopeId", "data-v-936c260d"]]), E = {
108
108
  name: "HeaderBlock",
109
109
  components: {
110
- PriceHeader: v(() => import("./PriceHeader-Cdh8apAZ.js")),
111
- HeaderSettings: v(() => import("./HeaderSettings-CC5rJ-UY.js")),
110
+ PriceHeader: v(() => import("./PriceHeader-DBiTZGL4.js")),
111
+ HeaderSettings: v(() => import("./HeaderSettings-Bsj1JZNt.js")),
112
112
  HeaderItems: B
113
113
  },
114
114
  emits: ["input"],
@@ -138,7 +138,7 @@ const B = /* @__PURE__ */ C(W, [["render", N], ["__scopeId", "data-v-936c260d"]]
138
138
  }
139
139
  };
140
140
  function F(e, t, s, n, r, o) {
141
- const l = p("PriceHeader"), i = p("HeaderItems"), m = p("HeaderSettings"), S = p("portal");
141
+ const i = p("PriceHeader"), l = p("HeaderItems"), m = p("HeaderSettings"), S = p("portal");
142
142
  return a(), h("div", I(e.$attrs, {
143
143
  class: [{
144
144
  "has-parent-nav": e.viewSettings.isForm,
@@ -147,7 +147,7 @@ function F(e, t, s, n, r, o) {
147
147
  onMouseoverPassive: t[2] || (t[2] = (d) => r.showControls = !0),
148
148
  onMouseleavePassive: t[3] || (t[3] = (d) => r.showControls = !1)
149
149
  }), [
150
- o.layout === "price" ? (a(), u(l, {
150
+ o.layout === "price" ? (a(), u(i, {
151
151
  key: 0,
152
152
  _document: e._document,
153
153
  _value: {
@@ -160,7 +160,7 @@ function F(e, t, s, n, r, o) {
160
160
  },
161
161
  "has-hover": r.showControls,
162
162
  onInput: t[0] || (t[0] = (d) => e.$emit("input", d))
163
- }, null, 8, ["_document", "_value", "has-hover"])) : (a(), u(i, {
163
+ }, null, 8, ["_document", "_value", "has-hover"])) : (a(), u(l, {
164
164
  key: 1,
165
165
  _document: e._document,
166
166
  _value: {
@@ -1,9 +1,9 @@
1
- import { m as D } from "./mapFormMixin-DarsdTYn.js";
2
- import { C as S } from "./CSelect-DDYAe8O9.js";
3
- import { b as A } from "./CDropdownItem-llOP71-u.js";
4
- import { _ as U, b as v, d as u, o as p, f as h, e as f, j as i, q as l, t as n, w as k, F as V, n as y, aI as E } from "./main-CCA1EgK_.js";
5
- import { u as O } from "./index-BtZlk67X.js";
6
- import { a as d } from "./index-C_k-2pHu.js";
1
+ import { m as D } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { C as S } from "./CSelect-DsoRaNYd.js";
3
+ import { b as A } from "./CDropdownItem-BU65rYaX.js";
4
+ import { _ as U, b as v, d as u, o as p, f as h, e as f, j as i, s as l, t as n, w as k, F as V, q as y, aJ as E } from "./main-BI2UvBxx.js";
5
+ import { u as O } from "./index-SreRcZHY.js";
6
+ import { a as d } from "./index-BtdoM5zU.js";
7
7
  const $ = (t, e) => t ? E(e.workStartAt || /* @__PURE__ */ new Date(), t) >= 0 : !0, C = {
8
8
  name: "ExtraWorkTimeImpactTextEdit",
9
9
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import { t as i } from "./template-BTmi3cQk.js";
2
- import { f as e, aE as d, ak as s } from "./main-CCA1EgK_.js";
1
+ import { t as i } from "./template-B4OhhS85.js";
2
+ import { f as e, aF as d, ak as s } from "./main-BI2UvBxx.js";
3
3
  const c = {
4
4
  "x-world/x-3dmf": {
5
5
  labelColor: "#8D1A11",
@@ -1,4 +1,4 @@
1
- import { _ as y, b as E, a4 as f, d as l, o as t, j as a, e as d, T as s, q as m, t as _, u as r, c as v, w as h, x as b } from "./main-CCA1EgK_.js";
1
+ import { _ as g, b as E, a5 as f, d as l, o as t, j as a, e as d, U as s, s as m, t as _, v as r, c as v, w as h, y as b } from "./main-BI2UvBxx.js";
2
2
  const k = {
3
3
  name: "InputCompactRow",
4
4
  emits: ["remove"],
@@ -39,8 +39,8 @@ const k = {
39
39
  key: 2,
40
40
  ref: "inputContainer"
41
41
  }, $ = { key: 0 };
42
- function I(e, u, n, N, i, o) {
43
- const c = E("CButton"), g = f("tooltip"), p = f("click-outside");
42
+ function I(e, c, n, N, i, o) {
43
+ const u = E("CButton"), y = f("tooltip"), p = f("click-outside");
44
44
  return t(), l("div", C, [
45
45
  a("div", w, [
46
46
  a("div", B, [
@@ -50,20 +50,20 @@ function I(e, u, n, N, i, o) {
50
50
  ]),
51
51
  a("div", V, [
52
52
  s(e.$slots, "toggle", {}, () => [
53
- n.showClear ? r((t(), v(c, {
53
+ n.showClear ? r((t(), v(u, {
54
54
  key: 0,
55
55
  size: "small",
56
56
  icon: "x",
57
57
  class: "clear-input-button",
58
- onClick: u[0] || (u[0] = (T) => e.$emit("remove"))
58
+ onClick: c[0] || (c[0] = (j) => e.$emit("remove"))
59
59
  }, null, 512)), [
60
- [g, e.$t("remove")]
60
+ [y, e.$t("remove")]
61
61
  ]) : d("", !0),
62
62
  i.isEditing ? e.$slots.bottom ? d("", !0) : r((t(), l("div", S, [
63
63
  s(e.$slots, "default", {}, void 0, !0)
64
64
  ])), [
65
65
  [p, o.closeEdit]
66
- ]) : (t(), v(c, {
66
+ ]) : (t(), v(u, {
67
67
  key: 1,
68
68
  class: b([{ "is-edit": i.isEditing }, "input-toggle-button"]),
69
69
  type: "none",
@@ -93,7 +93,7 @@ function I(e, u, n, N, i, o) {
93
93
  ])) : d("", !0)
94
94
  ]);
95
95
  }
96
- const q = /* @__PURE__ */ y(k, [["render", I], ["__scopeId", "data-v-265d6d60"]]);
96
+ const D = /* @__PURE__ */ g(k, [["render", I], ["__scopeId", "data-v-265d6d60"]]);
97
97
  export {
98
- q as I
98
+ D as I
99
99
  };
@@ -1,5 +1,5 @@
1
- import { A as w, a2 as _, H as C, a3 as g, G as L, b as S, c as E, o as $, w as v, T as f } from "./main-CCA1EgK_.js";
2
- const b = {
1
+ import { B as w, a3 as _, I as C, a4 as g, H as L, b as S, c as E, o as $, w as v, U as f } from "./main-BI2UvBxx.js";
2
+ const R = {
3
3
  __name: "ManualPopover",
4
4
  props: {
5
5
  distance: {
@@ -61,5 +61,5 @@ const b = {
61
61
  }
62
62
  };
63
63
  export {
64
- b as _
64
+ R as _
65
65
  };
@@ -1,6 +1,6 @@
1
- import { m as a } from "./mapFormMixin-DarsdTYn.js";
2
- import { B as r } from "./BlockMedia-szLlyTVn.js";
3
- import { _ as s, b as m, c as n, o as t, R as i } from "./main-CCA1EgK_.js";
1
+ import { m as a } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { B as r } from "./BlockMedia-CrmRCTpi.js";
3
+ import { _ as s, b as m, c as n, o as t, T as i } from "./main-BI2UvBxx.js";
4
4
  const p = {
5
5
  name: "MediaWrapper",
6
6
  components: { BlockMedia: r },
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js";
2
- import { f as n, as as i } from "./main-CCA1EgK_.js";
1
+ import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js";
2
+ import { f as n, as as i } from "./main-BI2UvBxx.js";
3
3
  function r(t) {
4
4
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !i(t);
5
5
  }
@@ -1,8 +1,8 @@
1
- import { m as D } from "./mapFormMixin-DarsdTYn.js";
2
- import { E as M } from "./ErrorCallout-DT3qQJOP.js";
3
- import { _ as T, s as F, bi as C, bj as W, bk as O, d as c, o as a, j as l, e as n, t as o, F as f, q as k, x as w, bl as q, b as v, a4 as z, u as I, n as P, c as _, ah as L, f as V, w as S, v as Z, W as x, af as b, bm as E, y as N, i as j } from "./main-CCA1EgK_.js";
4
- import { t as A } from "./template-BTmi3cQk.js";
5
- import { T as G } from "./DocTextEditor-Ci_Wegua.js";
1
+ import { m as D } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { E as M } from "./ErrorCallout-DKV9zW1H.js";
3
+ import { _ as T, u as F, bj as C, bk as W, bl as O, d as c, o as a, j as l, e as n, t as o, F as f, s as k, y as w, bm as q, b as v, a5 as z, v as I, q as P, c as _, ah as L, f as V, w as S, x as Z, X as x, af as b, bn as E, z as N, i as j } from "./main-BI2UvBxx.js";
4
+ import { t as A } from "./template-B4OhhS85.js";
5
+ import { T as G } from "./DocTextEditor-CblX6a9b.js";
6
6
  const $ = {
7
7
  name: "ArticleItem",
8
8
  mixins: [D([])],
@@ -136,14 +136,14 @@ const $ = {
136
136
  }, H = { class: "article-text" }, Q = { class: "article-text-title hyphens-auto break-all" }, U = {
137
137
  key: 0,
138
138
  class: "article-text-sub"
139
- }, R = { key: 0 }, J = { key: 1 }, K = {
139
+ }, R = { key: 0 }, X = { key: 1 }, J = {
140
140
  key: 2,
141
141
  style: { margin: "0 4px" },
142
142
  width: "6",
143
143
  height: "6",
144
144
  viewBox: "0 0 148 141",
145
145
  xmlns: "http://www.w3.org/2000/svg"
146
- }, X = { key: 3 }, Y = { class: "article-price" }, ee = ["innerHTML"], te = {
146
+ }, K = { key: 3 }, Y = { class: "article-price" }, ee = ["innerHTML"], te = {
147
147
  key: 1,
148
148
  class: "article-price-sub"
149
149
  };
@@ -157,19 +157,19 @@ function ie(t, i, e, p, g, r) {
157
157
  l("div", Q, o(e.title), 1),
158
158
  r.showDetails ? (a(), c("div", U, [
159
159
  e.priceType === "openAcc" || e.priceType === "markup" ? (a(), c("div", R, o(t._document.$t(`price.${e.priceType}`)) + "  ", 1)) : n("", !0),
160
- e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div", J, o(r.fixQuantity) + " " + o(r.articleUnitLabel(e.unitType, {
160
+ e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div", X, o(r.fixQuantity) + " " + o(r.articleUnitLabel(e.unitType, {
161
161
  count: r.fixQuantity,
162
162
  lng: t._document.language,
163
163
  instance: t.$options.docLang
164
164
  })), 1)) : n("", !0),
165
- r.atPrice ? (a(), c("svg", K, i[0] || (i[0] = [
165
+ r.atPrice ? (a(), c("svg", J, i[0] || (i[0] = [
166
166
  l("path", {
167
167
  d: "M73.742787 92.65535l-34.444359 47.40859-18.607391-13.51906 34.060775-46.88064L0 61.8743 7.107391 40 62 57.83569V0h23v57.99346L140.378182 40l7.107391 21.8743-54.751812 17.78994 34.060775 46.88064-18.607391 13.51906-34.444358-47.40859z",
168
168
  fill: "#000",
169
169
  "fill-rule": "evenodd"
170
170
  }, null, -1)
171
171
  ]))) : n("", !0),
172
- r.atPrice ? (a(), c("div", X, o(r.atPrice), 1)) : n("", !0)
172
+ r.atPrice ? (a(), c("div", K, o(r.atPrice), 1)) : n("", !0)
173
173
  ])) : n("", !0)
174
174
  ]),
175
175
  l("div", Y, [
@@ -1,5 +1,5 @@
1
- import { V as l } from "./PdfViewer-DpmlfAfl.js";
2
- import { a7 as d, H as o, aD as f, d as t, o as s, j as a, t as _, f as m, I as p, _ as u } from "./main-CCA1EgK_.js";
1
+ import { V as l } from "./PdfViewer-fgokwyxy.js";
2
+ import { a7 as d, I as o, aE as f, d as t, o as s, j as a, t as _, f as m, J as p, _ as u } from "./main-BI2UvBxx.js";
3
3
  const v = {
4
4
  key: 0,
5
5
  class: "root"
@@ -25,7 +25,7 @@ const v = {
25
25
  }, null, 8, ["src"])
26
26
  ])) : (s(), t("div", y));
27
27
  }
28
- }), H = /* @__PURE__ */ u(T, [["__scopeId", "data-v-ddf8a4b3"]]);
28
+ }), P = /* @__PURE__ */ u(T, [["__scopeId", "data-v-ddf8a4b3"]]);
29
29
  export {
30
- H as default
30
+ P as default
31
31
  };