@cling-se/widget 0.12.5 → 0.12.7

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 (119) hide show
  1. package/dist/{AddClientCallout-d38447e9.js → AddClientCallout-db654e45.js} +5 -5
  2. package/dist/{AnswerModal-60fed10c.js → AnswerModal-d6b61c42.js} +19 -15
  3. package/dist/{AttachmentItem-7a97569e.js → AttachmentItem-d12e0ce3.js} +3 -3
  4. package/dist/{BaseDatePicker-586a3926.js → BaseDatePicker-86e8db95.js} +2 -2
  5. package/dist/{BaseInput-42ac25a2.js → BaseInput-7baacfd4.js} +5 -8
  6. package/dist/{BaseUpload-c295782d.js → BaseUpload-b0b02ba6.js} +2 -2
  7. package/dist/{BlockMedia-11f309cf.js → BlockMedia-1e3a0f94.js} +2 -2
  8. package/dist/{CCallout-d09a7a83.js → CCallout-0afae25b.js} +2 -2
  9. package/dist/{CDropdownItem-8fc4a155.js → CDropdownItem-dbc0c19a.js} +1 -1
  10. package/dist/{CField-30c37bbb.js → CField-4a2de42b.js} +1 -1
  11. package/dist/{CPhoneFormat-19d0676c.js → CPhoneFormat-62266ab8.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js → CSlider.vue_vue_type_style_index_0_lang-f1d09608.js} +1 -1
  13. package/dist/{ClientAutocomplete-52294d98.js → ClientAutocomplete-fa23cafc.js} +2 -2
  14. package/dist/{ClientModal-aa88eb21.js → ClientModal-b35ecbd9.js} +9 -6
  15. package/dist/{ColorPicker-891fa9ff.js → ColorPicker-ca942c8e.js} +1 -1
  16. package/dist/{CompanyModal-0e72aa2e.js → CompanyModal-ef0b7116.js} +3 -3
  17. package/dist/{ContentWrapper-a4ddc5d8.js → ContentWrapper-fdeca026.js} +15 -15
  18. package/dist/{CoverBlockSettings-691d6064.js → CoverBlockSettings-dfcd3846.js} +8 -8
  19. package/dist/{DocAnswer-7fc72be9.js → DocAnswer-2370a1af.js} +4 -4
  20. package/dist/{DocDetails-594b20bf.js → DocDetails-207df31a.js} +4 -4
  21. package/dist/{DocForm-880847a9.js → DocForm-07c9befa.js} +140 -92
  22. package/dist/{DocFormSend-9d282d49.js → DocFormSend-5be47b32.js} +17 -17
  23. package/dist/{DocLinks-9e5d5f96.js → DocLinks-c50287ff.js} +2 -2
  24. package/dist/{DocModalBase-7e1c49aa.js → DocModalBase-270f0ae7.js} +1 -1
  25. package/dist/{DocPrint-1e5e78b5.js → DocPrint-d522fca3.js} +5 -5
  26. package/dist/{DocReceipt-36f6fcaa.js → DocReceipt-f48a1a5d.js} +2 -4
  27. package/dist/{DocSendReminder-14d0bd2b.js → DocSendReminder-c11a77de.js} +1 -1
  28. package/dist/{DocTextEditor-cd03a1fe.js → DocTextEditor-2bd6054e.js} +34 -15
  29. package/dist/{DocTimeline-2c06a4b3.js → DocTimeline-0d67019f.js} +1 -1
  30. package/dist/{DocumentClient-66af4fe0.js → DocumentClient-eb003e96.js} +7 -7
  31. package/dist/{DocumentLayout-46669407.js → DocumentLayout-12013f0e.js} +4 -4
  32. package/dist/{DocumentLogotype-552d8817.js → DocumentLogotype-dec84a74.js} +3 -3
  33. package/dist/{DocumentVoided-d7fc7000.js → DocumentVoided-74504b75.js} +1 -1
  34. package/dist/{EmbedInput-a6a8d0c1.js → EmbedInput-60371f6f.js} +2 -2
  35. package/dist/{EmbedSettings-ecb5415d.js → EmbedSettings-39a23a6f.js} +3 -3
  36. package/dist/{ErrorCallout-385e2432.js → ErrorCallout-cd60b1b6.js} +1 -1
  37. package/dist/{FilePreviewModal-8cded353.js → FilePreviewModal-4cf20b6e.js} +5 -5
  38. package/dist/{Flag-ccc46cd6.js → Flag-89eec963.js} +1 -1
  39. package/dist/{HeaderSettings-297a8e94.js → HeaderSettings-841dea55.js} +17 -17
  40. package/dist/{ImageSelectModal-ebaf75ed.js → ImageSelectModal-38913c8c.js} +8 -8
  41. package/dist/{ImageUploadWrapper-a905ddef.js → ImageUploadWrapper-44991388.js} +2 -2
  42. package/dist/{Index-b910802d.js → Index-049d57c2.js} +4 -4
  43. package/dist/{Index-ab6bac6f.js → Index-09eb1bc3.js} +2 -2
  44. package/dist/{Index-00eebe39.js → Index-0de66a29.js} +6 -6
  45. package/dist/{Index-2e389474.js → Index-12d590c3.js} +11 -11
  46. package/dist/{Index-94c95a58.js → Index-19214bd3.js} +3 -3
  47. package/dist/{Index-76955f5a.js → Index-2108e7a3.js} +4 -4
  48. package/dist/{Index-1cd23b39.js → Index-23232295.js} +1 -1
  49. package/dist/{Index-1f63b613.js → Index-25a427e6.js} +9 -9
  50. package/dist/{Index-928cfa67.js → Index-2930f5f7.js} +2 -2
  51. package/dist/{Index-0d64d6fc.js → Index-359d4c13.js} +24 -22
  52. package/dist/{Index-3d1be851.js → Index-5d40ca7b.js} +2 -2
  53. package/dist/{Index-17d50e25.js → Index-67fa7e4b.js} +7 -7
  54. package/dist/{Index-9d492b13.js → Index-69fac519.js} +2 -2
  55. package/dist/{Index-ec6a2275.js → Index-6effaa7e.js} +2 -2
  56. package/dist/{Index-cebc4b52.js → Index-71865178.js} +2 -2
  57. package/dist/{Index-136ed256.js → Index-720d0674.js} +1 -1
  58. package/dist/{Index-3651364d.js → Index-80d3155c.js} +4 -4
  59. package/dist/{Index-9ea113ee.js → Index-82028cdb.js} +2 -2
  60. package/dist/{Index-cbec68f4.js → Index-857de8ac.js} +2 -2
  61. package/dist/{Index-317eff3e.js → Index-a1ecb679.js} +4 -4
  62. package/dist/{Index-0b001380.js → Index-aaee0e90.js} +7 -7
  63. package/dist/{Index-0c6a6fc0.js → Index-ab9315d7.js} +4 -4
  64. package/dist/{Index-795195ae.js → Index-ad5bf91a.js} +6 -6
  65. package/dist/{Index-6dd45bfc.js → Index-b5463733.js} +15 -13
  66. package/dist/{Index-a6509bbb.js → Index-c0c1bc5d.js} +7 -7
  67. package/dist/{Index-f951187a.js → Index-cab366c3.js} +5 -5
  68. package/dist/{Index-71933eec.js → Index-cd26a74b.js} +30 -23
  69. package/dist/{Index-07a53bf1.js → Index-dc9f3527.js} +15 -15
  70. package/dist/{Index-addb1314.js → Index-dee9495a.js} +4 -4
  71. package/dist/{Index-bce6b732.js → Index-dfc0818d.js} +14 -14
  72. package/dist/{Index-3be2f7bc.js → Index-e155c4e3.js} +4 -4
  73. package/dist/{Index-c90f6095.js → Index-e7735cce.js} +4 -4
  74. package/dist/{Index-16428365.js → Index-fb2e97c2.js} +5 -5
  75. package/dist/{Index-f38d974c.js → Index-fdd9148d.js} +6 -6
  76. package/dist/{InputToggleRow-5ee011ac.js → InputToggleRow-7a7b4c82.js} +1 -1
  77. package/dist/{IsPremiumPreStep-a43d13cb.js → IsPremiumPreStep-849695ae.js} +80 -28
  78. package/dist/{ManualPopover-a8f15584.js → ManualPopover-69439e3e.js} +1 -1
  79. package/dist/{MediaWrapper-b6e26d7e.js → MediaWrapper-77219da5.js} +4 -4
  80. package/dist/{NotBindingText-8ff419f4.js → NotBindingText-b90d4452.js} +2 -2
  81. package/dist/{PackageGroup-08b05fd3.js → PackageGroup-8d49e46e.js} +13 -13
  82. package/dist/{PdfTerms-949c0afc.js → PdfTerms-87f9384b.js} +5 -5
  83. package/dist/{PdfViewer-2ddc01f9.js → PdfViewer-350ebbe7.js} +2 -2
  84. package/dist/{PlainHtml-0b903d46.js → PlainHtml-0b2ee915.js} +1 -1
  85. package/dist/{PriceHeader-693bc152.js → PriceHeader-ce3050ca.js} +14 -14
  86. package/dist/{SearchApi-305bca0e.js → SearchApi-bc82651c.js} +2 -2
  87. package/dist/{Setup-faa481fe.js → Setup-de3bd79c.js} +1 -1
  88. package/dist/{TermsSettings-42e0de5d.js → TermsSettings-ff7062fd.js} +7 -7
  89. package/dist/{ThemeColorRow-a0b0ad20.js → ThemeColorRow-5f43c080.js} +4 -4
  90. package/dist/{ToggleBinding-21d3e533.js → ToggleBinding-4bc48e47.js} +3 -3
  91. package/dist/{UploadModal-364456d3.js → UploadModal-ebf58430.js} +3 -3
  92. package/dist/{VideoPlayerInput-4c6358ac.js → VideoPlayerInput-8c69a459.js} +3 -3
  93. package/dist/{VideoPlayerSettings-0c7ea30b.js → VideoPlayerSettings-fcb2e3a7.js} +4 -4
  94. package/dist/{VideoSelectModal-d97c0d57.js → VideoSelectModal-02928d13.js} +8 -8
  95. package/dist/{answerDocumentMixin-043bdad9.js → answerDocumentMixin-d004b5da.js} +3 -3
  96. package/dist/{color-71c20583.js → color-c1606adc.js} +5 -1
  97. package/dist/{debounce-da1cfff7.js → debounce-d81702a3.js} +1 -1
  98. package/dist/{focusDrawerMixin-72023f17.js → focusDrawerMixin-8069e576.js} +1 -1
  99. package/dist/{formComponentsInstall-63aedf1c.js → formComponentsInstall-3f9f983e.js} +12 -12
  100. package/dist/{formDrawerState-e0ff3ff0.js → formDrawerState-fbc48424.js} +1 -1
  101. package/dist/{formValidationMixin-b8eb5da2.js → formValidationMixin-c5a70b41.js} +1 -1
  102. package/dist/{index-c28a8215.js → index-2ed37de4.js} +3 -3
  103. package/dist/{index-102daf6b.js → index-9d04bffe.js} +1 -1
  104. package/dist/{index-10b258a2.js → index-aea694d9.js} +1 -1
  105. package/dist/{index-0aed1acb.js → index-bb3f9107.js} +5 -5
  106. package/dist/{index-c169ee1b.js → index-d53ad190.js} +10 -10
  107. package/dist/{index-d822374b.js → index-eda08292.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +140 -140
  110. package/dist/{main-e0ec3a1d.js → main-6755bb4b.js} +710 -339
  111. package/dist/{mapFormMixin-d799f9b8.js → mapFormMixin-b16172a1.js} +1 -1
  112. package/dist/{publicSenderState-c9b2f6c7.js → publicSenderState-60237e11.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-cc238be3.js → throttle-f8ca7459.js} +2 -2
  115. package/dist/{tinycolor-8cfd2ec1.js → tinycolor-579f7237.js} +1 -2
  116. package/dist/{tippy.esm-77270ccc.js → tippy.esm-772cdbd7.js} +5 -5
  117. package/dist/{utils-8dc6c03d.js → utils-98fce4e9.js} +1 -1
  118. package/dist/{vuedraggable.umd-3076e893.js → vuedraggable.umd-c7600c5f.js} +1 -1
  119. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
- import { n as f, b as h } from "./main-e0ec3a1d.js";
2
- import { m as C } from "./mapFormMixin-d799f9b8.js";
3
- import { C as b } from "./CPhoneFormat-19d0676c.js";
1
+ import { n as f, b as h } from "./main-6755bb4b.js";
2
+ import { m as C } from "./mapFormMixin-b16172a1.js";
3
+ import { C as b } from "./CPhoneFormat-62266ab8.js";
4
4
  const $ = {
5
5
  name: "DocPartiesItem",
6
6
  components: {
@@ -44,8 +44,8 @@ var w = function() {
44
44
  );
45
45
  const S = k.exports;
46
46
  const F = {
47
- client: () => import("./ClientModal-aa88eb21.js"),
48
- company: () => import("./CompanyModal-0e72aa2e.js")
47
+ client: () => import("./ClientModal-b35ecbd9.js"),
48
+ company: () => import("./CompanyModal-ef0b7116.js")
49
49
  }, I = {
50
50
  i18nOptions: {
51
51
  namespaces: "components"
@@ -53,7 +53,7 @@ const F = {
53
53
  name: "DocParties",
54
54
  components: {
55
55
  DocPartiesItem: S,
56
- AddClientCallout: () => import("./AddClientCallout-d38447e9.js")
56
+ AddClientCallout: () => import("./AddClientCallout-db654e45.js")
57
57
  },
58
58
  mixins: [C()],
59
59
  props: {
@@ -1,11 +1,11 @@
1
- import { n as m, r as p } from "./main-e0ec3a1d.js";
2
- import { m as c } from "./mapFormMixin-d799f9b8.js";
3
- import l from "./FilePreviewModal-8cded353.js";
4
- import "./PdfViewer-2ddc01f9.js";
1
+ import { n as m, r as p } from "./main-6755bb4b.js";
2
+ import { m as c } from "./mapFormMixin-b16172a1.js";
3
+ import l from "./FilePreviewModal-4cf20b6e.js";
4
+ import "./PdfViewer-350ebbe7.js";
5
5
  import "./dom-962579a6.js";
6
- import "./DocumentLayout-46669407.js";
7
- import "./debounce-da1cfff7.js";
8
- import "./CDropdownItem-8fc4a155.js";
6
+ import "./DocumentLayout-12013f0e.js";
7
+ import "./debounce-d81702a3.js";
8
+ import "./CDropdownItem-dbc0c19a.js";
9
9
  const d = {
10
10
  name: "FilePreviewWrapper",
11
11
  components: {
@@ -74,14 +74,16 @@ const w = h.exports, v = {
74
74
  name: "AttachmentList",
75
75
  components: {
76
76
  FilePreviewWrapper: w,
77
- BaseUpload: () => import("./BaseUpload-c295782d.js"),
78
- AttachmentItem: () => import("./AttachmentItem-7a97569e.js")
77
+ BaseUpload: () => import("./BaseUpload-b0b02ba6.js"),
78
+ AttachmentItem: () => import("./AttachmentItem-d12e0ce3.js")
79
79
  },
80
80
  mixins: [c(["attachments"])],
81
81
  data() {
82
82
  return {
83
83
  hoverIndex: null,
84
- newFiles: []
84
+ newFiles: [],
85
+ maxFileSize: 1e3 * 1e3 * 30
86
+ // 30 MB
85
87
  };
86
88
  },
87
89
  computed: {
@@ -138,7 +140,7 @@ var g = function() {
138
140
  e.attachments = e.immutable(e.attachments).set(a, o);
139
141
  } } });
140
142
  }), 1)];
141
- } }]) }), e.canEdit ? [s("BaseUpload", { ref: "uploader", attrs: { "recent-modal": e.showRecentModal, "autostart-upload": !0, extensions: "png,gif,jpg,jpeg,svg,bmp,heic,heif,pdf,txt,odp,ods,odt,rtf,doc,docx,xls,xlsx,ppt,pptx,csv,ogv,mp4,webm,m4v,ogg,mp3,wav,zip,rar,json,7z,mpeg,oga,ogv,vsd,weba,webm,webp,xml,gz,tif,jfif,dwg,dwf,dwfx,dwt,msg,ai,psd,md,markdown,mdown,markdn", accept: "*" }, on: { "upload-success": e.onUploadSuccess }, model: { value: e.newFiles, callback: function(n) {
143
+ } }]) }), e.canEdit ? [s("BaseUpload", { ref: "uploader", attrs: { "recent-modal": e.showRecentModal, "autostart-upload": !0, "max-size": e.maxFileSize, extensions: "png,gif,jpg,jpeg,svg,bmp,heic,heif,pdf,txt,odp,ods,odt,rtf,doc,docx,xls,xlsx,ppt,pptx,csv,ogv,mp4,webm,m4v,ogg,mp3,wav,zip,rar,json,7z,mpeg,oga,ogv,vsd,weba,webm,webp,xml,gz,tif,jfif,dwg,dwf,dwfx,dwt,msg,ai,psd,md,markdown,mdown,markdn", accept: "*" }, on: { "upload-success": e.onUploadSuccess }, model: { value: e.newFiles, callback: function(n) {
142
144
  e.newFiles = n;
143
145
  }, expression: "newFiles" } }), s("CButton", { attrs: { type: "none", pattern: "secondary", wide: "", "icon-left": "upload-cloud" }, on: { click: () => e.$refs.uploader ? e.$refs.uploader.open() : null } }, [e._v(" " + e._s(e.$t("_common:upload", { thing: e.$t("_common:file") })) + " ")])] : e._e()], 2);
144
146
  }, _ = [], x = /* @__PURE__ */ m(
@@ -151,7 +153,7 @@ var g = function() {
151
153
  null,
152
154
  null
153
155
  );
154
- const M = x.exports;
156
+ const z = x.exports;
155
157
  export {
156
- M as default
158
+ z as default
157
159
  };
@@ -1,9 +1,9 @@
1
- import { m as n } from "./mapFormMixin-d799f9b8.js";
2
- import { D as a } from "./DocModalBase-7e1c49aa.js";
3
- import { a as o } from "./DocumentLayout-46669407.js";
4
- import { n as l } from "./main-e0ec3a1d.js";
5
- import "./debounce-da1cfff7.js";
6
- import "./CDropdownItem-8fc4a155.js";
1
+ import { m as n } from "./mapFormMixin-b16172a1.js";
2
+ import { D as a } from "./DocModalBase-270f0ae7.js";
3
+ import { a as o } from "./DocumentLayout-12013f0e.js";
4
+ import { n as l } from "./main-6755bb4b.js";
5
+ import "./debounce-d81702a3.js";
6
+ import "./CDropdownItem-dbc0c19a.js";
7
7
  const c = {
8
8
  name: "TermsModal",
9
9
  components: {
@@ -71,7 +71,7 @@ const u = {
71
71
  },
72
72
  computed: {
73
73
  printPdfTerms() {
74
- return this.isPdf ? () => import("./PdfTerms-949c0afc.js") : void 0;
74
+ return this.isPdf ? () => import("./PdfTerms-87f9384b.js") : void 0;
75
75
  }
76
76
  },
77
77
  methods: {
@@ -1,8 +1,8 @@
1
- import { m as r } from "./mapFormMixin-d799f9b8.js";
2
- import { I as n } from "./InputToggleRow-5ee011ac.js";
3
- import { B as l } from "./BaseDatePicker-586a3926.js";
4
- import { n as s } from "./main-e0ec3a1d.js";
5
- import "./CDropdownItem-8fc4a155.js";
1
+ import { m as r } from "./mapFormMixin-b16172a1.js";
2
+ import { I as n } from "./InputToggleRow-7a7b4c82.js";
3
+ import { B as l } from "./BaseDatePicker-86e8db95.js";
4
+ import { n as s } from "./main-6755bb4b.js";
5
+ import "./CDropdownItem-dbc0c19a.js";
6
6
  const c = {
7
7
  i18nOptions: {
8
8
  namespaces: "estimatedTimeStartEnd",
@@ -1,22 +1,22 @@
1
- import { aT as B, aU as A, aV as E, aW as z, aX as W, aY as F, j, aZ as N, b as o, n as c, s as H, a_ as x, az as U, a$ as w, b0 as q, ak as f, a8 as G, g as p, v as k, b1 as K, al as Y, b2 as Z, b3 as J, b4 as C, p as X, O as g, x as Q, z as ee, b5 as te, r as ie, R as se } from "./main-e0ec3a1d.js";
1
+ import { aT as B, aU as A, aV as E, aW as z, aX as W, aY as F, j, aZ as N, b as o, n as c, s as H, a_ as x, az as U, a$ as w, b0 as q, ak as f, a8 as G, g as p, v as k, b1 as K, al as Y, b2 as Z, b3 as J, b4 as C, p as X, O as g, x as Q, z as ee, b5 as te, r as ie, R as se } from "./main-6755bb4b.js";
2
2
  import { m as h, a as v } from "./vuex.esm-4a0fff7c.js";
3
- import { m as y } from "./mapFormMixin-d799f9b8.js";
4
- import { E as P } from "./ErrorCallout-385e2432.js";
5
- import { T as ae } from "./DocTextEditor-cd03a1fe.js";
6
- import { o as S, d as ne } from "./vuedraggable.umd-3076e893.js";
7
- import { W as re } from "./DocumentLayout-46669407.js";
8
- import { C as oe } from "./tippy.esm-77270ccc.js";
3
+ import { m as y } from "./mapFormMixin-b16172a1.js";
4
+ import { E as P } from "./ErrorCallout-cd60b1b6.js";
5
+ import { T as ae } from "./DocTextEditor-2bd6054e.js";
6
+ import { o as S, d as ne } from "./vuedraggable.umd-c7600c5f.js";
7
+ import { W as re } from "./DocumentLayout-12013f0e.js";
8
+ import { C as oe } from "./tippy.esm-772cdbd7.js";
9
9
  import { v as le } from "./index-805c56e4.js";
10
- import { S as ce } from "./SearchApi-305bca0e.js";
11
- import { w as ue } from "./CDropdownItem-8fc4a155.js";
12
- import { B as V } from "./BaseInput-42ac25a2.js";
10
+ import { S as ce } from "./SearchApi-bc82651c.js";
11
+ import { w as ue } from "./CDropdownItem-dbc0c19a.js";
12
+ import { B as V } from "./BaseInput-7baacfd4.js";
13
13
  import "./dom-962579a6.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-a8f15584.js";
17
- import "./ColorPicker-891fa9ff.js";
18
- import "./color-71c20583.js";
19
- import "./debounce-da1cfff7.js";
16
+ import "./ManualPopover-69439e3e.js";
17
+ import "./ColorPicker-ca942c8e.js";
18
+ import "./color-c1606adc.js";
19
+ import "./debounce-d81702a3.js";
20
20
  const de = [
21
21
  "unit",
22
22
  "m2",
@@ -240,7 +240,12 @@ const D = We.exports, T = {
240
240
  ...T,
241
241
  [t]: !0
242
242
  }), U(s.quantity) !== "number" && (s.quantity = 0), w(s);
243
- }, R = ({ stored: i, current: e, hidePrice: t = !1, activeHouseWorkType: s }) => {
243
+ }, R = ({
244
+ stored: i,
245
+ current: e,
246
+ hidePrice: t = !1,
247
+ activeHouseWorkType: s
248
+ }) => {
244
249
  let n = q({
245
250
  ...i,
246
251
  quantity: 1,
@@ -250,13 +255,15 @@ const D = We.exports, T = {
250
255
  packageId: e.packageId
251
256
  });
252
257
  if (s) {
253
- const a = (u = []) => u.reduce((_, d) => ({ ..._, [d]: !1 }), {}), l = Object.values(S({
254
- rot: "isDeductable",
255
- rut: "isRut",
256
- greenRot15: "greenRot15",
257
- greenRot20: "greenRot20",
258
- greenRot50: "greenRot50"
259
- }, [s]));
258
+ const a = (u = []) => u.reduce((_, d) => ({ ..._, [d]: !1 }), {}), l = Object.values(
259
+ S({
260
+ rot: "isDeductable",
261
+ rut: "isRut",
262
+ greenRot15: "greenRot15",
263
+ greenRot20: "greenRot20",
264
+ greenRot50: "greenRot50"
265
+ }, [s])
266
+ );
260
267
  l.some((u) => !!n[u]) && (n = { ...n, ...a(l) });
261
268
  }
262
269
  return n;
@@ -1,25 +1,25 @@
1
- import { b as s, x as n, y as c, z as i, M as a, n as l } from "./main-e0ec3a1d.js";
2
- import { m as v } from "./mapFormMixin-d799f9b8.js";
3
- import { f as d } from "./focusDrawerMixin-72023f17.js";
4
- import { B as u } from "./BlockMedia-11f309cf.js";
5
- import { T as m } from "./DocTextEditor-cd03a1fe.js";
6
- import "./formDrawerState-e0ff3ff0.js";
7
- import "./color-71c20583.js";
8
- import "./tippy.esm-77270ccc.js";
9
- import "./ColorPicker-891fa9ff.js";
10
- import "./DocumentLayout-46669407.js";
11
- import "./debounce-da1cfff7.js";
12
- import "./CDropdownItem-8fc4a155.js";
13
- import "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
1
+ import { b as s, x as n, y as c, z as i, M as a, n as l } from "./main-6755bb4b.js";
2
+ import { m as v } from "./mapFormMixin-b16172a1.js";
3
+ import { f as d } from "./focusDrawerMixin-8069e576.js";
4
+ import { B as u } from "./BlockMedia-1e3a0f94.js";
5
+ import { T as m } from "./DocTextEditor-2bd6054e.js";
6
+ import "./formDrawerState-fbc48424.js";
7
+ import "./color-c1606adc.js";
8
+ import "./tippy.esm-772cdbd7.js";
9
+ import "./ColorPicker-ca942c8e.js";
10
+ import "./DocumentLayout-12013f0e.js";
11
+ import "./debounce-d81702a3.js";
12
+ import "./CDropdownItem-dbc0c19a.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
14
14
  import "./dom-962579a6.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-a8f15584.js";
16
+ import "./ManualPopover-69439e3e.js";
17
17
  const _ = {
18
18
  name: "CoverBlock",
19
19
  components: {
20
20
  BlockMedia: u,
21
21
  TextEditor: m,
22
- CoverBlockSettings: () => import("./CoverBlockSettings-691d6064.js")
22
+ CoverBlockSettings: () => import("./CoverBlockSettings-dfcd3846.js")
23
23
  },
24
24
  mixins: [v(["coverBlock"]), d],
25
25
  inject: ["parentSize"],
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-d799f9b8.js";
2
- import { n as t } from "./main-e0ec3a1d.js";
1
+ import { m as n } from "./mapFormMixin-b16172a1.js";
2
+ import { n as t } from "./main-6755bb4b.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-cebc4b52.js"),
7
- Edit: () => import("./Index-3be2f7bc.js")
6
+ Read: () => import("./Index-71865178.js"),
7
+ Edit: () => import("./Index-e155c4e3.js")
8
8
  },
9
9
  mixins: [
10
10
  n([
@@ -1,18 +1,18 @@
1
- import { n as i, g as d, W as m, b as o, av as c } from "./main-e0ec3a1d.js";
2
- import { m as p } from "./mapFormMixin-d799f9b8.js";
3
- import { w as _ } from "./CDropdownItem-8fc4a155.js";
1
+ import { n as i, g as d, W as m, b as o, av as c } from "./main-6755bb4b.js";
2
+ import { m as p } from "./mapFormMixin-b16172a1.js";
3
+ import { w as _ } from "./CDropdownItem-dbc0c19a.js";
4
4
  import { m as g, a as v } from "./vuex.esm-4a0fff7c.js";
5
- import { T as f } from "./DocTextEditor-cd03a1fe.js";
6
- import { C as h } from "./CCallout-d09a7a83.js";
7
- import "./tippy.esm-77270ccc.js";
8
- import "./ColorPicker-891fa9ff.js";
9
- import "./DocumentLayout-46669407.js";
10
- import "./debounce-da1cfff7.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
5
+ import { T as f } from "./DocTextEditor-2bd6054e.js";
6
+ import { C as h } from "./CCallout-0afae25b.js";
7
+ import "./tippy.esm-772cdbd7.js";
8
+ import "./ColorPicker-ca942c8e.js";
9
+ import "./DocumentLayout-12013f0e.js";
10
+ import "./debounce-d81702a3.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
12
12
  import "./dom-962579a6.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-a8f15584.js";
15
- import "./color-71c20583.js";
14
+ import "./ManualPopover-69439e3e.js";
15
+ import "./color-c1606adc.js";
16
16
  const b = {
17
17
  name: "ModalReference",
18
18
  props: {
@@ -290,8 +290,8 @@ const O = {
290
290
  mixins: [p([])],
291
291
  components: {
292
292
  AvatarContact: F,
293
- IsPremium: () => import("./index-c28a8215.js").then((s) => s.IsPremium),
294
- IsPremiumPreStep: () => import("./index-c28a8215.js").then((s) => s.IsPremiumPreStep)
293
+ IsPremium: () => import("./index-2ed37de4.js").then((s) => s.IsPremium),
294
+ IsPremiumPreStep: () => import("./index-2ed37de4.js").then((s) => s.IsPremiumPreStep)
295
295
  },
296
296
  props: {
297
297
  content: {
@@ -1,7 +1,7 @@
1
- import { m as a } from "./mapFormMixin-d799f9b8.js";
2
- import { I as n } from "./InputToggleRow-5ee011ac.js";
3
- import { B as c } from "./BaseInput-42ac25a2.js";
4
- import { n as o } from "./main-e0ec3a1d.js";
1
+ import { m as a } from "./mapFormMixin-b16172a1.js";
2
+ import { I as n } from "./InputToggleRow-7a7b4c82.js";
3
+ import { B as c } from "./BaseInput-7baacfd4.js";
4
+ import { n as o } from "./main-6755bb4b.js";
5
5
  const s = {
6
6
  i18nOptions: {
7
7
  namespaces: "ExtraWorkConstructionPricingListEdit",
@@ -1,10 +1,10 @@
1
- import { m as s } from "./mapFormMixin-d799f9b8.js";
2
- import { n as o } from "./main-e0ec3a1d.js";
1
+ import { m as s } from "./mapFormMixin-b16172a1.js";
2
+ import { n as o } from "./main-6755bb4b.js";
3
3
  const u = {
4
4
  name: "PackageGroupBlock",
5
5
  components: {
6
- PackageGroupRead: () => import("./PackageGroup-08b05fd3.js"),
7
- PackageGroupEdit: () => import("./Index-71933eec.js")
6
+ PackageGroupRead: () => import("./PackageGroup-8d49e46e.js"),
7
+ PackageGroupEdit: () => import("./Index-cd26a74b.js")
8
8
  },
9
9
  mixins: [s(["type", "packages"])],
10
10
  data() {
@@ -1,10 +1,10 @@
1
- import { g as a, h as l, n as c, b as m, e as u } from "./main-e0ec3a1d.js";
1
+ import { g as a, h as l, n as c, b as m, e as u } from "./main-6755bb4b.js";
2
2
  import { s as p, i as v } from "./dom-962579a6.js";
3
- import { w as d } from "./CDropdownItem-8fc4a155.js";
4
- import { a as _ } from "./answerDocumentMixin-043bdad9.js";
5
- import "./index-10b258a2.js";
3
+ import { w as d } from "./CDropdownItem-dbc0c19a.js";
4
+ import { a as _ } from "./answerDocumentMixin-d004b5da.js";
5
+ import "./index-aea694d9.js";
6
6
  import { a as g } from "./vuex.esm-4a0fff7c.js";
7
- import { D as h } from "./DocModalBase-7e1c49aa.js";
7
+ import { D as h } from "./DocModalBase-270f0ae7.js";
8
8
  import { v as s } from "./index-805c56e4.js";
9
9
  const f = {
10
10
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import { m as n } from "./mapFormMixin-d799f9b8.js";
2
- import { f as o } from "./focusDrawerMixin-72023f17.js";
3
- import { n as i } from "./main-e0ec3a1d.js";
4
- import "./formDrawerState-e0ff3ff0.js";
1
+ import { m as n } from "./mapFormMixin-b16172a1.js";
2
+ import { f as o } from "./focusDrawerMixin-8069e576.js";
3
+ import { n as i } from "./main-6755bb4b.js";
4
+ import "./formDrawerState-fbc48424.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-a6509bbb.js"),
21
- TermsSettings: () => import("./TermsSettings-42e0de5d.js")
20
+ Read: () => import("./Index-c0c1bc5d.js"),
21
+ TermsSettings: () => import("./TermsSettings-ff7062fd.js")
22
22
  },
23
23
  mixins: [
24
24
  n(["href", "termType", "file", "text"]),
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-e0ec3a1d.js";
1
+ import { n as s } from "./main-6755bb4b.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {
@@ -1,7 +1,7 @@
1
- import { aD as F, b as C, aE as M, aF as Z, aG as K, aH as Y, aI as W, V as B, aJ as X, a8 as L, aK as Q, n as d, v as P, c as h, F as J, l as y, aL as ee, g as m, aM as _, q as k, aN as te, aO as ne, aP as ae, aQ as H, p as re, h as D, I as E, aR as U, L as ie, aS as se, as as oe } from "./main-e0ec3a1d.js";
1
+ import { aD as F, b as C, aE as M, aF as Z, aG as K, aH as Y, aI as W, V as B, aJ as X, a8 as L, aK as Q, n as d, v as P, c as h, F as J, l as y, aL as ee, g as m, aM as _, q as k, aN as te, aO as ne, aP as ae, aQ as H, p as re, h as D, I as E, aR as U, L as ie, aS as se, as as oe } from "./main-6755bb4b.js";
2
2
  import { m as v, a as $, b as le } from "./vuex.esm-4a0fff7c.js";
3
3
  import { a as u } from "./anime.es-e284c852.js";
4
- import "./index-10b258a2.js";
4
+ import "./index-aea694d9.js";
5
5
  import { g as ce } from "./dom-962579a6.js";
6
6
  import { v as b } from "./index-805c56e4.js";
7
7
  const x = {
@@ -1322,7 +1322,9 @@ const x = {
1322
1322
  };
1323
1323
  if (!a[t])
1324
1324
  throw new Error(`Invalid product: ${t}`);
1325
- return Object.values(e.products).find((r) => r.name === a[t]);
1325
+ return Object.values(e.products).find(
1326
+ (r) => r.name === a[t]
1327
+ );
1326
1328
  },
1327
1329
  getProductByPriceId: (n, e) => (t) => {
1328
1330
  if (!t)
@@ -1337,7 +1339,9 @@ const x = {
1337
1339
  getMeteredProduct: (n, e) => (t) => {
1338
1340
  if (!t)
1339
1341
  throw new Error("Missing parameter meteredType");
1340
- const a = e.products, r = Object.keys(a).find((i) => C(a[i], "metadata.meteredType") === t);
1342
+ const a = e.products, r = Object.keys(a).find(
1343
+ (i) => C(a[i], "metadata.meteredType") === t
1344
+ );
1341
1345
  return a[r];
1342
1346
  },
1343
1347
  formPromotion: (n) => n.form.promotion,
@@ -1362,7 +1366,12 @@ const x = {
1362
1366
  const { subscriptionItems: t } = e;
1363
1367
  if (!t || !t.length)
1364
1368
  return null;
1365
- const a = t.find((i) => C(n.prices[i.stripePriceStripeId], "StripeProduct.metadata.accountType"));
1369
+ const a = t.find(
1370
+ (i) => C(
1371
+ n.prices[i.stripePriceStripeId],
1372
+ "StripeProduct.metadata.accountType"
1373
+ )
1374
+ );
1366
1375
  if (!a)
1367
1376
  return null;
1368
1377
  const r = n.prices[a.stripePriceStripeId];
@@ -1409,11 +1418,13 @@ const x = {
1409
1418
  subTotal: s,
1410
1419
  vatAmount: l,
1411
1420
  totalAmount: o,
1412
- items: [{
1413
- name: e.formPlan.accountType,
1414
- amount: i,
1415
- quantity: e.formPlan.quantity
1416
- }]
1421
+ items: [
1422
+ {
1423
+ name: e.formPlan.accountType,
1424
+ amount: i,
1425
+ quantity: e.formPlan.quantity
1426
+ }
1427
+ ]
1417
1428
  });
1418
1429
  }
1419
1430
  return r(), e.formProducts.forEach((i) => {
@@ -1430,11 +1441,13 @@ const x = {
1430
1441
  subTotal: c,
1431
1442
  vatAmount: p,
1432
1443
  totalAmount: g,
1433
- items: [{
1434
- name: s.StripeProduct.name,
1435
- amount: o,
1436
- quantity: i.quantity
1437
- }]
1444
+ items: [
1445
+ {
1446
+ name: s.StripeProduct.name,
1447
+ amount: o,
1448
+ quantity: i.quantity
1449
+ }
1450
+ ]
1438
1451
  });
1439
1452
  }
1440
1453
  }), a;
@@ -1465,7 +1478,10 @@ const x = {
1465
1478
  if (!t)
1466
1479
  return !1;
1467
1480
  const { appliesToStripeProductIds: r } = t, { stripeProductId: i } = e.formPlan || {};
1468
- return Array.isArray(r) && !r.includes(i) ? !1 : (n("setFormValue", { key: "promotion", value: { ...t, code: a } }), !0);
1481
+ return Array.isArray(r) && !r.includes(i) ? !1 : (n("setFormValue", {
1482
+ key: "promotion",
1483
+ value: { ...t, code: a }
1484
+ }), !0);
1469
1485
  },
1470
1486
  async [ge]({ commit: n, getters: e, dispatch: t }, a) {
1471
1487
  try {
@@ -1473,7 +1489,10 @@ const x = {
1473
1489
  return !1;
1474
1490
  n("setPosting", !0);
1475
1491
  const { data: r } = await Z(a);
1476
- return t(V, { promotionDetails: r, code: a });
1492
+ return t(V, {
1493
+ promotionDetails: r,
1494
+ code: a
1495
+ });
1477
1496
  } catch {
1478
1497
  return !1;
1479
1498
  } finally {
@@ -1516,12 +1535,20 @@ const x = {
1516
1535
  r && (g = await t(O, { cardElement: r }));
1517
1536
  const S = { ...l, items: s };
1518
1537
  g && (S.paymentMethod = g), o && o.code && (S.promotionCode = o.code), p && (S.dealSource = p);
1519
- const { data: j = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets: T } = j, R = g && g.id ? g.id : c && c.paymentMethodId;
1520
- return T && T.length && R ? await t(N, { clientSecrets: T, paymentMethodId: R }) : !0;
1538
+ const { data: j = {} } = await M.product(S, {
1539
+ removeUnusedItems: i
1540
+ }), { clientSecrets: T } = j, R = g && g.id ? g.id : c && c.paymentMethodId;
1541
+ return T && T.length && R ? await t(N, {
1542
+ clientSecrets: T,
1543
+ paymentMethodId: R
1544
+ }) : !0;
1521
1545
  } catch (s) {
1522
1546
  this.handleError(s);
1523
1547
  const l = (s.errorCode ? ue(s.errorCode) : "") || s.message;
1524
- return n("setFormValue", { key: "error", value: l || "Submit Form Payment Error" }), !1;
1548
+ return n("setFormValue", {
1549
+ key: "error",
1550
+ value: l || "Submit Form Payment Error"
1551
+ }), !1;
1525
1552
  } finally {
1526
1553
  n("setPosting", !1);
1527
1554
  }
@@ -1531,22 +1558,37 @@ const x = {
1531
1558
  const { formPlan: r, formProducts: i, products: s, subscriptionItems: l } = t;
1532
1559
  if (!r)
1533
1560
  return !1;
1534
- const o = [...l], c = o.findIndex((p) => C(s[p.stripeProductStripeId], "metadata.accountType"));
1561
+ const o = [...l], c = o.findIndex(
1562
+ (p) => C(s[p.stripeProductStripeId], "metadata.accountType")
1563
+ );
1535
1564
  return c !== -1 && o.splice(c, 1), o.push({
1536
1565
  stripePriceStripeId: r.stripeId,
1537
1566
  stripeProductStripeId: r.stripeProductId,
1538
1567
  quantity: r.quantity
1539
- }), o.push(...i), await e(w, { form: { items: o }, stripe: { cardElement: a } });
1568
+ }), o.push(...i), await e(w, {
1569
+ form: { items: o },
1570
+ stripe: { cardElement: a }
1571
+ });
1540
1572
  } catch (r) {
1541
- return this.handleError(r), n("setFormValue", { key: "error", value: r.message || "Submit Plan Error" }), !1;
1573
+ return this.handleError(r), n("setFormValue", {
1574
+ key: "error",
1575
+ value: r.message || "Submit Plan Error"
1576
+ }), !1;
1542
1577
  }
1543
1578
  },
1544
1579
  async [ye]({ commit: n, dispatch: e, getters: t }, { cardElement: a, removeUnusedItems: r = !0 } = {}) {
1545
1580
  try {
1546
1581
  const { formProducts: i } = t, s = [...i];
1547
- return s.length ? await e(w, { form: { items: s }, stripe: { cardElement: a }, removeUnusedItems: r }) : !1;
1582
+ return s.length ? await e(w, {
1583
+ form: { items: s },
1584
+ stripe: { cardElement: a },
1585
+ removeUnusedItems: r
1586
+ }) : !1;
1548
1587
  } catch (i) {
1549
- return this.handleError(i), n("setFormValue", { key: "error", value: i.message || "Submit Products Error" }), !1;
1588
+ return this.handleError(i), n("setFormValue", {
1589
+ key: "error",
1590
+ value: i.message || "Submit Products Error"
1591
+ }), !1;
1550
1592
  }
1551
1593
  },
1552
1594
  /**
@@ -1569,8 +1611,16 @@ const x = {
1569
1611
  throw new Error("Param clientSecrets needs to be an array");
1570
1612
  return await e.reduce(async (i, s) => {
1571
1613
  await i;
1572
- const { paymentIntent: l, error: o } = await a.confirmCardPayment(s, { payment_method: t });
1573
- return o ? (o.message && n("setFormValue", { key: "error", value: o.message }), await M.cancelAll({ immediately: !0, status: "incomplete" }), !1) : l && l.status === "succeeded";
1614
+ const { paymentIntent: l, error: o } = await a.confirmCardPayment(s, {
1615
+ payment_method: t
1616
+ });
1617
+ return o ? (o.message && n("setFormValue", {
1618
+ key: "error",
1619
+ value: o.message
1620
+ }), await M.cancelAll({
1621
+ immediately: !0,
1622
+ status: "incomplete"
1623
+ }), !1) : l && l.status === "succeeded";
1574
1624
  }, Promise.resolve());
1575
1625
  } catch (r) {
1576
1626
  return this.handleError(r), !1;
@@ -1591,7 +1641,9 @@ const x = {
1591
1641
  n("setPosting", !0);
1592
1642
  const { subscriptionItems: r } = t;
1593
1643
  let i = [...r];
1594
- return i = i.filter((s) => s.stripePriceStripeId !== a), await e(w, { form: { items: i } });
1644
+ return i = i.filter(
1645
+ (s) => s.stripePriceStripeId !== a
1646
+ ), await e(w, { form: { items: i } });
1595
1647
  } catch (r) {
1596
1648
  return this.handleError(r), !1;
1597
1649
  } finally {
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-e0ec3a1d.js";
1
+ import { n as s } from "./main-6755bb4b.js";
2
2
  const r = {
3
3
  name: "ManualPopover",
4
4
  data() {
@@ -1,7 +1,7 @@
1
- import { B as n } from "./BlockMedia-11f309cf.js";
2
- import { m as a } from "./mapFormMixin-d799f9b8.js";
3
- import { n as m } from "./main-e0ec3a1d.js";
4
- import "./color-71c20583.js";
1
+ import { B as n } from "./BlockMedia-1e3a0f94.js";
2
+ import { m as a } from "./mapFormMixin-b16172a1.js";
3
+ import { n as m } from "./main-6755bb4b.js";
4
+ import "./color-c1606adc.js";
5
5
  const o = {
6
6
  name: "MediaWrapper",
7
7
  components: { BlockMedia: n },
@@ -1,5 +1,5 @@
1
- import { P as t } from "./PlainHtml-0b903d46.js";
2
- import { n as e } from "./main-e0ec3a1d.js";
1
+ import { P as t } from "./PlainHtml-0b2ee915.js";
2
+ import { n as e } from "./main-6755bb4b.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,18 +1,18 @@
1
- import { t as m } from "./tinycolor-8cfd2ec1.js";
2
- import { aj as v, ak as y, v as g, n as d, al as f, y as k, b as p, l as w, c as P } from "./main-e0ec3a1d.js";
3
- import { E as $ } from "./ErrorCallout-385e2432.js";
4
- import { m as _ } from "./mapFormMixin-d799f9b8.js";
5
- import { T as x } from "./DocTextEditor-cd03a1fe.js";
6
- import "./tippy.esm-77270ccc.js";
7
- import "./ColorPicker-891fa9ff.js";
8
- import "./DocumentLayout-46669407.js";
9
- import "./debounce-da1cfff7.js";
10
- import "./CDropdownItem-8fc4a155.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-b4f46db0.js";
1
+ import { t as m } from "./tinycolor-579f7237.js";
2
+ import { aj as v, ak as y, v as g, n as d, al as f, y as k, b as p, l as w, c as P } from "./main-6755bb4b.js";
3
+ import { E as $ } from "./ErrorCallout-cd60b1b6.js";
4
+ import { m as _ } from "./mapFormMixin-b16172a1.js";
5
+ import { T as x } from "./DocTextEditor-2bd6054e.js";
6
+ import "./tippy.esm-772cdbd7.js";
7
+ import "./ColorPicker-ca942c8e.js";
8
+ import "./DocumentLayout-12013f0e.js";
9
+ import "./debounce-d81702a3.js";
10
+ import "./CDropdownItem-dbc0c19a.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-f1d09608.js";
12
12
  import "./dom-962579a6.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-a8f15584.js";
15
- import "./color-71c20583.js";
14
+ import "./ManualPopover-69439e3e.js";
15
+ import "./color-c1606adc.js";
16
16
  const b = {
17
17
  name: "ArticleItem",
18
18
  mixins: [_([])],