@cling-se/widget 0.9.21 → 0.9.22

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-f30100da.js} +5 -5
  2. package/dist/{AnswerModal-6231b1e0.js → AnswerModal-d30e03bd.js} +3 -3
  3. package/dist/{AttachmentItem-6177b14a.js → AttachmentItem-446bb069.js} +3 -3
  4. package/dist/{BaseDatePicker-52deabed.js → BaseDatePicker-6a365a09.js} +1 -1
  5. package/dist/{BaseInput-a85cebb6.js → BaseInput-7ed92f6a.js} +1 -1
  6. package/dist/{BaseUpload-859d5cee.js → BaseUpload-636eeec3.js} +18 -18
  7. package/dist/{BlockMedia-ee5bf47c.js → BlockMedia-3cb86ebf.js} +1 -1
  8. package/dist/{CCallout-a4442013.js → CCallout-44e44f26.js} +2 -2
  9. package/dist/{CDropdownItem-d04a1369.js → CDropdownItem-52cf4f0e.js} +75 -156
  10. package/dist/{CField-1baba8ee.js → CField-a80001b1.js} +1 -1
  11. package/dist/CPhoneFormat-3db8947d.js +64 -0
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js → CSlider.vue_vue_type_style_index_0_lang-42fea525.js} +1 -1
  13. package/dist/{ClientAutocomplete-9a48c913.js → ClientAutocomplete-84cfcc88.js} +2 -2
  14. package/dist/{ClientModal-6e232065.js → ClientModal-5c684c95.js} +19 -18
  15. package/dist/{ColorPicker-f53737c4.js → ColorPicker-043d7a04.js} +38 -38
  16. package/dist/{CompanyModal-1d09cba9.js → CompanyModal-64d16864.js} +3 -3
  17. package/dist/{ContentWrapper-b0443560.js → ContentWrapper-f3c1c1cb.js} +15 -14
  18. package/dist/{CoverBlockSettings-92c2721a.js → CoverBlockSettings-8f28a3a5.js} +8 -8
  19. package/dist/DocAnswer-2402eee3.js +30 -0
  20. package/dist/DocDetails-ec7f2a02.js +224 -0
  21. package/dist/{DocForm-02d54368.js → DocForm-c9df5aa0.js} +57 -55
  22. package/dist/{DocFormSend-2667ba21.js → DocFormSend-31f95da1.js} +23 -22
  23. package/dist/{DocLinks-83145fa9.js → DocLinks-93f538c9.js} +2 -2
  24. package/dist/{DocModalBase-bc6b72fc.js → DocModalBase-5c9138cc.js} +1 -1
  25. package/dist/{DocPrint-6e411f4d.js → DocPrint-a4475559.js} +1 -1
  26. package/dist/{DocReceipt-2da01d4a.js → DocReceipt-4e571cee.js} +1 -1
  27. package/dist/{DocSendReminder-9b5f553c.js → DocSendReminder-fe49cd44.js} +1 -1
  28. package/dist/{DocTextEditor-9b95e95a.js → DocTextEditor-2bb318af.js} +777 -771
  29. package/dist/{DocTimeline-c1d5aa41.js → DocTimeline-9f47bab8.js} +17 -13
  30. package/dist/DocumentClient-99d7039b.js +127 -0
  31. package/dist/{DocumentLayout-abef4251.js → DocumentLayout-11af5e3b.js} +12 -11
  32. package/dist/{DocumentLogotype-4ef5e90f.js → DocumentLogotype-1931e1ad.js} +3 -3
  33. package/dist/DocumentVoided-6351a1df.js +27 -0
  34. package/dist/{EmbedInput-2251e7fb.js → EmbedInput-7d0562fc.js} +2 -2
  35. package/dist/{EmbedSettings-dc024f93.js → EmbedSettings-9df99e76.js} +3 -3
  36. package/dist/{ErrorCallout-d8745739.js → ErrorCallout-106838ce.js} +1 -1
  37. package/dist/{FilePreviewModal-0eec8f54.js → FilePreviewModal-095408ae.js} +7 -6
  38. package/dist/{HeaderSettings-c1936aeb.js → HeaderSettings-6d350190.js} +18 -17
  39. package/dist/{ImageSelectModal-65f96a00.js → ImageSelectModal-971708e1.js} +16 -15
  40. package/dist/{ImageUploadWrapper-770093f0.js → ImageUploadWrapper-3fac23f0.js} +12 -12
  41. package/dist/{Index-9689977a.js → Index-1e62aedf.js} +12 -11
  42. package/dist/{Index-d16a077e.js → Index-20d85e3a.js} +2 -2
  43. package/dist/{Index-abc574c9.js → Index-2abd5d2b.js} +4 -4
  44. package/dist/{Index-389f4500.js → Index-356bc162.js} +4 -4
  45. package/dist/{Index-2d8dbeff.js → Index-4fa057f8.js} +3 -3
  46. package/dist/{Index-95291dad.js → Index-567e408c.js} +10 -9
  47. package/dist/{Index-8c6ff53d.js → Index-57d5951b.js} +6 -6
  48. package/dist/{Index-2a2c1f73.js → Index-5a0d7d8c.js} +10 -9
  49. package/dist/{Index-fd8c99a8.js → Index-6e6d2653.js} +2 -2
  50. package/dist/{Index-81ddc798.js → Index-70f16919.js} +4 -4
  51. package/dist/{Index-4d0fb3db.js → Index-7477a320.js} +1 -1
  52. package/dist/{Index-62adb4b4.js → Index-77bcf959.js} +4 -4
  53. package/dist/{Index-6cd763af.js → Index-79f564d7.js} +4 -4
  54. package/dist/{Index-044b3e78.js → Index-7b9b5dee.js} +9 -9
  55. package/dist/{Index-b3e7a96c.js → Index-868d52a9.js} +5 -5
  56. package/dist/{Index-b9a4d140.js → Index-88af8453.js} +3 -3
  57. package/dist/{Index-f922ca7a.js → Index-8b39f885.js} +2 -2
  58. package/dist/{Index-b76ad769.js → Index-8c04b710.js} +15 -14
  59. package/dist/{Index-dfecb8ef.js → Index-8c335677.js} +2 -2
  60. package/dist/{Index-3d5d967d.js → Index-8f883e55.js} +6 -6
  61. package/dist/{Index-94836a7b.js → Index-938d67eb.js} +56 -115
  62. package/dist/{Index-e5e698bd.js → Index-9b1e35fa.js} +4 -4
  63. package/dist/{Index-c94003c4.js → Index-a1f74882.js} +4 -4
  64. package/dist/{Index-f099d8b6.js → Index-a65bded3.js} +4 -4
  65. package/dist/{Index-8b408fa4.js → Index-bf0c487f.js} +7 -7
  66. package/dist/{Index-6939dd0f.js → Index-c8e36c6e.js} +2 -2
  67. package/dist/{Index-7e3ca7a8.js → Index-d3667461.js} +12 -11
  68. package/dist/{Index-a2294660.js → Index-d617c13f.js} +11 -10
  69. package/dist/{Index-ea9c5c01.js → Index-d9001d15.js} +12 -12
  70. package/dist/{Index-0154e11e.js → Index-e27c2fdf.js} +2 -2
  71. package/dist/{Index-51791450.js → Index-eb9a3a06.js} +51 -50
  72. package/dist/{Index-194d394a.js → Index-fad050d0.js} +4 -4
  73. package/dist/{Index-cc230603.js → Index-ffd8211f.js} +16 -15
  74. package/dist/{Index-ee19b47e.js → Index-ffff3ae8.js} +4 -4
  75. package/dist/{InputToggleRow-aa0e2c44.js → InputToggleRow-e6ceba8d.js} +1 -1
  76. package/dist/{IsPremiumPreStep-367dd957.js → IsPremiumPreStep-5760ca12.js} +31 -31
  77. package/dist/{ManualPopover-2bdd12a2.js → ManualPopover-814d1319.js} +1 -1
  78. package/dist/{MediaWrapper-6f144338.js → MediaWrapper-e67928b8.js} +3 -3
  79. package/dist/{NotBindingText-4698dd82.js → NotBindingText-f72244ab.js} +2 -2
  80. package/dist/{PackageGroup-220483fc.js → PackageGroup-b457cbbb.js} +18 -17
  81. package/dist/{PdfTerms-5fb32923.js → PdfTerms-fa51699a.js} +8 -7
  82. package/dist/{PdfViewer-c68102fe.js → PdfViewer-93b67f36.js} +2 -2
  83. package/dist/{PlainHtml-5c871f6e.js → PlainHtml-4decb4b1.js} +1 -1
  84. package/dist/{PriceHeader-8abd96ed.js → PriceHeader-85923b9b.js} +29 -28
  85. package/dist/{SearchApi-5c205029.js → SearchApi-e49da25f.js} +2 -2
  86. package/dist/{Setup-c6e232cc.js → Setup-9e46ec76.js} +1 -1
  87. package/dist/{TermsSettings-31743151.js → TermsSettings-79755d10.js} +9 -8
  88. package/dist/{ThemeColorRow-fbea4c21.js → ThemeColorRow-ce0c5083.js} +3 -3
  89. package/dist/{ToggleBinding-eacc1838.js → ToggleBinding-cda92aa3.js} +3 -3
  90. package/dist/{UploadModal-593a1535.js → UploadModal-0e80a0f2.js} +3 -3
  91. package/dist/{VideoPlayerInput-a4e484f4.js → VideoPlayerInput-6145c645.js} +3 -3
  92. package/dist/{VideoPlayerSettings-6dedd07e.js → VideoPlayerSettings-b6d55453.js} +4 -4
  93. package/dist/{VideoSelectModal-93abc59d.js → VideoSelectModal-61d97f65.js} +13 -12
  94. package/dist/{answerDocumentMixin-bbd3ab59.js → answerDocumentMixin-8edab24a.js} +3 -3
  95. package/dist/debounce-62af9d61.js +84 -0
  96. package/dist/{focusDrawerMixin-566688bb.js → focusDrawerMixin-745d4e52.js} +1 -1
  97. package/dist/{formComponentsInstall-c9797c0b.js → formComponentsInstall-dc68b7e8.js} +22 -22
  98. package/dist/{formDrawerState-18920c2a.js → formDrawerState-6408853b.js} +1 -1
  99. package/dist/{formValidationMixin-7144b19f.js → formValidationMixin-a27a1b47.js} +1 -1
  100. package/dist/{image-6e71d7fa.js → image-7f7c16da.js} +1 -1
  101. package/dist/{index-465cfbbd.js → index-14df19cb.js} +2 -2
  102. package/dist/{index-a390debd.js → index-1cf2de3c.js} +39 -39
  103. package/dist/{index-0a319f2d.js → index-2a4b06f7.js} +4 -4
  104. package/dist/{index-82e3d4b8.js → index-474d6e34.js} +1 -1
  105. package/dist/{index-08b2746a.js → index-a72b19e9.js} +15 -14
  106. package/dist/{index-8bd6d39a.js → index-cc6b4d3a.js} +15 -14
  107. package/dist/index.es.js +9 -9
  108. package/dist/index.umd.js +175 -177
  109. package/dist/{main-0530c048.js → main-b72127b8.js} +13370 -14589
  110. package/dist/{mapFormMixin-01a2e577.js → mapFormMixin-52ec1660.js} +1 -1
  111. package/dist/{publicSenderState-db943021.js → publicSenderState-1a30e0c5.js} +1 -1
  112. package/dist/{simplebar.min-7f44680f.js → simplebar.min-c28f1a61.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-8ac55054.js → template-c65478b1.js} +2 -2
  115. package/dist/{throttle-be2144d7.js → throttle-040bd305.js} +2 -2
  116. package/dist/{tinycolor-9d91bda6.js → tinycolor-10bcd30d.js} +1 -1
  117. package/dist/{tippy.esm-8368093c.js → tippy.esm-0ef95919.js} +45 -45
  118. package/dist/{utils-66c1f205.js → utils-6073fc98.js} +1 -1
  119. package/dist/{vuedraggable.umd-d9c89b79.js → vuedraggable.umd-d2790aec.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,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-52ec1660.js";
2
+ import { n as i } from "./main-b72127b8.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-8c335677.js"),
7
+ Edit: () => import("./Index-8b39f885.js")
8
8
  },
9
9
  mixins: [e([
10
10
  "workStartAt",
@@ -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-52ec1660.js";
2
+ import { n as i } from "./main-b72127b8.js";
3
3
  const m = {
4
4
  name: "EstimatedTimeToComplete",
5
5
  components: {
6
- Read: () => import("./Index-fd8c99a8.js"),
7
- Edit: () => import("./Index-194d394a.js")
6
+ Read: () => import("./Index-6e6d2653.js"),
7
+ Edit: () => import("./Index-fad050d0.js")
8
8
  },
9
9
  mixins: [e(["noOfTimeUnits", "timeUnit"])]
10
10
  };
@@ -1,5 +1,5 @@
1
- import { m as l } from "./mapFormMixin-01a2e577.js";
2
- import { q as r, n as o } from "./main-0530c048.js";
1
+ import { m as l } from "./mapFormMixin-52ec1660.js";
2
+ import { q as r, n as o } from "./main-b72127b8.js";
3
3
  const c = {
4
4
  name: "DocChapter",
5
5
  components: {
@@ -44,7 +44,7 @@ var p = function() {
44
44
  d,
45
45
  !1,
46
46
  null,
47
- "24381944",
47
+ "b898f325",
48
48
  null,
49
49
  null
50
50
  );
@@ -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-52ec1660.js";
2
+ import { t as b } from "./throttle-040bd305.js";
3
+ import { y as o, ak as u, b as h, n as l } from "./main-b72127b8.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-62af9d61.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-11af5e3b.js";
8
+ import { g as _, b as a, a as n } from "./template-c65478b1.js";
9
+ import "./CDropdownItem-52cf4f0e.js";
10
+ import "./image-7f7c16da.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,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-52ec1660.js";
2
+ import { f as o } from "./focusDrawerMixin-745d4e52.js";
3
+ import { n as i } from "./main-b72127b8.js";
4
+ import "./formDrawerState-6408853b.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-1e62aedf.js"),
21
+ TermsSettings: () => import("./TermsSettings-79755d10.js")
22
22
  },
23
23
  mixins: [
24
24
  n(["href", "termType", "file", "text"]),
@@ -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-52ec1660.js";
2
+ import { V as r } from "./PdfViewer-93b67f36.js";
3
+ import { n as l } from "./main-b72127b8.js";
4
4
  import "./dom-962579a6.js";
5
- import "./DocumentLayout-abef4251.js";
6
- import "./CDropdownItem-d04a1369.js";
5
+ import "./DocumentLayout-11af5e3b.js";
6
+ import "./debounce-62af9d61.js";
7
+ import "./CDropdownItem-52cf4f0e.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-e27c2fdf.js"),
29
+ BaseUpload: () => import("./BaseUpload-636eeec3.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,5 +1,5 @@
1
- import { P as n } from "./PlainHtml-5c871f6e.js";
2
- import { n as s } from "./main-0530c048.js";
1
+ import { P as n } from "./PlainHtml-4decb4b1.js";
2
+ import { n as s } from "./main-b72127b8.js";
3
3
  const o = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-01a2e577.js";
2
- import { n as t } from "./main-0530c048.js";
1
+ import { m as n } from "./mapFormMixin-52ec1660.js";
2
+ import { n as t } from "./main-b72127b8.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-ea9c5c01.js"),
7
- Edit: () => import("./Index-62adb4b4.js")
6
+ Read: () => import("./Index-d9001d15.js"),
7
+ Edit: () => import("./Index-77bcf959.js")
8
8
  },
9
9
  mixins: [n([
10
10
  "workPrice",
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-0530c048.js";
1
+ import { n as r } from "./main-b72127b8.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -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-52ec1660.js";
2
+ import { I as n } from "./InputToggleRow-e6ceba8d.js";
3
+ import { B as c } from "./BaseInput-7ed92f6a.js";
4
+ import { n as o } from "./main-b72127b8.js";
5
5
  const s = {
6
6
  i18nOptions: {
7
7
  namespaces: "ExtraWorkConstructionPricingListEdit",
@@ -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-52ec1660.js";
2
+ import { n as r } from "./main-b72127b8.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-20d85e3a.js"),
7
+ Edit: () => import("./Index-a1f74882.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -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-52ec1660.js";
2
+ import { f as l } from "./focusDrawerMixin-745d4e52.js";
3
+ import { d as c } from "./debounce-62af9d61.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-b72127b8.js";
6
+ import "./formDrawerState-6408853b.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-e67928b8.js"),
11
+ ContentWrapper: () => import("./ContentWrapper-f3c1c1cb.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-85923b9b.js"),
74
+ HeaderSettings: () => import("./HeaderSettings-6d350190.js"),
75
75
  HeaderItems: v
76
76
  },
77
77
  mixins: [r(["header"]), l],
@@ -1,10 +1,10 @@
1
- import { g as a, h as l, n as d, b as m, e as u } from "./main-0530c048.js";
1
+ import { g as a, h as l, n as d, b as m, e as u } from "./main-b72127b8.js";
2
2
  import { s as p, i as v } from "./dom-962579a6.js";
3
- import { w as c } from "./CDropdownItem-d04a1369.js";
4
- import { a as _ } from "./answerDocumentMixin-bbd3ab59.js";
5
- import "./index-a390debd.js";
3
+ import { w as c } from "./CDropdownItem-52cf4f0e.js";
4
+ import { a as _ } from "./answerDocumentMixin-8edab24a.js";
5
+ import "./index-1cf2de3c.js";
6
6
  import { a as g } from "./vuex.esm-4a0fff7c.js";
7
- import { D as h } from "./DocModalBase-bc6b72fc.js";
7
+ import { D as h } from "./DocModalBase-5c9138cc.js";
8
8
  import { v as n } from "./index-805c56e4.js";
9
9
  const C = {
10
10
  i18nOptions: {
@@ -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-52ec1660.js";
2
+ import { n as r } from "./main-b72127b8.js";
3
3
  const s = {
4
4
  name: "WorkAddressText",
5
5
  components: {
6
- Read: () => import("./Index-6939dd0f.js")
6
+ Read: () => import("./Index-c8e36c6e.js")
7
7
  },
8
8
  mixins: [n(["street", "city", "zip"])]
9
9
  };
@@ -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-52ec1660.js";
2
+ import { n as l, M as s } from "./main-b72127b8.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",
@@ -1,16 +1,17 @@
1
- import { n as i, g as d, P as m, b as o, an as c } from "./main-0530c048.js";
2
- import { m as p } from "./mapFormMixin-01a2e577.js";
3
- import { w as _ } from "./CDropdownItem-d04a1369.js";
1
+ import { n as i, g as d, R as m, b as o, aq as c } from "./main-b72127b8.js";
2
+ import { m as p } from "./mapFormMixin-52ec1660.js";
3
+ import { w as _ } from "./CDropdownItem-52cf4f0e.js";
4
4
  import { m as g, a as v } from "./vuex.esm-4a0fff7c.js";
5
- import { T as f } from "./DocTextEditor-9b95e95a.js";
6
- import { C as h } from "./CCallout-a4442013.js";
7
- import "./tippy.esm-8368093c.js";
8
- import "./ColorPicker-f53737c4.js";
9
- import "./DocumentLayout-abef4251.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js";
5
+ import { T as f } from "./DocTextEditor-2bb318af.js";
6
+ import { C as h } from "./CCallout-44e44f26.js";
7
+ import "./tippy.esm-0ef95919.js";
8
+ import "./ColorPicker-043d7a04.js";
9
+ import "./DocumentLayout-11af5e3b.js";
10
+ import "./debounce-62af9d61.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-42fea525.js";
11
12
  import "./dom-962579a6.js";
12
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
- import "./ManualPopover-2bdd12a2.js";
14
+ import "./ManualPopover-814d1319.js";
14
15
  import "./color-71c20583.js";
15
16
  const y = {
16
17
  name: "ModalReference",
@@ -284,8 +285,8 @@ const O = {
284
285
  mixins: [p([])],
285
286
  components: {
286
287
  AvatarContact: F,
287
- IsPremium: () => import("./index-0a319f2d.js").then((s) => s.IsPremium),
288
- IsPremiumPreStep: () => import("./index-0a319f2d.js").then((s) => s.IsPremiumPreStep)
288
+ IsPremium: () => import("./index-2a4b06f7.js").then((s) => s.IsPremium),
289
+ IsPremiumPreStep: () => import("./index-2a4b06f7.js").then((s) => s.IsPremiumPreStep)
289
290
  },
290
291
  props: {
291
292
  content: {
@@ -667,7 +668,7 @@ var re = function() {
667
668
  null,
668
669
  null
669
670
  );
670
- const xe = le.exports;
671
+ const ke = le.exports;
671
672
  export {
672
- xe as default
673
+ ke as default
673
674
  };
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-5c871f6e.js";
2
- import { n as o } from "./main-0530c048.js";
1
+ import { P as r } from "./PlainHtml-4decb4b1.js";
2
+ import { n as o } from "./main-b72127b8.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-01a2e577.js";
2
- import { f as i } from "./focusDrawerMixin-566688bb.js";
3
- import { S as a, n as r } from "./main-0530c048.js";
4
- import "./formDrawerState-18920c2a.js";
1
+ import { m as o } from "./mapFormMixin-52ec1660.js";
2
+ import { f as i } from "./focusDrawerMixin-745d4e52.js";
3
+ import { S as a, n as r } from "./main-b72127b8.js";
4
+ import "./formDrawerState-6408853b.js";
5
5
  const d = {
6
6
  name: "Embed",
7
7
  i18nOptions: {
@@ -16,8 +16,8 @@ const d = {
16
16
  }
17
17
  },
18
18
  components: {
19
- EmbedSettings: () => import("./EmbedSettings-dc024f93.js"),
20
- EmbedInput: () => import("./EmbedInput-2251e7fb.js"),
19
+ EmbedSettings: () => import("./EmbedSettings-9df99e76.js"),
20
+ EmbedInput: () => import("./EmbedInput-7d0562fc.js"),
21
21
  Spinner: a
22
22
  },
23
23
  mixins: [o(["embed", "size"]), i],
@@ -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-b72127b8.js";
2
+ import { m as C } from "./mapFormMixin-52ec1660.js";
3
+ import { C as $ } from "./CPhoneFormat-3db8947d.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-5c684c95.js"),
48
+ company: () => import("./CompanyModal-64d16864.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-f30100da.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
  };