@cling-se/widget 0.9.21 → 0.9.23

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 (122) hide show
  1. package/dist/{AddClientCallout-b30fb799.js → AddClientCallout-49655a64.js} +5 -5
  2. package/dist/{AnswerModal-6231b1e0.js → AnswerModal-6f4004e1.js} +3 -3
  3. package/dist/{AttachmentItem-6177b14a.js → AttachmentItem-e3bfcd82.js} +3 -3
  4. package/dist/{BaseDatePicker-52deabed.js → BaseDatePicker-d04f761f.js} +1 -1
  5. package/dist/{BaseInput-a85cebb6.js → BaseInput-e14e8b12.js} +1 -1
  6. package/dist/{BaseUpload-859d5cee.js → BaseUpload-0fa8ad72.js} +18 -18
  7. package/dist/{BlockMedia-ee5bf47c.js → BlockMedia-b49a63f3.js} +1 -1
  8. package/dist/{CCallout-a4442013.js → CCallout-baeb732f.js} +2 -2
  9. package/dist/{CDropdownItem-d04a1369.js → CDropdownItem-e0cecd02.js} +75 -156
  10. package/dist/{CField-1baba8ee.js → CField-c10f5951.js} +1 -1
  11. package/dist/CPhoneFormat-636103a1.js +64 -0
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js → CSlider.vue_vue_type_style_index_0_lang-d964f857.js} +1 -1
  13. package/dist/{ClientAutocomplete-9a48c913.js → ClientAutocomplete-28bf2076.js} +2 -2
  14. package/dist/{ClientModal-6e232065.js → ClientModal-b94206f4.js} +19 -18
  15. package/dist/{ColorPicker-f53737c4.js → ColorPicker-b5a7f700.js} +38 -38
  16. package/dist/{CompanyModal-1d09cba9.js → CompanyModal-c47e7c55.js} +3 -3
  17. package/dist/{ContentWrapper-b0443560.js → ContentWrapper-8293109f.js} +15 -14
  18. package/dist/{CoverBlockSettings-92c2721a.js → CoverBlockSettings-2242d653.js} +8 -8
  19. package/dist/DocAnswer-75f53dd5.js +30 -0
  20. package/dist/DocDetails-1bdecff4.js +224 -0
  21. package/dist/{DocForm-02d54368.js → DocForm-263bac20.js} +57 -55
  22. package/dist/{DocFormSend-2667ba21.js → DocFormSend-5b098ca6.js} +23 -22
  23. package/dist/{DocLinks-83145fa9.js → DocLinks-500b61b0.js} +2 -2
  24. package/dist/{DocModalBase-bc6b72fc.js → DocModalBase-b64e792b.js} +1 -1
  25. package/dist/{DocPrint-6e411f4d.js → DocPrint-555475c6.js} +1 -1
  26. package/dist/{DocReceipt-2da01d4a.js → DocReceipt-5a393f79.js} +1 -1
  27. package/dist/{DocSendReminder-9b5f553c.js → DocSendReminder-8d875174.js} +1 -1
  28. package/dist/{DocTextEditor-9b95e95a.js → DocTextEditor-7fd7ca5f.js} +777 -771
  29. package/dist/{DocTimeline-c1d5aa41.js → DocTimeline-0273acd1.js} +28 -20
  30. package/dist/DocumentClient-342454c2.js +127 -0
  31. package/dist/{DocumentLayout-abef4251.js → DocumentLayout-00ec1c6f.js} +12 -11
  32. package/dist/{DocumentLogotype-4ef5e90f.js → DocumentLogotype-137fd8f5.js} +3 -3
  33. package/dist/DocumentVoided-584cbee7.js +27 -0
  34. package/dist/{EmbedInput-2251e7fb.js → EmbedInput-19362c0b.js} +2 -2
  35. package/dist/{EmbedSettings-dc024f93.js → EmbedSettings-cbffd133.js} +3 -3
  36. package/dist/{ErrorCallout-d8745739.js → ErrorCallout-4ce34a95.js} +1 -1
  37. package/dist/{FilePreviewModal-0eec8f54.js → FilePreviewModal-80a5f1fc.js} +7 -6
  38. package/dist/{HeaderSettings-c1936aeb.js → HeaderSettings-e5e52b5a.js} +18 -17
  39. package/dist/{ImageSelectModal-65f96a00.js → ImageSelectModal-f54699a2.js} +16 -15
  40. package/dist/{ImageUploadWrapper-770093f0.js → ImageUploadWrapper-d4291dd3.js} +12 -12
  41. package/dist/{Index-389f4500.js → Index-0b1a9238.js} +4 -4
  42. package/dist/{Index-9689977a.js → Index-0eb9d45b.js} +12 -11
  43. package/dist/{Index-2d8dbeff.js → Index-0f2bf3b1.js} +3 -3
  44. package/dist/{Index-ea9c5c01.js → Index-12a6485f.js} +12 -12
  45. package/dist/{Index-3d5d967d.js → Index-16155aba.js} +6 -6
  46. package/dist/{Index-b76ad769.js → Index-29147f73.js} +15 -14
  47. package/dist/{Index-ee19b47e.js → Index-468190f0.js} +4 -4
  48. package/dist/{Index-b3e7a96c.js → Index-4c78a308.js} +5 -5
  49. package/dist/{Index-51791450.js → Index-4df3c1d2.js} +51 -50
  50. package/dist/{Index-dfecb8ef.js → Index-5093d646.js} +2 -2
  51. package/dist/{Index-81ddc798.js → Index-630c21f5.js} +4 -4
  52. package/dist/{Index-c94003c4.js → Index-64236029.js} +4 -4
  53. package/dist/{Index-f099d8b6.js → Index-66295ea9.js} +4 -4
  54. package/dist/{Index-94836a7b.js → Index-7c60cb32.js} +56 -115
  55. package/dist/{Index-2a2c1f73.js → Index-7dec77f5.js} +10 -9
  56. package/dist/{Index-b9a4d140.js → Index-7fe05fe5.js} +3 -3
  57. package/dist/{Index-62adb4b4.js → Index-843f81bd.js} +4 -4
  58. package/dist/{Index-7e3ca7a8.js → Index-8ef32146.js} +12 -11
  59. package/dist/{Index-8b408fa4.js → Index-96725e56.js} +7 -7
  60. package/dist/{Index-abc574c9.js → Index-9afa091c.js} +4 -4
  61. package/dist/{Index-0154e11e.js → Index-a36c3418.js} +2 -2
  62. package/dist/{Index-194d394a.js → Index-a3ee21e6.js} +4 -4
  63. package/dist/{Index-8c6ff53d.js → Index-a79cd9b6.js} +6 -6
  64. package/dist/{Index-95291dad.js → Index-aad34e7e.js} +10 -9
  65. package/dist/{Index-6cd763af.js → Index-b66d1e1a.js} +4 -4
  66. package/dist/{Index-a2294660.js → Index-bb62e92d.js} +11 -10
  67. package/dist/{Index-4d0fb3db.js → Index-bf0e9351.js} +1 -1
  68. package/dist/{Index-d16a077e.js → Index-bf2ed6a3.js} +2 -2
  69. package/dist/{Index-044b3e78.js → Index-c89d17d9.js} +9 -9
  70. package/dist/{Index-f922ca7a.js → Index-d60eb16f.js} +2 -2
  71. package/dist/{Index-cc230603.js → Index-d6635896.js} +16 -15
  72. package/dist/{Index-e5e698bd.js → Index-dbeaf863.js} +4 -4
  73. package/dist/{Index-fd8c99a8.js → Index-e813c8cd.js} +2 -2
  74. package/dist/{Index-6939dd0f.js → Index-f640eb29.js} +2 -2
  75. package/dist/{InputToggleRow-aa0e2c44.js → InputToggleRow-40b7b57e.js} +1 -1
  76. package/dist/{IsPremiumPreStep-367dd957.js → IsPremiumPreStep-d2ceb183.js} +31 -31
  77. package/dist/{ManualPopover-2bdd12a2.js → ManualPopover-58c3f059.js} +1 -1
  78. package/dist/{MediaWrapper-6f144338.js → MediaWrapper-0e3ff436.js} +3 -3
  79. package/dist/{NotBindingText-4698dd82.js → NotBindingText-38e6e74c.js} +2 -2
  80. package/dist/{PackageGroup-220483fc.js → PackageGroup-6e6dd719.js} +18 -17
  81. package/dist/{PdfTerms-5fb32923.js → PdfTerms-3be0f8d1.js} +8 -7
  82. package/dist/{PdfViewer-c68102fe.js → PdfViewer-991eb731.js} +2 -2
  83. package/dist/{PlainHtml-5c871f6e.js → PlainHtml-4aaf6438.js} +1 -1
  84. package/dist/{PriceHeader-8abd96ed.js → PriceHeader-f3e7b525.js} +29 -28
  85. package/dist/{SearchApi-5c205029.js → SearchApi-2523a5fb.js} +2 -2
  86. package/dist/{Setup-c6e232cc.js → Setup-2849b519.js} +1 -1
  87. package/dist/{TermsSettings-31743151.js → TermsSettings-6d3dfe8d.js} +9 -8
  88. package/dist/{ThemeColorRow-fbea4c21.js → ThemeColorRow-a33d04b5.js} +3 -3
  89. package/dist/{ToggleBinding-eacc1838.js → ToggleBinding-7c726915.js} +3 -3
  90. package/dist/{UploadModal-593a1535.js → UploadModal-814fc3af.js} +3 -3
  91. package/dist/{VideoPlayerInput-a4e484f4.js → VideoPlayerInput-fa0774c1.js} +3 -3
  92. package/dist/{VideoPlayerSettings-6dedd07e.js → VideoPlayerSettings-ff82938f.js} +4 -4
  93. package/dist/{VideoSelectModal-93abc59d.js → VideoSelectModal-7b213a09.js} +13 -12
  94. package/dist/{answerDocumentMixin-bbd3ab59.js → answerDocumentMixin-b2488be9.js} +3 -3
  95. package/dist/debounce-0451fa9d.js +84 -0
  96. package/dist/{focusDrawerMixin-566688bb.js → focusDrawerMixin-0d406532.js} +1 -1
  97. package/dist/{formComponentsInstall-c9797c0b.js → formComponentsInstall-9c59efba.js} +22 -22
  98. package/dist/{formDrawerState-18920c2a.js → formDrawerState-6c57d51e.js} +1 -1
  99. package/dist/{formValidationMixin-7144b19f.js → formValidationMixin-7603171e.js} +1 -1
  100. package/dist/{image-6e71d7fa.js → image-58c45661.js} +1 -1
  101. package/dist/{index-8bd6d39a.js → index-0c493549.js} +15 -14
  102. package/dist/{index-465cfbbd.js → index-47e427b4.js} +2 -2
  103. package/dist/{index-a390debd.js → index-4afc771b.js} +39 -39
  104. package/dist/{index-0a319f2d.js → index-b20167b3.js} +4 -4
  105. package/dist/{index-08b2746a.js → index-c0b45aa7.js} +15 -14
  106. package/dist/{index-82e3d4b8.js → index-cf014fd4.js} +3 -3
  107. package/dist/index.es.js +9 -9
  108. package/dist/index.umd.js +175 -177
  109. package/dist/{main-0530c048.js → main-8d566a02.js} +13502 -14703
  110. package/dist/{mapFormMixin-01a2e577.js → mapFormMixin-4446a1bd.js} +1 -1
  111. package/dist/{publicSenderState-db943021.js → publicSenderState-02c0c9eb.js} +1 -1
  112. package/dist/{simplebar.min-7f44680f.js → simplebar.min-d30d6e1f.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-8ac55054.js → template-e04cc32f.js} +2 -2
  115. package/dist/{throttle-be2144d7.js → throttle-b0a5ba09.js} +2 -2
  116. package/dist/{tinycolor-9d91bda6.js → tinycolor-c6f29f33.js} +1 -1
  117. package/dist/{tippy.esm-8368093c.js → tippy.esm-2cb937d0.js} +45 -45
  118. package/dist/{utils-66c1f205.js → utils-36338df7.js} +1 -1
  119. package/dist/{vuedraggable.umd-d9c89b79.js → vuedraggable.umd-a0d21ce9.js} +63 -63
  120. package/package.json +1 -1
  121. package/dist/DocAnswer-d48b4e6b.js +0 -33
  122. package/dist/DocumentClient-2f98bdb5.js +0 -147
@@ -1,69 +1,10 @@
1
- import { W as $, X as C, n as p, b as v } from "./main-0530c048.js";
2
- import { m as b } from "./mapFormMixin-01a2e577.js";
3
- const w = {
4
- name: "CPhoneFormat",
5
- props: {
6
- phone: {
7
- type: String,
8
- required: !1,
9
- default: ""
10
- },
11
- region: {
12
- type: String,
13
- required: !1,
14
- default: null
15
- }
16
- },
17
- data() {
18
- return {
19
- formattedPhone: ""
20
- };
21
- },
22
- watch: {
23
- phone: {
24
- immediate: !0,
25
- async handler() {
26
- this.doFormatPhone();
27
- }
28
- }
29
- },
30
- methods: {
31
- async doFormatPhone() {
32
- if (!this.phone) {
33
- this.formattedPhone = "";
34
- return;
35
- }
36
- const n = await $(this.phone, {
37
- defaultRegion: this.region
38
- });
39
- if (!n) {
40
- this.formattedPhone = this.phone;
41
- return;
42
- }
43
- this.formattedPhone = n.national;
44
- }
45
- },
46
- render() {
47
- return this.$scopedSlots.default ? this.$scopedSlots.default({
48
- formattedValue: this.formattedPhone
49
- }) : C("span", [this.formattedPhone]);
50
- }
51
- }, x = null, S = null;
52
- var k = /* @__PURE__ */ p(
53
- w,
54
- x,
55
- S,
56
- !1,
57
- null,
58
- null,
59
- null,
60
- null
61
- );
62
- const P = k.exports;
63
- const F = {
1
+ import { n as f, b as h } from "./main-8d566a02.js";
2
+ import { m as C } from "./mapFormMixin-4446a1bd.js";
3
+ import { C as $ } from "./CPhoneFormat-636103a1.js";
4
+ const b = {
64
5
  name: "DocPartiesItem",
65
6
  components: {
66
- CPhoneFormat: P
7
+ CPhoneFormat: $
67
8
  },
68
9
  props: {
69
10
  label: {
@@ -84,37 +25,37 @@ const F = {
84
25
  }
85
26
  }
86
27
  };
87
- var I = function() {
28
+ var x = function() {
88
29
  var e = this, t = e._self._c;
89
30
  return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
90
31
  "is-editable": e.canEdit
91
32
  } }, [t("span", { on: { click: function(a) {
92
33
  return e.$emit("click");
93
34
  } } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
94
- }, D = [], M = /* @__PURE__ */ p(
95
- F,
96
- I,
97
- D,
35
+ }, w = [], k = /* @__PURE__ */ f(
36
+ b,
37
+ x,
38
+ w,
98
39
  !1,
99
40
  null,
100
41
  "7016583e",
101
42
  null,
102
43
  null
103
44
  );
104
- const z = M.exports;
105
- const E = {
106
- client: () => import("./ClientModal-6e232065.js"),
107
- company: () => import("./CompanyModal-1d09cba9.js")
108
- }, K = {
45
+ const S = k.exports;
46
+ const I = {
47
+ client: () => import("./ClientModal-b94206f4.js"),
48
+ company: () => import("./CompanyModal-c47e7c55.js")
49
+ }, F = {
109
50
  i18nOptions: {
110
51
  namespaces: "components"
111
52
  },
112
53
  name: "DocParties",
113
54
  components: {
114
- DocPartiesItem: z,
115
- AddClientCallout: () => import("./AddClientCallout-b30fb799.js")
55
+ DocPartiesItem: S,
56
+ AddClientCallout: () => import("./AddClientCallout-49655a64.js")
116
57
  },
117
- mixins: [b()],
58
+ mixins: [C()],
118
59
  props: {
119
60
  // todo: atm custom behaviour for path 'data.sender' through doc-class
120
61
  parties: {
@@ -134,18 +75,18 @@ const E = {
134
75
  return (Array.isArray(this.parties) ? this.parties : [this.parties]).map((t) => {
135
76
  const {
136
77
  orgNo: a,
137
- socialNo: o,
78
+ socialNo: s,
138
79
  companyName: i,
139
80
  name: r,
140
- type: m,
141
- cellphone: u,
81
+ type: d,
82
+ cellphone: m,
142
83
  cellphoneRegion: y,
143
- email: h,
84
+ email: u,
144
85
  addresses: l,
145
- hasFSkatt: _,
146
- hasInsurance: f
147
- } = t, c = m === "individual", s = l && (l.standard || l.work);
148
- s && (s.formKey = l.standard ? "street" : "workStreet");
86
+ hasFSkatt: v,
87
+ hasInsurance: _
88
+ } = t, c = d === "individual", o = l && (l.standard || l.work);
89
+ o && (o.formKey = l.standard ? "street" : "workStreet");
149
90
  const g = [
150
91
  i && { label: n("company"), value: i, formKey: "name" },
151
92
  a && { label: n("orgNoShort"), value: a, formKey: "orgNo" },
@@ -154,35 +95,35 @@ const E = {
154
95
  value: r,
155
96
  formKey: c ? "name" : "reference"
156
97
  },
157
- o && c && { label: n("socialNo"), value: o, formKey: "orgNo" },
158
- h && { label: n("email"), value: h, formKey: "email" },
159
- u && {
98
+ s && c && { label: n("socialNo"), value: s, formKey: "orgNo" },
99
+ u && { label: n("email"), value: u, formKey: "email" },
100
+ m && {
160
101
  label: n("phone"),
161
102
  type: "phone",
162
- value: { cellphone: u, region: y || v(this._document, "sender.company.region", "") },
103
+ value: { cellphone: m, region: y || h(this._document, "sender.company.region", "") },
163
104
  formKey: "cellphone"
164
105
  },
165
- s && {
106
+ o && {
166
107
  label: n("address"),
167
- value: this.parseStreet(s.street, s.city, s.zip),
168
- formKey: s.formKey
108
+ value: this.parseStreet(o.street, o.city, o.zip),
109
+ formKey: o.formKey
169
110
  }
170
- ], d = [];
171
- return _ && d.push({ label: this._document.$t("chapters.parties.fTax"), value: _ }), f && d.push({ label: this._document.$t("chapters.parties.allRiskAndLiability"), value: f }), {
111
+ ], p = [];
112
+ return v && p.push({ label: this._document.$t("chapters.parties.fTax"), value: v }), _ && p.push({ label: this._document.$t("chapters.parties.allRiskAndLiability"), value: _ }), {
172
113
  main: g,
173
- checks: d
114
+ checks: p
174
115
  };
175
116
  });
176
117
  }
177
118
  },
178
119
  created() {
179
- v(this, "_value.parties", "") !== "clients" && (this.type = "company");
120
+ h(this, "_value.parties", "") !== "clients" && (this.type = "company");
180
121
  },
181
122
  methods: {
182
123
  openModal({ formKey: n, index: e } = {}) {
183
124
  let t = "name", a = !1;
184
125
  n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(
185
- E[this.type],
126
+ I[this.type],
186
127
  {
187
128
  inputFocusOnMount: t,
188
129
  forceExpand: a,
@@ -212,48 +153,48 @@ const E = {
212
153
  }
213
154
  }
214
155
  };
215
- var N = function() {
156
+ var P = function() {
216
157
  var e = this, t = e._self._c;
217
158
  return t("div", { staticStyle: { position: "relative" } }, [e.viewSettings.canEdit ? t("div", { staticClass: "edit-button" }, [e.type === "company" ? t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e.parties.length && e.type === "client" ? t("CDropdown", { ref: "dropdown", attrs: { position: "is-bottom-left" } }, [t("CButton", { attrs: { slot: "trigger", type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
218
159
  class: "text-primary-500"
219
160
  }, "icon-left": "plus-circle" }, on: { click: function(a) {
220
161
  return e.openModal({ index: e.parties.length });
221
- } } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, o) {
222
- return t("CDropdownItem", { key: o, attrs: { "icon-props": {
162
+ } } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, s) {
163
+ return t("CDropdownItem", { key: s, attrs: { "icon-props": {
223
164
  class: "text-gray-400"
224
165
  }, "icon-left": "edit" }, on: { click: function(i) {
225
- return e.openModal({ index: o });
166
+ return e.openModal({ index: s });
226
167
  } } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
227
168
  })], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
228
169
  return e.openModal({ index: e.parties.length });
229
- }, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(a, o) {
230
- return t("div", { key: o, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(i) {
231
- e.hoverIndex = o;
170
+ }, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(a, s) {
171
+ return t("div", { key: s, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(i) {
172
+ e.hoverIndex = s;
232
173
  }, "&mouseleave": function(i) {
233
174
  e.hoverIndex = null;
234
- } } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === o ? t("div", { staticClass: "controls", staticStyle: { position: "absolute", left: "100%", top: "0", "padding-left": "calc(0.5 * var(--rem))" } }, [t("CButton", { attrs: { circle: "", size: "small", icon: "edit", type: "none", pattern: "tertiary" }, on: { click: function(i) {
235
- return e.openModal({ index: o });
175
+ } } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === s ? t("div", { staticClass: "controls", staticStyle: { position: "absolute", left: "100%", top: "0", "padding-left": "calc(0.5 * var(--rem))" } }, [t("CButton", { attrs: { circle: "", size: "small", icon: "edit", type: "none", pattern: "tertiary" }, on: { click: function(i) {
176
+ return e.openModal({ index: s });
236
177
  } } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(i) {
237
- return e.removeClient(o);
178
+ return e.removeClient(s);
238
179
  } } })], 1) : e._e(), e._l(a.main, function(i, r) {
239
- return [i ? t("DocPartiesItem", { key: r, attrs: { label: i.label, data: i.value, type: i.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(m) {
240
- e.viewSettings.canEdit && e.openModal({ formKey: i.formKey, index: o });
180
+ return [i ? t("DocPartiesItem", { key: r, attrs: { label: i.label, data: i.value, type: i.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
181
+ e.viewSettings.canEdit && e.openModal({ formKey: i.formKey, index: s });
241
182
  } } }) : e._e()];
242
183
  }), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(i, r) {
243
184
  return t("div", { key: r, staticClass: "check-text" }, [t("svg", { attrs: { width: "11", height: "11", viewBox: "0 0 218 185", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { staticClass: "primary-svg-fill", attrs: { d: "M217.931476 30.821773L180.506583.515692 85.82601 117.436462 29.993388 72.224097.068524 109.178227l93.257515 75.518447z", fill: "#D8D8D8", "fill-rule": "evenodd" } })]), t("div", [e._v(e._s(i.label))])]);
244
185
  }), 0) : e._e()], 2);
245
186
  })], 2);
246
- }, A = [], B = /* @__PURE__ */ p(
247
- K,
248
- N,
249
- A,
187
+ }, D = [], M = /* @__PURE__ */ f(
188
+ F,
189
+ P,
190
+ D,
250
191
  !1,
251
192
  null,
252
193
  "9a83d4c6",
253
194
  null,
254
195
  null
255
196
  );
256
- const O = B.exports;
197
+ const N = M.exports;
257
198
  export {
258
- O as default
199
+ N as default
259
200
  };
@@ -1,9 +1,10 @@
1
- import { m as n } from "./mapFormMixin-01a2e577.js";
2
- import { V as r } from "./PdfViewer-c68102fe.js";
3
- import { n as l } from "./main-0530c048.js";
1
+ import { m as n } from "./mapFormMixin-4446a1bd.js";
2
+ import { V as r } from "./PdfViewer-991eb731.js";
3
+ import { n as l } from "./main-8d566a02.js";
4
4
  import "./dom-962579a6.js";
5
- import "./DocumentLayout-abef4251.js";
6
- import "./CDropdownItem-d04a1369.js";
5
+ import "./DocumentLayout-00ec1c6f.js";
6
+ import "./debounce-0451fa9d.js";
7
+ import "./CDropdownItem-e0cecd02.js";
7
8
  const i = {
8
9
  i18nOptions: {
9
10
  namespaces: "pdfBlock",
@@ -24,8 +25,8 @@ const i = {
24
25
  name: "Pdf",
25
26
  components: {
26
27
  PdfViewer: r,
27
- FileIcon: () => import("./Index-0154e11e.js"),
28
- BaseUpload: () => import("./BaseUpload-859d5cee.js")
28
+ FileIcon: () => import("./Index-a36c3418.js"),
29
+ BaseUpload: () => import("./BaseUpload-0fa8ad72.js")
29
30
  },
30
31
  mixins: [
31
32
  n(["file"])
@@ -93,7 +94,7 @@ var d = function() {
93
94
  null,
94
95
  null
95
96
  );
96
- const P = p.exports;
97
+ const h = p.exports;
97
98
  export {
98
- P as default
99
+ h as default
99
100
  };
@@ -1,9 +1,9 @@
1
- import { m as n } from "./mapFormMixin-01a2e577.js";
2
- import { n as r } from "./main-0530c048.js";
1
+ import { m as n } from "./mapFormMixin-4446a1bd.js";
2
+ import { n as r } from "./main-8d566a02.js";
3
3
  const s = {
4
4
  name: "WorkAddressText",
5
5
  components: {
6
- Read: () => import("./Index-6939dd0f.js")
6
+ Read: () => import("./Index-f640eb29.js")
7
7
  },
8
8
  mixins: [n(["street", "city", "zip"])]
9
9
  };
@@ -1,7 +1,7 @@
1
- import { m as a } from "./mapFormMixin-01a2e577.js";
2
- import { I as n } from "./InputToggleRow-aa0e2c44.js";
3
- import { B as c } from "./BaseInput-a85cebb6.js";
4
- import { n as o } from "./main-0530c048.js";
1
+ import { m as a } from "./mapFormMixin-4446a1bd.js";
2
+ import { I as n } from "./InputToggleRow-40b7b57e.js";
3
+ import { B as c } from "./BaseInput-e14e8b12.js";
4
+ import { n as o } from "./main-8d566a02.js";
5
5
  const s = {
6
6
  i18nOptions: {
7
7
  namespaces: "ExtraWorkConstructionPricingListEdit",
@@ -1,14 +1,15 @@
1
- import { m as s } from "./mapFormMixin-01a2e577.js";
2
- import { w as i, x as r, y as a, n as m } from "./main-0530c048.js";
3
- import { T as c } from "./DocTextEditor-9b95e95a.js";
4
- import "./tippy.esm-8368093c.js";
5
- import "./ColorPicker-f53737c4.js";
6
- import "./DocumentLayout-abef4251.js";
7
- import "./CDropdownItem-d04a1369.js";
8
- import "./CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js";
1
+ import { m as s } from "./mapFormMixin-4446a1bd.js";
2
+ import { x as i, y as r, z as a, n as m } from "./main-8d566a02.js";
3
+ import { T as c } from "./DocTextEditor-7fd7ca5f.js";
4
+ import "./tippy.esm-2cb937d0.js";
5
+ import "./ColorPicker-b5a7f700.js";
6
+ import "./DocumentLayout-00ec1c6f.js";
7
+ import "./debounce-0451fa9d.js";
8
+ import "./CDropdownItem-e0cecd02.js";
9
+ import "./CSlider.vue_vue_type_style_index_0_lang-d964f857.js";
9
10
  import "./dom-962579a6.js";
10
11
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
11
- import "./ManualPopover-2bdd12a2.js";
12
+ import "./ManualPopover-58c3f059.js";
12
13
  import "./color-71c20583.js";
13
14
  const d = {
14
15
  name: "textContent",
@@ -50,7 +51,7 @@ var l = function() {
50
51
  null,
51
52
  null
52
53
  );
53
- const S = u.exports;
54
+ const b = u.exports;
54
55
  export {
55
- S as default
56
+ b as default
56
57
  };
@@ -1,8 +1,8 @@
1
- import { m as o } from "./mapFormMixin-01a2e577.js";
2
- import { f as r } from "./focusDrawerMixin-566688bb.js";
3
- import { g as n } from "./utils-66c1f205.js";
4
- import { n as a } from "./main-0530c048.js";
5
- import "./formDrawerState-18920c2a.js";
1
+ import { m as o } from "./mapFormMixin-4446a1bd.js";
2
+ import { f as r } from "./focusDrawerMixin-0d406532.js";
3
+ import { g as n } from "./utils-36338df7.js";
4
+ import { n as a } from "./main-8d566a02.js";
5
+ import "./formDrawerState-6c57d51e.js";
6
6
  const d = {
7
7
  name: "VideoPlayer",
8
8
  i18nOptions: {
@@ -10,8 +10,8 @@ const d = {
10
10
  keyPrefix: "document.videoPlayer"
11
11
  },
12
12
  components: {
13
- VideoPlayerSettings: () => import("./VideoPlayerSettings-6dedd07e.js"),
14
- VideoPlayerInput: () => import("./VideoPlayerInput-a4e484f4.js")
13
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-ff82938f.js"),
14
+ VideoPlayerInput: () => import("./VideoPlayerInput-fa0774c1.js")
15
15
  },
16
16
  mixins: [o(["videoPlayer"]), r],
17
17
  data() {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-01a2e577.js";
2
- import { n as i } from "./main-0530c048.js";
1
+ import { m as e } from "./mapFormMixin-4446a1bd.js";
2
+ import { n as i } from "./main-8d566a02.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-dfecb8ef.js"),
7
- Edit: () => import("./Index-f922ca7a.js")
6
+ Read: () => import("./Index-5093d646.js"),
7
+ Edit: () => import("./Index-d60eb16f.js")
8
8
  },
9
9
  mixins: [e([
10
10
  "workStartAt",
@@ -1,5 +1,5 @@
1
- import { t as i } from "./tinycolor-9d91bda6.js";
2
- import { N as d, n } from "./main-0530c048.js";
1
+ import { t as i } from "./tinycolor-c6f29f33.js";
2
+ import { O as d, n } from "./main-8d566a02.js";
3
3
  const c = {
4
4
  "3d": (e) => e("path", {
5
5
  attrs: {
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-01a2e577.js";
2
- import { I as i } from "./InputToggleRow-aa0e2c44.js";
3
- import { B as a } from "./BaseInput-a85cebb6.js";
4
- import { n as l } from "./main-0530c048.js";
1
+ import { m as o } from "./mapFormMixin-4446a1bd.js";
2
+ import { I as i } from "./InputToggleRow-40b7b57e.js";
3
+ import { B as a } from "./BaseInput-e14e8b12.js";
4
+ import { n as l } from "./main-8d566a02.js";
5
5
  const m = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeToCompleteText",
@@ -1,7 +1,7 @@
1
- import { m as n } from "./mapFormMixin-01a2e577.js";
2
- import { f as o } from "./focusDrawerMixin-566688bb.js";
3
- import { n as i } from "./main-0530c048.js";
4
- import "./formDrawerState-18920c2a.js";
1
+ import { m as n } from "./mapFormMixin-4446a1bd.js";
2
+ import { f as o } from "./focusDrawerMixin-0d406532.js";
3
+ import { n as i } from "./main-8d566a02.js";
4
+ import "./formDrawerState-6c57d51e.js";
5
5
  const a = {
6
6
  // eslint-disable-next-line vue/multi-word-component-names
7
7
  name: "Terms",
@@ -17,8 +17,8 @@ const a = {
17
17
  }
18
18
  },
19
19
  components: {
20
- Read: () => import("./Index-9689977a.js"),
21
- TermsSettings: () => import("./TermsSettings-31743151.js")
20
+ Read: () => import("./Index-0eb9d45b.js"),
21
+ TermsSettings: () => import("./TermsSettings-6d3dfe8d.js")
22
22
  },
23
23
  mixins: [
24
24
  n(["href", "termType", "file", "text"]),
@@ -1,12 +1,13 @@
1
- import { m as g } from "./mapFormMixin-01a2e577.js";
2
- import { t as b } from "./throttle-be2144d7.js";
3
- import { x as o, af as u, b as h, n as l } from "./main-0530c048.js";
1
+ import { m as g } from "./mapFormMixin-4446a1bd.js";
2
+ import { t as b } from "./throttle-b0a5ba09.js";
3
+ import { y as o, ak as u, b as h, n as l } from "./main-8d566a02.js";
4
4
  import { s as v, p as y } from "./splitpanes-ba7897bf.js";
5
- import { d as w } from "./CDropdownItem-d04a1369.js";
5
+ import { d as w } from "./debounce-0451fa9d.js";
6
6
  import { e as m } from "./dom-962579a6.js";
7
- import { W as p } from "./DocumentLayout-abef4251.js";
8
- import { g as _, b as a, a as n } from "./template-8ac55054.js";
9
- import "./image-6e71d7fa.js";
7
+ import { W as p } from "./DocumentLayout-00ec1c6f.js";
8
+ import { g as _, b as a, a as n } from "./template-e04cc32f.js";
9
+ import "./CDropdownItem-e0cecd02.js";
10
+ import "./image-58c45661.js";
10
11
  const x = `
11
12
  /*! 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}
12
13
  `, M = (e, { _document: t, id: s, firstRender: i }) => `
@@ -566,7 +567,7 @@ var P = function() {
566
567
  null,
567
568
  null
568
569
  );
569
- const Z = B.exports;
570
+ const G = B.exports;
570
571
  export {
571
- Z as default
572
+ G as default
572
573
  };
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-01a2e577.js";
2
- import { n as r } from "./main-0530c048.js";
1
+ import { m as e } from "./mapFormMixin-4446a1bd.js";
2
+ import { n as r } from "./main-8d566a02.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: () => import("./Index-d16a077e.js"),
7
- Edit: () => import("./Index-c94003c4.js")
6
+ Read: () => import("./Index-bf2ed6a3.js"),
7
+ Edit: () => import("./Index-64236029.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -1,10 +1,11 @@
1
- import { n as m, o as p } from "./main-0530c048.js";
2
- import { m as c } from "./mapFormMixin-01a2e577.js";
3
- import l from "./FilePreviewModal-0eec8f54.js";
4
- import "./PdfViewer-c68102fe.js";
1
+ import { n as m, o as p } from "./main-8d566a02.js";
2
+ import { m as c } from "./mapFormMixin-4446a1bd.js";
3
+ import l from "./FilePreviewModal-80a5f1fc.js";
4
+ import "./PdfViewer-991eb731.js";
5
5
  import "./dom-962579a6.js";
6
- import "./DocumentLayout-abef4251.js";
7
- import "./CDropdownItem-d04a1369.js";
6
+ import "./DocumentLayout-00ec1c6f.js";
7
+ import "./debounce-0451fa9d.js";
8
+ import "./CDropdownItem-e0cecd02.js";
8
9
  const d = {
9
10
  name: "FilePreviewWrapper",
10
11
  components: {
@@ -70,8 +71,8 @@ const w = h.exports, v = {
70
71
  name: "AttachmentList",
71
72
  components: {
72
73
  FilePreviewWrapper: w,
73
- BaseUpload: () => import("./BaseUpload-859d5cee.js"),
74
- AttachmentItem: () => import("./AttachmentItem-6177b14a.js")
74
+ BaseUpload: () => import("./BaseUpload-0fa8ad72.js"),
75
+ AttachmentItem: () => import("./AttachmentItem-e3bfcd82.js")
75
76
  },
76
77
  mixins: [c(["attachments"])],
77
78
  data() {
@@ -155,7 +156,7 @@ var g = function() {
155
156
  null,
156
157
  null
157
158
  );
158
- const A = x.exports;
159
+ const M = x.exports;
159
160
  export {
160
- A as default
161
+ M as default
161
162
  };
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-0530c048.js";
1
+ import { n as r } from "./main-8d566a02.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-5c871f6e.js";
2
- import { n } from "./main-0530c048.js";
1
+ import { P as e } from "./PlainHtml-4aaf6438.js";
2
+ import { n } from "./main-8d566a02.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,14 +1,14 @@
1
- import { m as r } from "./mapFormMixin-01a2e577.js";
2
- import { f as l } from "./focusDrawerMixin-566688bb.js";
3
- import { d as c } from "./CDropdownItem-d04a1369.js";
1
+ import { m as r } from "./mapFormMixin-4446a1bd.js";
2
+ import { f as l } from "./focusDrawerMixin-0d406532.js";
3
+ import { d as c } from "./debounce-0451fa9d.js";
4
4
  import { s as u, p as m } from "./splitpanes-ba7897bf.js";
5
- import { n } from "./main-0530c048.js";
6
- import "./formDrawerState-18920c2a.js";
5
+ import { n } from "./main-8d566a02.js";
6
+ import "./formDrawerState-6c57d51e.js";
7
7
  const d = {
8
8
  name: "HeaderItems",
9
9
  components: {
10
- MediaWrapper: () => import("./MediaWrapper-6f144338.js"),
11
- ContentWrapper: () => import("./ContentWrapper-b0443560.js"),
10
+ MediaWrapper: () => import("./MediaWrapper-0e3ff436.js"),
11
+ ContentWrapper: () => import("./ContentWrapper-8293109f.js"),
12
12
  Splitpanes: u,
13
13
  Pane: m
14
14
  },
@@ -70,8 +70,8 @@ const v = p.exports;
70
70
  const f = {
71
71
  name: "HeaderBlock",
72
72
  components: {
73
- PriceHeader: () => import("./PriceHeader-8abd96ed.js"),
74
- HeaderSettings: () => import("./HeaderSettings-c1936aeb.js"),
73
+ PriceHeader: () => import("./PriceHeader-f3e7b525.js"),
74
+ HeaderSettings: () => import("./HeaderSettings-e5e52b5a.js"),
75
75
  HeaderItems: v
76
76
  },
77
77
  mixins: [r(["header"]), l],
@@ -1,5 +1,5 @@
1
- import { m as o } from "./mapFormMixin-01a2e577.js";
2
- import { n as l, L as s } from "./main-0530c048.js";
1
+ import { m as o } from "./mapFormMixin-4446a1bd.js";
2
+ import { n as l, M as s } from "./main-8d566a02.js";
3
3
  import { v as a } from "./index-805c56e4.js";
4
4
  const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
5
5
  name: "ExtraWorkTimeImpactTextEdit",