@cling-se/widget 0.12.2 → 0.12.4

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 (120) hide show
  1. package/dist/{AddClientCallout-55d62947.js → AddClientCallout-96e94ad9.js} +7 -7
  2. package/dist/{AnswerModal-b6711c04.js → AnswerModal-6990ea17.js} +225 -266
  3. package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-0d327381.js} +6 -6
  4. package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-e2e1ea6e.js} +2 -2
  5. package/dist/{BaseInput-2937b370.js → BaseInput-d9c734b0.js} +1 -1
  6. package/dist/{BaseUpload-43e14bd0.js → BaseUpload-9efbce6d.js} +2 -2
  7. package/dist/{BlockMedia-8360c785.js → BlockMedia-70d92534.js} +1 -1
  8. package/dist/{CCallout-0151c27a.js → CCallout-419f1eac.js} +4 -4
  9. package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-60893039.js} +2 -2
  10. package/dist/{CField-fdd6dcfd.js → CField-2e027461.js} +1 -1
  11. package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-b0670312.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
  13. package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-44998c42.js} +2 -2
  14. package/dist/{ClientModal-68127a2f.js → ClientModal-d4ebef77.js} +11 -11
  15. package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-cd9e1cc0.js} +2 -2
  16. package/dist/{CompanyModal-71ebe768.js → CompanyModal-36820c26.js} +3 -3
  17. package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-520e4761.js} +19 -19
  18. package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-0251d18f.js} +17 -17
  19. package/dist/{DocAnswer-5e76d312.js → DocAnswer-dad0bf7f.js} +4 -4
  20. package/dist/{DocDetails-66a88018.js → DocDetails-31009b60.js} +29 -29
  21. package/dist/{DocForm-6bd82138.js → DocForm-3e6d9d83.js} +88 -85
  22. package/dist/{DocFormSend-c216bd22.js → DocFormSend-3b8e9604.js} +19 -19
  23. package/dist/{DocLinks-c970a046.js → DocLinks-1467ba01.js} +2 -2
  24. package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-c596787a.js} +7 -7
  25. package/dist/{DocPrint-8151565c.js → DocPrint-3970f8e8.js} +13 -13
  26. package/dist/{DocReceipt-493488a1.js → DocReceipt-dd5c7d5b.js} +7 -7
  27. package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-a3909a71.js} +6 -6
  28. package/dist/{DocTextEditor-4892f553.js → DocTextEditor-f0223af8.js} +16 -16
  29. package/dist/{DocTimeline-7a10530a.js → DocTimeline-9b29e5f6.js} +4 -4
  30. package/dist/{DocumentClient-414f097b.js → DocumentClient-f77bc578.js} +46 -32
  31. package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-9cc2a08e.js} +6 -6
  32. package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-20216f74.js} +9 -9
  33. package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-1198114e.js} +2 -2
  34. package/dist/{EmbedInput-25566df2.js → EmbedInput-df3aa286.js} +2 -2
  35. package/dist/{EmbedSettings-167509c0.js → EmbedSettings-b71e059b.js} +3 -3
  36. package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-a39eba4d.js} +1 -1
  37. package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-b5edeee0.js} +8 -8
  38. package/dist/{Flag-38700bb4.js → Flag-c7a354cd.js} +1 -1
  39. package/dist/{HeaderSettings-081d2355.js → HeaderSettings-db6e32c8.js} +24 -24
  40. package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-856e363b.js} +8 -8
  41. package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-24dadc15.js} +5 -5
  42. package/dist/{Index-0e0ad8c0.js → Index-007a1233.js} +5 -5
  43. package/dist/{Index-a934610b.js → Index-0099e82e.js} +1 -1
  44. package/dist/{Index-9502eaff.js → Index-014d0ac2.js} +47 -41
  45. package/dist/{Index-39261a3a.js → Index-12ea21c5.js} +1 -1
  46. package/dist/{Index-3e206913.js → Index-139b1013.js} +2 -2
  47. package/dist/{Index-79894831.js → Index-1bf76a16.js} +4 -4
  48. package/dist/{Index-8e921bc3.js → Index-3378fcf6.js} +4 -4
  49. package/dist/{Index-c25f3084.js → Index-34978d11.js} +2 -2
  50. package/dist/{Index-54fd8589.js → Index-3889e134.js} +4 -4
  51. package/dist/{Index-d1ab5e5c.js → Index-40083942.js} +14 -14
  52. package/dist/{Index-8f01dd46.js → Index-4e675d8a.js} +4 -4
  53. package/dist/{Index-bf5c0b5b.js → Index-4f25825f.js} +10 -10
  54. package/dist/{Index-b62d0ef2.js → Index-4f9afe72.js} +6 -6
  55. package/dist/{Index-1273cdc7.js → Index-5355b449.js} +7 -7
  56. package/dist/{Index-7114ff1a.js → Index-54a78fad.js} +6 -6
  57. package/dist/{Index-34195119.js → Index-607f6640.js} +6 -6
  58. package/dist/{Index-4a8142d1.js → Index-6d22d9d1.js} +2 -2
  59. package/dist/{Index-b925e767.js → Index-73cee68c.js} +5 -5
  60. package/dist/{Index-fdaebd99.js → Index-75368b48.js} +2 -2
  61. package/dist/{Index-7c04c559.js → Index-7b2e5ac5.js} +24 -24
  62. package/dist/{Index-a75ce263.js → Index-8ac2ed05.js} +4 -4
  63. package/dist/{Index-4369488e.js → Index-9891ee1a.js} +6 -6
  64. package/dist/{Index-915af180.js → Index-99ac0ac2.js} +4 -4
  65. package/dist/{Index-2c33f7e6.js → Index-a5a82682.js} +9 -9
  66. package/dist/{Index-a8e9faf7.js → Index-b5480383.js} +9 -9
  67. package/dist/{Index-ddb1face.js → Index-bc5f3ca9.js} +4 -4
  68. package/dist/{Index-88084849.js → Index-c551781f.js} +6 -6
  69. package/dist/{Index-c55a7553.js → Index-cada810e.js} +7 -7
  70. package/dist/{Index-860a7def.js → Index-d689466d.js} +2 -2
  71. package/dist/{Index-ba70d622.js → Index-dcbfb822.js} +2 -2
  72. package/dist/{Index-614cfe86.js → Index-dd5f8fc7.js} +9 -9
  73. package/dist/{Index-b0b08a5f.js → Index-ef955a66.js} +3 -3
  74. package/dist/{Index-f5620e99.js → Index-f05fe2a1.js} +4 -4
  75. package/dist/{Index-ae9bb0e5.js → Index-f06fcb76.js} +48 -38
  76. package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-a9229972.js} +6 -6
  77. package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-4e9e2883.js} +27 -27
  78. package/dist/{ManualPopover-07af41a9.js → ManualPopover-720770bb.js} +1 -1
  79. package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-90c72ae5.js} +3 -3
  80. package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-832d5350.js} +2 -2
  81. package/dist/{PackageGroup-bb70a242.js → PackageGroup-22cbb76c.js} +87 -73
  82. package/dist/{PdfTerms-73cdcc78.js → PdfTerms-ce2d5d5e.js} +5 -5
  83. package/dist/{PdfViewer-0ca6548a.js → PdfViewer-ebff4b6c.js} +4 -4
  84. package/dist/{PlainHtml-834d9eb9.js → PlainHtml-faae67a3.js} +1 -1
  85. package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-67ac2108.js} +37 -37
  86. package/dist/{SearchApi-e24cb043.js → SearchApi-d90fd0d2.js} +2 -2
  87. package/dist/{Setup-38eb90ad.js → Setup-88387515.js} +2 -2
  88. package/dist/{TermsSettings-0566ebc2.js → TermsSettings-82f18edc.js} +7 -7
  89. package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-ca0c7f34.js} +4 -4
  90. package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-87b13b54.js} +3 -3
  91. package/dist/{UploadModal-69feba8c.js → UploadModal-9c6b64dc.js} +8 -8
  92. package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-87ae1e67.js} +3 -3
  93. package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
  94. package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-b9c128a2.js} +15 -15
  95. package/dist/answerDocumentMixin-1a04710f.js +51 -0
  96. package/dist/{debounce-ceac3c0c.js → debounce-5f4cc346.js} +1 -1
  97. package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-fcfab690.js} +1 -1
  98. package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-f2198c99.js} +41 -41
  99. package/dist/{formDrawerState-2389a9f5.js → formDrawerState-6ff961ac.js} +1 -1
  100. package/dist/{formValidationMixin-198347ab.js → formValidationMixin-5882b9a7.js} +1 -1
  101. package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
  102. package/dist/{index-4e8daf4c.js → index-069b282b.js} +3 -3
  103. package/dist/{index-323657a2.js → index-09727136.js} +1 -1
  104. package/dist/{index-2e4624f0.js → index-383fefaf.js} +1 -1
  105. package/dist/{index-df8dbf78.js → index-525e4866.js} +13 -13
  106. package/dist/{index-f44b504d.js → index-7fa7534f.js} +14 -14
  107. package/dist/{index-e3f717e9.js → index-9d8996e9.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +144 -144
  110. package/dist/{main-e7c2bb1b.js → main-0ba93efc.js} +6037 -6233
  111. package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-46fe94a8.js} +1 -1
  112. package/dist/{publicSenderState-60a99040.js → publicSenderState-644bb177.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-27be8808.js → throttle-61f5ee70.js} +2 -2
  115. package/dist/{tinycolor-314fba6f.js → tinycolor-4773d945.js} +1 -1
  116. package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-b5320973.js} +6 -6
  117. package/dist/{utils-e42920bb.js → utils-8d533496.js} +1 -1
  118. package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-37bf712b.js} +1 -1
  119. package/package.json +2 -2
  120. package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
@@ -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-e7c2bb1b.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-0ba93efc.js";
2
2
  import { m as h, a as v } from "./vuex.esm-4a0fff7c.js";
3
- import { m as y } from "./mapFormMixin-cb52494b.js";
4
- import { E as P } from "./ErrorCallout-42eae3f2.js";
5
- import { T as ae } from "./DocTextEditor-4892f553.js";
6
- import { o as S, d as ne } from "./vuedraggable.umd-945498e7.js";
7
- import { W as re } from "./DocumentLayout-2cca22a1.js";
8
- import { C as oe } from "./tippy.esm-4fc6fa67.js";
3
+ import { m as y } from "./mapFormMixin-46fe94a8.js";
4
+ import { E as P } from "./ErrorCallout-a39eba4d.js";
5
+ import { T as ae } from "./DocTextEditor-f0223af8.js";
6
+ import { o as S, d as ne } from "./vuedraggable.umd-37bf712b.js";
7
+ import { W as re } from "./DocumentLayout-9cc2a08e.js";
8
+ import { C as oe } from "./tippy.esm-b5320973.js";
9
9
  import { v as le } from "./index-805c56e4.js";
10
- import { S as ce } from "./SearchApi-e24cb043.js";
11
- import { w as ue } from "./CDropdownItem-b1e4c6f3.js";
12
- import { B as V } from "./BaseInput-2937b370.js";
10
+ import { S as ce } from "./SearchApi-d90fd0d2.js";
11
+ import { w as ue } from "./CDropdownItem-60893039.js";
12
+ import { B as V } from "./BaseInput-d9c734b0.js";
13
13
  import "./dom-962579a6.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-07af41a9.js";
17
- import "./ColorPicker-43c3cfaf.js";
16
+ import "./ManualPopover-720770bb.js";
17
+ import "./ColorPicker-cd9e1cc0.js";
18
18
  import "./color-71c20583.js";
19
- import "./debounce-ceac3c0c.js";
19
+ import "./debounce-5f4cc346.js";
20
20
  const de = [
21
21
  "unit",
22
22
  "m2",
@@ -477,7 +477,7 @@ var Ne = function() {
477
477
  He,
478
478
  !1,
479
479
  null,
480
- "086d55a5",
480
+ "dc6e13ee",
481
481
  null,
482
482
  null
483
483
  );
@@ -618,7 +618,7 @@ var Ge = function() {
618
618
  "show-controls": !e.hideControls
619
619
  }, on: { keydown: function(s) {
620
620
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.$emit("esc");
621
- } } }, [t("div", { staticClass: "flex w-full top-row" }, [t("ArticleAutocomplete", { ref: "name", staticClass: "article-name-wrapper article-input-wrapper form-control form-control-left", attrs: { value: e.article.name, placeholder: e.$t("namePlaceholder"), size: "large" }, on: { input: function(s) {
621
+ } } }, [t("div", { staticClass: "top-row flex w-full" }, [t("ArticleAutocomplete", { ref: "name", staticClass: "article-name-wrapper article-input-wrapper form-control form-control-left", attrs: { value: e.article.name, placeholder: e.$t("namePlaceholder"), size: "large" }, on: { input: function(s) {
622
622
  return e.updateArticle(s, "name");
623
623
  }, focus: function(s) {
624
624
  return e.$emit("focus");
@@ -661,7 +661,7 @@ var Ge = function() {
661
661
  Ke,
662
662
  !1,
663
663
  null,
664
- "66da1f1f",
664
+ "9720807d",
665
665
  null,
666
666
  null
667
667
  );
@@ -1271,11 +1271,11 @@ var ht = function() {
1271
1271
  activeHouseWorkType: e.activeHouseWorkType
1272
1272
  })
1273
1273
  );
1274
- } } })], 1), t("div", { staticClass: "flex w-full", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "flex-grow label-selector form-control form-control-left", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("quantity").capitalize(), "label-position": "inside" } }, [t("CInput", { staticClass: "input-selector", attrs: { value: e.article.quantity, disabled: ["openAcc", "markup"].includes(e.article.priceType), placeholder: "", type: "number", size: "large" }, on: { input: function(s) {
1274
+ } } })], 1), t("div", { staticClass: "flex w-full", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "label-selector form-control form-control-left flex-grow", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("quantity").capitalize(), "label-position": "inside" } }, [t("CInput", { staticClass: "input-selector", attrs: { value: e.article.quantity, disabled: ["openAcc", "markup"].includes(e.article.priceType), placeholder: "", type: "number", size: "large" }, on: { input: function(s) {
1275
1275
  e.updateArticle(Number.parseFloat(s), "quantity");
1276
1276
  } } })], 1), t("ArticleUnitSelect", { attrs: { value: e.article.unitType, "is-public-form": e.viewSettings.isPublicForm }, on: { input: function(s) {
1277
1277
  return e.updateArticle(s, "unitType");
1278
- } } }, [t("CButton", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "8em", "box-shadow": "none" } }, [e._v(" " + e._s(e.articleUnitLabel(e.article.unitType, { count: e.article.quantity })) + " ")])], 1)], 1), e.hidePriceInput ? e._e() : [t("div", { staticClass: "flex", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "flex-1 label-selector form-control form-control-left", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("price.price").capitalize(), "label-position": "inside" } }, [t("CPriceInput", { key: e.priceSuffix(e.article), ref: "priceInput", staticClass: "input-selector", attrs: { value: e.article.price, currency: e.article.currency, "is-inc-vat": e.article.priceType !== "markup" && e.setPricesIncVat, vat: e.article.vat, "price-type": e.article.priceType, "unit-label": e.articleUnitLabel(e.article.unitType) }, on: { input: function(s) {
1278
+ } } }, [t("CButton", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "8em", "box-shadow": "none" } }, [e._v(" " + e._s(e.articleUnitLabel(e.article.unitType, { count: e.article.quantity })) + " ")])], 1)], 1), e.hidePriceInput ? e._e() : [t("div", { staticClass: "flex", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "label-selector form-control form-control-left flex-1", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("price.price").capitalize(), "label-position": "inside" } }, [t("CPriceInput", { key: e.priceSuffix(e.article), ref: "priceInput", staticClass: "input-selector", attrs: { value: e.article.price, currency: e.article.currency, "is-inc-vat": e.article.priceType !== "markup" && e.setPricesIncVat, vat: e.article.vat, "price-type": e.article.priceType, "unit-label": e.articleUnitLabel(e.article.unitType) }, on: { input: function(s) {
1279
1279
  return e.updateArticle(s, "price");
1280
1280
  }, "update:currency": function(s) {
1281
1281
  return e.$emit("update:currency", s);
@@ -1283,7 +1283,7 @@ var ht = function() {
1283
1283
  return e.$emit("focus");
1284
1284
  } } })], 1), e.useVat ? t("div", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "8em" }, on: { click: function(s) {
1285
1285
  e.setPricesIncVat = !e.setPricesIncVat;
1286
- } } }, [e._v(" " + e._s(e._document.$t(`vat.${e.setPricesIncVat ? "incVat" : "exVat"}`)) + " ")]) : e._e()], 1), e.showDiscountInput ? t("div", { staticClass: "flex", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "flex-grow label-selector form-control form-control-left", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("discount").capitalize(), "label-position": "inside" } }, [t("CPriceInput", { ref: "discountInput", staticClass: "input-selector", attrs: { value: e.article.discount, currency: e.article.currency, "is-inc-vat": e.article.discountType !== "percentage" && e.setPricesIncVat, vat: e.article.vat }, on: { input: function(s) {
1286
+ } } }, [e._v(" " + e._s(e._document.$t(`vat.${e.setPricesIncVat ? "incVat" : "exVat"}`)) + " ")]) : e._e()], 1), e.showDiscountInput ? t("div", { staticClass: "flex", staticStyle: { "margin-bottom": "1.5em" } }, [t("CField", { staticClass: "label-selector form-control form-control-left flex-grow", staticStyle: { "margin-bottom": "0" }, attrs: { label: e.$t("discount").capitalize(), "label-position": "inside" } }, [t("CPriceInput", { ref: "discountInput", staticClass: "input-selector", attrs: { value: e.article.discount, currency: e.article.currency, "is-inc-vat": e.article.discountType !== "percentage" && e.setPricesIncVat, vat: e.article.vat }, on: { input: function(s) {
1287
1287
  e.updateArticle(Math.abs(s), "discount");
1288
1288
  } } }, [e.article.discountType === "fixed" ? t("template", { slot: "suffix" }, [e._v(" " + e._s(e._document.$t(`vat.${e.setPricesIncVat ? "incVat" : "exVat"}`)) + " ")]) : t("template", { slot: "suffix" }, [e._v(" " + e._s(e.getCurrencySymbol(e.article.currency)) + " ")])], 2)], 1), t("div", { staticClass: "select-css form-control form-control-right", staticStyle: { width: "5em" }, on: { click: function(s) {
1289
1289
  return e.updateArticle(
@@ -1304,7 +1304,7 @@ var ht = function() {
1304
1304
  }` }], key: s + l, staticClass: "tag-item", class: { active: n }, on: { click: a } }, [e._v(" " + e._s(s) + " ")]);
1305
1305
  }), 0) : e._e(), t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "margin-top": "1em" } }, e._l(e.checkboxItems, function({ label: s, value: n, onClick: a }, r) {
1306
1306
  return t("div", { key: s + r, staticClass: "tag-item", class: { active: n }, on: { click: a } }, [e._v(" " + e._s(s) + " ")]);
1307
- }), 0)], 2)], 2)]), t("div", { staticClass: "flex modal-footer" }, [t("CButton", { staticClass: "flex-grow", staticStyle: { padding: "1.75em", height: "4em", "border-radius": "0", "font-size": "16px" }, attrs: { size: "large", type: "secondary", "full-width": "", tabindex: "0" }, on: { click: e.onSaveArticle } }, [e._v(" " + e._s(e.$t("save")) + " ")]), t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
1307
+ }), 0)], 2)], 2)]), t("div", { staticClass: "modal-footer flex" }, [t("CButton", { staticClass: "flex-grow", staticStyle: { padding: "1.75em", height: "4em", "border-radius": "0", "font-size": "16px" }, attrs: { size: "large", type: "secondary", "full-width": "", tabindex: "0" }, on: { click: e.onSaveArticle } }, [e._v(" " + e._s(e.$t("save")) + " ")]), t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
1308
1308
  offset: 7,
1309
1309
  html: !0,
1310
1310
  content: `
@@ -1343,7 +1343,7 @@ var ht = function() {
1343
1343
  mt,
1344
1344
  !1,
1345
1345
  null,
1346
- "efd067c3",
1346
+ "b191c9e6",
1347
1347
  null,
1348
1348
  null
1349
1349
  );
@@ -1584,7 +1584,7 @@ var yt = function() {
1584
1584
  _t,
1585
1585
  !1,
1586
1586
  null,
1587
- "8e3ec674",
1587
+ "f46c3f31",
1588
1588
  null,
1589
1589
  null
1590
1590
  );
@@ -1669,7 +1669,7 @@ const Tt = {
1669
1669
  };
1670
1670
  var At = function() {
1671
1671
  var e = this, t = e._self._c;
1672
- return t("div", { staticClass: "flex justify-end w-full" }, [t("BaseInput", { staticStyle: { "max-width": "275px", "margin-top": "calc(1 * var(--rem))" }, attrs: { value: e.value, "is-price": !0, "is-inc-vat": e.isIncVat, vat: 25, placeholder: e.$t("maxTotalLabel") }, on: { input: function(s) {
1672
+ return t("div", { staticClass: "flex w-full justify-end" }, [t("BaseInput", { staticStyle: { "max-width": "275px", "margin-top": "calc(1 * var(--rem))" }, attrs: { value: e.value, "is-price": !0, "is-inc-vat": e.isIncVat, vat: 25, placeholder: e.$t("maxTotalLabel") }, on: { input: function(s) {
1673
1673
  return e.$emit("input", s);
1674
1674
  } } }, [t("template", { slot: "prefix" }, [e._v(e._s(e.$t("price.maxPrice").capitalize()))]), t("template", { slot: "suffix" }, [e._v(e._s(e.getCurrencySymbol(e.currency)) + " " + e._s(e.$t(`vat.${e.isIncVat ? "incVat" : "exVat"}`, { thing: e.$t(`vat.${e.vatType}`) })))])], 2)], 1);
1675
1675
  }, Pt = [], St = /* @__PURE__ */ c(
@@ -1678,7 +1678,7 @@ var At = function() {
1678
1678
  Pt,
1679
1679
  !1,
1680
1680
  null,
1681
- "260ca3df",
1681
+ "b28762b5",
1682
1682
  null,
1683
1683
  null
1684
1684
  );
@@ -1735,7 +1735,7 @@ var Rt = function() {
1735
1735
  width: "90%",
1736
1736
  maxWidth: 420,
1737
1737
  classes: "primary"
1738
- }, !1), [t("div", { staticClass: "flex flex-col items-center justify-between w-full deduction-modal" }, [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 2px)", "font-weight": "800", "text-align": "center", "margin-bottom": "calc(1.5 * var(--rem))" } }, [e._v(" " + e._s(e.$t("deduction.manualType", { type: e.houseWorkType })) + " ")]), t("div", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))", width: "100%" } }, [t("BaseInput", { attrs: { "is-price": e.amountUnit === "fixed", placeholder: e.$t("enterThing", { thing: e.$t("deduction.deduction") }), type: "number", autofocus: "", size: "large" }, model: { value: e.internalValue, callback: function(s) {
1738
+ }, !1), [t("div", { staticClass: "deduction-modal flex w-full flex-col items-center justify-between" }, [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 2px)", "font-weight": "800", "text-align": "center", "margin-bottom": "calc(1.5 * var(--rem))" } }, [e._v(" " + e._s(e.$t("deduction.manualType", { type: e.houseWorkType })) + " ")]), t("div", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))", width: "100%" } }, [t("BaseInput", { attrs: { "is-price": e.amountUnit === "fixed", placeholder: e.$t("enterThing", { thing: e.$t("deduction.deduction") }), type: "number", autofocus: "", size: "large" }, model: { value: e.internalValue, callback: function(s) {
1739
1739
  e.internalValue = s;
1740
1740
  }, expression: "internalValue" } }, [t("template", { slot: "suffix" }, [e._v(e._s(e.$t("currency.SEK")))])], 2)], 1), t("div", { staticClass: "flex w-full" }, e._l([
1741
1741
  { v: 0.09, l: "9%" },
@@ -1764,7 +1764,7 @@ var Rt = function() {
1764
1764
  Ot,
1765
1765
  !1,
1766
1766
  null,
1767
- "97b347dc",
1767
+ "e4cd2a8f",
1768
1768
  null,
1769
1769
  null
1770
1770
  );
@@ -1826,6 +1826,12 @@ const Bt = {
1826
1826
  value: this.prices.roundingAmount
1827
1827
  }
1828
1828
  ] : [],
1829
+ ...this.prices.helpers.discount ? [
1830
+ {
1831
+ label: this._document.$t("price.discount"),
1832
+ value: -this.prices.helpers.discount
1833
+ }
1834
+ ] : [],
1829
1835
  {
1830
1836
  classList: "main",
1831
1837
  label: this._document.$t("total"),
@@ -1864,10 +1870,10 @@ const Bt = {
1864
1870
  };
1865
1871
  var Et = function() {
1866
1872
  var e = this, t = e._self._c;
1867
- return t("div", { staticClass: "price-bubble" }, [t("div", { staticClass: "flex items-center justify-between w-full" }, [e.showHouseWork ? t("EditDeduction", e._g({ ref: "deduction", attrs: { disabled: !e.get(e.prices, "region.houseWorkType", !1), _document: e._document, _value: {
1873
+ return t("div", { staticClass: "price-bubble" }, [t("div", { staticClass: "flex w-full items-center justify-between" }, [e.showHouseWork ? t("EditDeduction", e._g({ ref: "deduction", attrs: { disabled: !e.get(e.prices, "region.houseWorkType", !1), _document: e._document, _value: {
1868
1874
  houseWorkManualAmount: `${e.basePath}.data.prices.region.houseWorkManualAmount`
1869
1875
  }, "house-work-type": e.prices.region.houseWorkType, "house-work-amount": e.prices.region.houseWorkAmount, total: e.prices.subTotal + e.prices.taxAmount } }, e.$listeners)) : e._e()], 1), t("div", e._l(e.priceArray, function(s, n) {
1870
- return t("div", { key: n, staticClass: "flex justify-between w-full price-row", class: [s.classList || ""] }, [t("div", { staticClass: "price-label" }, [e._v(" " + e._s(s.label.capitalize()) + " "), s.subLabel ? t("span", { staticClass: "pricing-sub-label" }, [e._v(" " + e._s(s.subLabel) + " ")]) : e._e(), s.action ? t("span", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("edit", { thing: e.$t("deduction.deduction") }), expression: "$t('edit', { thing: $t('deduction.deduction') })" }], staticClass: "pricing-action", on: { click: function(a) {
1876
+ return t("div", { key: n, staticClass: "price-row flex w-full justify-between", class: [s.classList || ""] }, [t("div", { staticClass: "price-label" }, [e._v(" " + e._s(s.label.capitalize()) + " "), s.subLabel ? t("span", { staticClass: "pricing-sub-label" }, [e._v(" " + e._s(s.subLabel) + " ")]) : e._e(), s.action ? t("span", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("edit", { thing: e.$t("deduction.deduction") }), expression: "$t('edit', { thing: $t('deduction.deduction') })" }], staticClass: "pricing-action", on: { click: function(a) {
1871
1877
  s.action && s.action();
1872
1878
  } } }, [t("svg", { attrs: { viewBox: "0 0 24 24", width: "15", height: "15", stroke: "currentColor", "stroke-width": "2.5", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" } }), t("path", { attrs: { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" } })])]) : e._e()]), t("div", { staticClass: "price-value" }, [e._v(" " + e._s(s.prefix) + " " + e._s(s.value) + " ")])]);
1873
1879
  }), 0)]);
@@ -1877,7 +1883,7 @@ var Et = function() {
1877
1883
  zt,
1878
1884
  !1,
1879
1885
  null,
1880
- "18ff599a",
1886
+ "cd252d17",
1881
1887
  null,
1882
1888
  null
1883
1889
  );
@@ -2062,7 +2068,7 @@ const jt = {
2062
2068
  };
2063
2069
  var Nt = function() {
2064
2070
  var e = this, t = e._self._c;
2065
- return t("div", { staticClass: "min-h-0 text-black bg-white border border-gray-200 rounded-md" }, [t("div", { staticClass: "flex items-center justify-between w-full py-1 pl-4 pr-1 text-sm font-medium text-gray-600 bg-gray-100" }, [t("div", [e._v(" " + e._s(e.type === "single" ? e.$t("single") : e.type === "radio" || e.toggable ? e.$t("option") : e.$t("base")) + " ")]), e.type !== "single" ? t("CDropdown", { staticClass: "ml-4" }, [t("CButton", { staticClass: "is-thinner opacity-70", attrs: { slot: "trigger", size: "small", type: "text", pattern: "secondary" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:change")) + " ")]), e.toggable ? [t("CDropdownItem", { attrs: { value: e.isSelectedDefault, toggle: !0, "close-on-click": !1 }, on: { click: function(s) {
2071
+ return t("div", { staticClass: "min-h-0 rounded-md border border-gray-200 bg-white text-black" }, [t("div", { staticClass: "flex w-full items-center justify-between bg-gray-100 py-1 pl-4 pr-1 text-sm font-medium text-gray-600" }, [t("div", [e._v(" " + e._s(e.type === "single" ? e.$t("single") : e.type === "radio" || e.toggable ? e.$t("option") : e.$t("base")) + " ")]), e.type !== "single" ? t("CDropdown", { staticClass: "ml-4" }, [t("CButton", { staticClass: "is-thinner opacity-70", attrs: { slot: "trigger", size: "small", type: "text", pattern: "secondary" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:change")) + " ")]), e.toggable ? [t("CDropdownItem", { attrs: { value: e.isSelectedDefault, toggle: !0, "close-on-click": !1 }, on: { click: function(s) {
2066
2072
  return e.$emit("update:isSelectedDefault", !e.isSelectedDefault);
2067
2073
  } } }, [e._v(" " + e._s(e.$t("selected")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } })] : e._e(), t("CDropdownItem", { attrs: { "icon-left": "arrow-up", disabled: !e.moveOptions.up }, on: { click: function(s) {
2068
2074
  return e.$emit("move", -1);
@@ -2070,11 +2076,11 @@ var Nt = function() {
2070
2076
  return e.$emit("move", 1);
2071
2077
  } } }, [e._v(" " + e._s(e.$t("_common:move", { thing: e.$t("_common:down") })) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
2072
2078
  stroke: "red"
2073
- }, "icon-left": "trash" }, on: { click: e.onRemove } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 2) : e._e()], 1), t("div", { staticClass: "p-4" }, [t("div", { staticClass: "flex items-center mb-0.5" }, [t("input", { directives: [{ name: "model", rawName: "v-model", value: e.name, expression: "name" }], staticClass: "block w-full p-0 text-xl font-bold leading-loose rounded-lg placeholder:text-gray-400", attrs: { id: `package-name-${e.packageId}`, placeholder: e.$t("namePlaceholder") }, domProps: { value: e.name }, on: { keyup: function(s) {
2079
+ }, "icon-left": "trash" }, on: { click: e.onRemove } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 2) : e._e()], 1), t("div", { staticClass: "p-4" }, [t("div", { staticClass: "mb-0.5 flex items-center" }, [t("input", { directives: [{ name: "model", rawName: "v-model", value: e.name, expression: "name" }], staticClass: "block w-full rounded-lg p-0 text-xl font-bold leading-loose placeholder:text-gray-400", attrs: { id: `package-name-${e.packageId}`, placeholder: e.$t("namePlaceholder") }, domProps: { value: e.name }, on: { keyup: function(s) {
2074
2080
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.$refs.editor.focus();
2075
2081
  }, input: function(s) {
2076
2082
  s.target.composing || (e.name = s.target.value);
2077
- } } })]), t("TextEditor", { ref: "editor", staticClass: "mb-4 text-editor", attrs: { placeholder: e.$t("textPlaceholder"), mentions: () => e._document.textTemplateItems, snippets: !0 }, model: { value: e.internalDescription, callback: function(s) {
2083
+ } } })]), t("TextEditor", { ref: "editor", staticClass: "text-editor mb-4", attrs: { placeholder: e.$t("textPlaceholder"), mentions: () => e._document.textTemplateItems, snippets: !0 }, model: { value: e.internalDescription, callback: function(s) {
2078
2084
  e.internalDescription = s;
2079
2085
  }, expression: "internalDescription" } }), t("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => {
2080
2086
  e.isFocus = !1, e.isHover = !1;
@@ -2099,7 +2105,7 @@ var Nt = function() {
2099
2105
  return e.$emit("update:currency", s);
2100
2106
  }, move: e.onArticleMove, remove: e.onArticleRemove, add: e.onArticleAdd, focus: function(s) {
2101
2107
  e.isFocus = !0;
2102
- }, insert: e.onInsert } }), t("div", { staticClass: "flex gap-2 mt-2" }, [t("div", { staticClass: "text-gray-500 bg-gray-100 border border-gray-200 p-2.5 text-center text-sm font-medium leading-none rounded-md cursor-pointer transition-colors hover:border-gray-400 hover:bg-gray-500 hover:text-white", on: { click: function(s) {
2108
+ }, insert: e.onInsert } }), t("div", { staticClass: "mt-2 flex gap-2" }, [t("div", { staticClass: "cursor-pointer rounded-md border border-gray-200 bg-gray-100 p-2.5 text-center text-sm font-medium leading-none text-gray-500 transition-colors hover:border-gray-400 hover:bg-gray-500 hover:text-white", on: { click: function(s) {
2103
2109
  return e.onArticleAdd();
2104
2110
  } } }, [t("BaseIcon", { staticClass: "mr-1", attrs: { type: "plus", size: "16", "stroke-width": "3" } }), e._v(" " + e._s(e.$t("addButton")) + " ")], 1), t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
2105
2111
  content: e.$t("advancedButtonTooltip"),
@@ -2107,7 +2113,7 @@ var Nt = function() {
2107
2113
  }, expression: `{
2108
2114
  content: $t('advancedButtonTooltip'),
2109
2115
  offset: 6
2110
- }` }], staticClass: "text-gray-500 bg-gray-100 border border-gray-200 p-2.5 text-center text-sm font-medium leading-none rounded-md cursor-pointer transition-colors hover:border-gray-400 hover:bg-gray-500 hover:text-white", on: { click: function(s) {
2116
+ }` }], staticClass: "cursor-pointer rounded-md border border-gray-200 bg-gray-100 p-2.5 text-center text-sm font-medium leading-none text-gray-500 transition-colors hover:border-gray-400 hover:bg-gray-500 hover:text-white", on: { click: function(s) {
2111
2117
  return e.onArticleAdd({ openModal: !0 });
2112
2118
  } } }, [t("BaseIcon", { attrs: { type: "zap", size: "16", "stroke-width": "2.5" } })], 1)]), t("Pricing", e._g({ attrs: { _document: e._document, "base-path": `${e._value.basePath}`, "package-id": e.packageId } }, e.$listeners))], 1)], 1)]);
2113
2119
  }, Ht = [], Ut = /* @__PURE__ */ c(
@@ -2116,7 +2122,7 @@ var Nt = function() {
2116
2122
  Ht,
2117
2123
  !1,
2118
2124
  null,
2119
- "311d20b0",
2125
+ "f76b23cd",
2120
2126
  null,
2121
2127
  null
2122
2128
  );
@@ -2194,7 +2200,7 @@ var Kt = function() {
2194
2200
  return t("div", { key: n, staticClass: "package-group-option", style: { backgroundColor: s.background }, on: { click: function(a) {
2195
2201
  return e.$emit("input", s.value);
2196
2202
  } } }, [t("div", { staticClass: "package-group-option__illustration" }, [s.value === "single" ? t("div", { staticClass: "package-group-option__illustration-card animate" }, [e._m(0, !0)]) : e._e(), s.value === "radio" ? e._l(3, function(a) {
2197
- return t("div", { key: a, staticClass: "package-group-option__illustration-card", class: { animate: a === 2 } }, [t("div", { staticStyle: { width: "8px", height: "8px", "border-radius": "50%", "box-shadow": "0 0 0 1px white, 0 0 0 2px hsl(0, 0%, 76%)", "margin-right": "10px" }, style: a === 2 && {
2203
+ return t("div", { key: a, staticClass: "package-group-option__illustration-card", class: { animate: a === 2 } }, [t("div", { staticStyle: { width: "8px", height: "8px", "border-radius": "50%", "margin-right": "10px" }, style: a === 2 && {
2198
2204
  boxShadow: `0 0 0 1px white, 0 0 0 2px ${s.background}`,
2199
2205
  backgroundColor: s.background
2200
2206
  } }), e._m(1, !0)]);
@@ -2217,7 +2223,7 @@ var Kt = function() {
2217
2223
  Yt,
2218
2224
  !1,
2219
2225
  null,
2220
- "ddc62a33",
2226
+ "7c03c837",
2221
2227
  null,
2222
2228
  null
2223
2229
  );
@@ -2472,7 +2478,7 @@ var Qt = function() {
2472
2478
  toggable: !1
2473
2479
  });
2474
2480
  } } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("base").toLowerCase() })) + " ")])], 1) : t("transition-group", { attrs: { name: "section-list", tag: "div" } }, e._l(e.topRowPackages, function(s, n) {
2475
- return t("div", { key: s.packageId, staticClass: "pb-4 section-item" }, [t("PackageItem", { attrs: { _document: e._document, _value: {
2481
+ return t("div", { key: s.packageId, staticClass: "section-item pb-4" }, [t("PackageItem", { attrs: { _document: e._document, _value: {
2476
2482
  isSelectedDefault: `${e._value.packages}[${s.index}].isSelectedDefault`,
2477
2483
  isSelected: `${e._value.packages}[${s.index}].isSelected`,
2478
2484
  name: `${e._value.packages}[${s.index}].data.name`,
@@ -2523,7 +2529,7 @@ var Qt = function() {
2523
2529
  }, move: function(a) {
2524
2530
  return e.moveItem(s.index, e.bottomRowPackages[n + a].index);
2525
2531
  } } })], 1);
2526
- }), 0)] : e._e(), e.type !== "single" || !e.packages.length ? t("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [t("div", { staticStyle: { width: "100%" } }, [e.type === "radio" && !e.packages.length ? t("div", { staticClass: "bg-gray-100 package-placeholder", staticStyle: { color: "hsl(0, 0%, 24%)", "font-weight": "500" } }, [t("svg", { staticStyle: { "vertical-align": "text-bottom", "margin-right": "3px" }, attrs: { width: "16", height: "16", viewBox: "0 0 18 14", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M8.03.22c.3.3.3.77 0 1.06L5.56 3.75h6.88L9.97 1.28A.75.75 0 1111.03.21l3.53 3.54h2.69a.75.75 0 010 1.5h-.12l-1.17 6.4a2.25 2.25 0 01-2.21 1.85h-9.5a2.25 2.25 0 01-2.21-1.84L.87 5.26H.75a.75.75 0 010-1.5h2.69L6.97.21c.3-.3.77-.3 1.06 0zM2.4 5.25L3.5 11.4c.07.35.38.61.74.61h9.5c.36 0 .67-.26.74-.61l1.11-6.14H2.4zm3.1 1.5c.41-.06.8.22.86.63l.38 2.25a.75.75 0 11-1.48.24l-.37-2.25c-.07-.4.2-.8.61-.86zm7 0c.4.08.68.47.61.87l-.37 2.25a.75.75 0 11-1.48-.24l.38-2.25a.75.75 0 01.86-.62zm-3.5 0c.41 0 .75.34.75.75v2.25a.75.75 0 01-1.5 0V7.5c0-.41.34-.75.75-.75z", fill: "#000", "fill-rule": "evenodd" } })]), e._v(" " + e._s(e.$t("selectablePlaceholder")) + " ")]) : e._e()]), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { margin: "calc(1 * var(--rem)) 0 calc(1 * var(--rem)) 0" }, attrs: { message: e.$t("error.minOnePackage") } }) : e._e(), t("div", { staticClass: "flex w-full" }, [t("CButton", { staticStyle: { "border-color": "hsl(0, 0%, 82%)" }, attrs: { type: "secondary", outlined: "", "icon-left": "plus" }, on: { click: function(s) {
2532
+ }), 0)] : e._e(), e.type !== "single" || !e.packages.length ? t("div", { staticClass: "flex w-full flex-col items-center justify-center" }, [t("div", { staticStyle: { width: "100%" } }, [e.type === "radio" && !e.packages.length ? t("div", { staticClass: "package-placeholder bg-gray-100", staticStyle: { color: "hsl(0, 0%, 24%)", "font-weight": "500" } }, [t("svg", { staticStyle: { "vertical-align": "text-bottom", "margin-right": "3px" }, attrs: { width: "16", height: "16", viewBox: "0 0 18 14", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M8.03.22c.3.3.3.77 0 1.06L5.56 3.75h6.88L9.97 1.28A.75.75 0 1111.03.21l3.53 3.54h2.69a.75.75 0 010 1.5h-.12l-1.17 6.4a2.25 2.25 0 01-2.21 1.85h-9.5a2.25 2.25 0 01-2.21-1.84L.87 5.26H.75a.75.75 0 010-1.5h2.69L6.97.21c.3-.3.77-.3 1.06 0zM2.4 5.25L3.5 11.4c.07.35.38.61.74.61h9.5c.36 0 .67-.26.74-.61l1.11-6.14H2.4zm3.1 1.5c.41-.06.8.22.86.63l.38 2.25a.75.75 0 11-1.48.24l-.37-2.25c-.07-.4.2-.8.61-.86zm7 0c.4.08.68.47.61.87l-.37 2.25a.75.75 0 11-1.48-.24l.38-2.25a.75.75 0 01.86-.62zm-3.5 0c.41 0 .75.34.75.75v2.25a.75.75 0 01-1.5 0V7.5c0-.41.34-.75.75-.75z", fill: "#000", "fill-rule": "evenodd" } })]), e._v(" " + e._s(e.$t("selectablePlaceholder")) + " ")]) : e._e()]), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { margin: "calc(1 * var(--rem)) 0 calc(1 * var(--rem)) 0" }, attrs: { message: e.$t("error.minOnePackage") } }) : e._e(), t("div", { staticClass: "flex w-full" }, [t("CButton", { staticStyle: { "border-color": "hsl(0, 0%, 82%)" }, attrs: { type: "secondary", outlined: "", "icon-left": "plus" }, on: { click: function(s) {
2527
2533
  return e.addPackage();
2528
2534
  } } }, [e._v(" " + e._s(e.$t("add")) + " ")])], 1)], 1) : e._e()] : t("div", [t("PackageGroupSelect", { on: { input: function(s) {
2529
2535
  return e.onSelectType(s);
@@ -2534,7 +2540,7 @@ var Qt = function() {
2534
2540
  ei,
2535
2541
  !1,
2536
2542
  null,
2537
- "614a59a8",
2543
+ "07f9af2d",
2538
2544
  null,
2539
2545
  null
2540
2546
  );
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-e7c2bb1b.js";
1
+ import { n as r } from "./main-0ba93efc.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -1,5 +1,5 @@
1
- import { m as l } from "./mapFormMixin-cb52494b.js";
2
- import { s as r, n as o } from "./main-e7c2bb1b.js";
1
+ import { m as l } from "./mapFormMixin-46fe94a8.js";
2
+ import { s as r, n as o } from "./main-0ba93efc.js";
3
3
  const c = {
4
4
  name: "DocChapter",
5
5
  components: {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-cb52494b.js";
2
- import { n as i } from "./main-e7c2bb1b.js";
1
+ import { m as e } from "./mapFormMixin-46fe94a8.js";
2
+ import { n as i } from "./main-0ba93efc.js";
3
3
  const m = {
4
4
  name: "EstimatedTimeToComplete",
5
5
  components: {
6
- Read: () => import("./Index-4a8142d1.js"),
7
- Edit: () => import("./Index-915af180.js")
6
+ Read: () => import("./Index-6d22d9d1.js"),
7
+ Edit: () => import("./Index-99ac0ac2.js")
8
8
  },
9
9
  mixins: [e(["noOfTimeUnits", "timeUnit"])]
10
10
  };
@@ -1,10 +1,10 @@
1
- import { m as s } from "./mapFormMixin-cb52494b.js";
2
- import { n as o } from "./main-e7c2bb1b.js";
1
+ import { m as s } from "./mapFormMixin-46fe94a8.js";
2
+ import { n as o } from "./main-0ba93efc.js";
3
3
  const u = {
4
4
  name: "PackageGroupBlock",
5
5
  components: {
6
- PackageGroupRead: () => import("./PackageGroup-bb70a242.js"),
7
- PackageGroupEdit: () => import("./Index-9502eaff.js")
6
+ PackageGroupRead: () => import("./PackageGroup-22cbb76c.js"),
7
+ PackageGroupEdit: () => import("./Index-014d0ac2.js")
8
8
  },
9
9
  mixins: [s(["type", "packages"])],
10
10
  data() {
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-834d9eb9.js";
2
- import { n } from "./main-e7c2bb1b.js";
1
+ import { P as e } from "./PlainHtml-faae67a3.js";
2
+ import { n } from "./main-0ba93efc.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as _ } from "./mapFormMixin-cb52494b.js";
2
- import { n as o } from "./main-e7c2bb1b.js";
1
+ import { m as _ } from "./mapFormMixin-46fe94a8.js";
2
+ import { n as o } from "./main-0ba93efc.js";
3
3
  const a = {
4
4
  name: "NotBinding",
5
5
  components: {
6
- Edit: () => import("./ToggleBinding-b399a2d3.js"),
7
- Read: () => import("./NotBindingText-4ba4eb33.js")
6
+ Edit: () => import("./ToggleBinding-87b13b54.js"),
7
+ Read: () => import("./NotBindingText-832d5350.js")
8
8
  },
9
9
  mixins: [_()]
10
10
  };
@@ -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-e7c2bb1b.js";
2
- import { m as v } from "./mapFormMixin-cb52494b.js";
3
- import { f as d } from "./focusDrawerMixin-6b40c0e4.js";
4
- import { B as u } from "./BlockMedia-8360c785.js";
5
- import { T as m } from "./DocTextEditor-4892f553.js";
6
- import "./formDrawerState-2389a9f5.js";
1
+ import { b as s, x as n, y as c, z as i, M as a, n as l } from "./main-0ba93efc.js";
2
+ import { m as v } from "./mapFormMixin-46fe94a8.js";
3
+ import { f as d } from "./focusDrawerMixin-fcfab690.js";
4
+ import { B as u } from "./BlockMedia-70d92534.js";
5
+ import { T as m } from "./DocTextEditor-f0223af8.js";
6
+ import "./formDrawerState-6ff961ac.js";
7
7
  import "./color-71c20583.js";
8
- import "./tippy.esm-4fc6fa67.js";
9
- import "./ColorPicker-43c3cfaf.js";
10
- import "./DocumentLayout-2cca22a1.js";
11
- import "./debounce-ceac3c0c.js";
12
- import "./CDropdownItem-b1e4c6f3.js";
13
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
8
+ import "./tippy.esm-b5320973.js";
9
+ import "./ColorPicker-cd9e1cc0.js";
10
+ import "./DocumentLayout-9cc2a08e.js";
11
+ import "./debounce-5f4cc346.js";
12
+ import "./CDropdownItem-60893039.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
14
14
  import "./dom-962579a6.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-07af41a9.js";
16
+ import "./ManualPopover-720770bb.js";
17
17
  const _ = {
18
18
  name: "CoverBlock",
19
19
  components: {
20
20
  BlockMedia: u,
21
21
  TextEditor: m,
22
- CoverBlockSettings: () => import("./CoverBlockSettings-d5369ff3.js")
22
+ CoverBlockSettings: () => import("./CoverBlockSettings-0251d18f.js")
23
23
  },
24
24
  mixins: [v(["coverBlock"]), d],
25
25
  inject: ["parentSize"],
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-cb52494b.js";
2
- import { n as i } from "./main-e7c2bb1b.js";
1
+ import { m as e } from "./mapFormMixin-46fe94a8.js";
2
+ import { n as i } from "./main-0ba93efc.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-fdaebd99.js"),
7
- Edit: () => import("./Index-b925e767.js")
6
+ Read: () => import("./Index-75368b48.js"),
7
+ Edit: () => import("./Index-73cee68c.js")
8
8
  },
9
9
  mixins: [
10
10
  e([
@@ -1,15 +1,15 @@
1
- import { m as s } from "./mapFormMixin-cb52494b.js";
2
- import { x as i, y as r, z as m, n as a } from "./main-e7c2bb1b.js";
3
- import { T as c } from "./DocTextEditor-4892f553.js";
4
- import "./tippy.esm-4fc6fa67.js";
5
- import "./ColorPicker-43c3cfaf.js";
6
- import "./DocumentLayout-2cca22a1.js";
7
- import "./debounce-ceac3c0c.js";
8
- import "./CDropdownItem-b1e4c6f3.js";
9
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
1
+ import { m as s } from "./mapFormMixin-46fe94a8.js";
2
+ import { x as i, y as r, z as m, n as a } from "./main-0ba93efc.js";
3
+ import { T as c } from "./DocTextEditor-f0223af8.js";
4
+ import "./tippy.esm-b5320973.js";
5
+ import "./ColorPicker-cd9e1cc0.js";
6
+ import "./DocumentLayout-9cc2a08e.js";
7
+ import "./debounce-5f4cc346.js";
8
+ import "./CDropdownItem-60893039.js";
9
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
10
10
  import "./dom-962579a6.js";
11
11
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
12
- import "./ManualPopover-07af41a9.js";
12
+ import "./ManualPopover-720770bb.js";
13
13
  import "./color-71c20583.js";
14
14
  const d = {
15
15
  name: "textContent",
@@ -1,11 +1,11 @@
1
- import { m as g } from "./mapFormMixin-cb52494b.js";
2
- import { t as b } from "./throttle-27be8808.js";
3
- import { y as o, am as u, b as h, n as l, an as v, ao as a, ap as n } from "./main-e7c2bb1b.js";
1
+ import { m as g } from "./mapFormMixin-46fe94a8.js";
2
+ import { t as b } from "./throttle-61f5ee70.js";
3
+ import { y as o, am as u, b as h, n as l, an as v, ao as a, ap as n } from "./main-0ba93efc.js";
4
4
  import { s as y, p as w } from "./splitpanes-ba7897bf.js";
5
- import { d as _ } from "./debounce-ceac3c0c.js";
5
+ import { d as _ } from "./debounce-5f4cc346.js";
6
6
  import { e as m } from "./dom-962579a6.js";
7
- import { W as p } from "./DocumentLayout-2cca22a1.js";
8
- import "./CDropdownItem-b1e4c6f3.js";
7
+ import { W as p } from "./DocumentLayout-9cc2a08e.js";
8
+ import "./CDropdownItem-60893039.js";
9
9
  const x = `
10
10
  /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
11
11
  `, M = (e, { _document: t, id: s, firstRender: i }) => `
@@ -1,8 +1,8 @@
1
- import { m as o } from "./mapFormMixin-cb52494b.js";
2
- import { f as r } from "./focusDrawerMixin-6b40c0e4.js";
3
- import { g as n } from "./utils-e42920bb.js";
4
- import { n as a } from "./main-e7c2bb1b.js";
5
- import "./formDrawerState-2389a9f5.js";
1
+ import { m as o } from "./mapFormMixin-46fe94a8.js";
2
+ import { f as r } from "./focusDrawerMixin-fcfab690.js";
3
+ import { g as n } from "./utils-8d533496.js";
4
+ import { n as a } from "./main-0ba93efc.js";
5
+ import "./formDrawerState-6ff961ac.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-cc63392e.js"),
14
- VideoPlayerInput: () => import("./VideoPlayerInput-0289e1ad.js")
13
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-ab7c9dd9.js"),
14
+ VideoPlayerInput: () => import("./VideoPlayerInput-87ae1e67.js")
15
15
  },
16
16
  mixins: [o(["videoPlayer"]), r],
17
17
  data() {
@@ -1,7 +1,7 @@
1
- import { m as a } from "./mapFormMixin-cb52494b.js";
2
- import { I as n } from "./InputToggleRow-afcabf8b.js";
3
- import { B as c } from "./BaseInput-2937b370.js";
4
- import { n as o } from "./main-e7c2bb1b.js";
1
+ import { m as a } from "./mapFormMixin-46fe94a8.js";
2
+ import { I as n } from "./InputToggleRow-a9229972.js";
3
+ import { B as c } from "./BaseInput-d9c734b0.js";
4
+ import { n as o } from "./main-0ba93efc.js";
5
5
  const s = {
6
6
  i18nOptions: {
7
7
  namespaces: "ExtraWorkConstructionPricingListEdit",
@@ -40,7 +40,7 @@ const s = {
40
40
  };
41
41
  var i = function() {
42
42
  var e = this, r = e._self._c;
43
- return r("div", [r("div", { staticClass: "flex justify-end w-full", staticStyle: { position: "relative" } }, [e.workPrice || e.managementPrice ? r("div", { staticClass: "ex-vat" }, [e._v(" " + e._s(e.$t("_common:vat.exVat", { thing: e.$t("_common:vat.sharedTitle") }).capitalize()) + " ")]) : e._e()]), r("InputToggleRow", { attrs: { "display-value": e.workPrice ? `${e.workPrice / 100} ${e.$t("_common:currency.SEK")}/${e.$t(
43
+ return r("div", [r("div", { staticClass: "flex w-full justify-end", staticStyle: { position: "relative" } }, [e.workPrice || e.managementPrice ? r("div", { staticClass: "ex-vat" }, [e._v(" " + e._s(e.$t("_common:vat.exVat", { thing: e.$t("_common:vat.sharedTitle") }).capitalize()) + " ")]) : e._e()]), r("InputToggleRow", { attrs: { "display-value": e.workPrice ? `${e.workPrice / 100} ${e.$t("_common:currency.SEK")}/${e.$t(
44
44
  "_common:unitType.hour"
45
45
  )}` : e.$t("_common:add"), label: e.$t("workPrice") } }, [r("BaseInput", { attrs: { "is-price": !0, type: "price" }, model: { value: e.workPrice, callback: function(t) {
46
46
  e.workPrice = e._n(t);
@@ -57,7 +57,7 @@ var i = function() {
57
57
  m,
58
58
  !1,
59
59
  null,
60
- "a374ca46",
60
+ "f8878c31",
61
61
  null,
62
62
  null
63
63
  );
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-cb52494b.js";
2
- import { f as i } from "./focusDrawerMixin-6b40c0e4.js";
3
- import { S as a, n as r } from "./main-e7c2bb1b.js";
4
- import "./formDrawerState-2389a9f5.js";
1
+ import { m as o } from "./mapFormMixin-46fe94a8.js";
2
+ import { f as i } from "./focusDrawerMixin-fcfab690.js";
3
+ import { S as a, n as r } from "./main-0ba93efc.js";
4
+ import "./formDrawerState-6ff961ac.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-167509c0.js"),
20
- EmbedInput: () => import("./EmbedInput-25566df2.js"),
19
+ EmbedSettings: () => import("./EmbedSettings-b71e059b.js"),
20
+ EmbedInput: () => import("./EmbedInput-df3aa286.js"),
21
21
  Spinner: a
22
22
  },
23
23
  mixins: [o(["embed", "size"]), i],
@@ -1,5 +1,5 @@
1
- import { P as n } from "./PlainHtml-834d9eb9.js";
2
- import { n as s } from "./main-e7c2bb1b.js";
1
+ import { P as n } from "./PlainHtml-faae67a3.js";
2
+ import { n as s } from "./main-0ba93efc.js";
3
3
  const o = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -1,5 +1,5 @@
1
- import { m as o } from "./mapFormMixin-cb52494b.js";
2
- import { n as l, P as s } from "./main-e7c2bb1b.js";
1
+ import { m as o } from "./mapFormMixin-46fe94a8.js";
2
+ import { n as l, P as s } from "./main-0ba93efc.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",
@@ -107,10 +107,10 @@ var m = function() {
107
107
  var t = this, n = t._self._c;
108
108
  return n("div", { staticStyle: { position: "relative" } }, [n("CSwitch", { staticStyle: { position: "absolute", right: "0", top: "calc(-0.5 * var(--rem))", transform: "translateY(-100%)" }, on: { input: t.toggleOpen }, model: { value: t.isOpen, callback: function(i) {
109
109
  t.isOpen = i;
110
- }, expression: "isOpen" } }), t.isOpen ? n("div", [n("div", { staticClass: "inline-form" }, [t._v(" " + t._s(t.$t("inlineForm.1")) + " "), n("input", { staticClass: "bg-gray-100 ml-1", attrs: { type: "date", max: t.getDateValue(t.workEndAt) }, domProps: { value: t.getDateValue(t.workStartAt) }, on: { input: function(i) {
110
+ }, expression: "isOpen" } }), t.isOpen ? n("div", [n("div", { staticClass: "inline-form" }, [t._v(" " + t._s(t.$t("inlineForm.1")) + " "), n("input", { staticClass: "ml-1 bg-gray-100", attrs: { type: "date", max: t.getDateValue(t.workEndAt) }, domProps: { value: t.getDateValue(t.workStartAt) }, on: { input: function(i) {
111
111
  var r;
112
112
  t.workStartAt = (r = i.target) != null && r.value ? new Date(i.target.value).toISOString() : null;
113
- } } }), t._v(" " + t._s(t.$t("inlineForm.2")) + " "), n("input", { staticClass: "bg-gray-100 ml-1", attrs: { type: "date", min: t.getDateValue(t.workStartAt) }, domProps: { value: t.getDateValue(t.workEndAt) }, on: { input: function(i) {
113
+ } } }), t._v(" " + t._s(t.$t("inlineForm.2")) + " "), n("input", { staticClass: "ml-1 bg-gray-100", attrs: { type: "date", min: t.getDateValue(t.workStartAt) }, domProps: { value: t.getDateValue(t.workEndAt) }, on: { input: function(i) {
114
114
  var r;
115
115
  t.workEndAt = (r = i.target) != null && r.value ? new Date(i.target.value).toISOString() : null;
116
116
  } } }), t._v(". " + t._s(t.$t("inlineForm.3")) + " "), n("CSelect", { staticClass: "select-width input-inline-language", attrs: { placeholder: t.$t("_common:select") }, model: { value: t.timeDeltaDirection, callback: function(i) {
@@ -132,7 +132,7 @@ var m = function() {
132
132
  d,
133
133
  !1,
134
134
  null,
135
- "ec9420c1",
135
+ "835e15b4",
136
136
  null,
137
137
  null
138
138
  );
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-834d9eb9.js";
2
- import { n as o } from "./main-e7c2bb1b.js";
1
+ import { P as r } from "./PlainHtml-faae67a3.js";
2
+ import { n as o } from "./main-0ba93efc.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {