@cling-se/widget 0.12.8 → 0.13.0

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 (123) hide show
  1. package/.eslintrc.cjs +4 -0
  2. package/dist/{AddClientCallout-1db76c94.js → AddClientCallout-92b43564.js} +5 -5
  3. package/dist/{AnswerModal-6c06a8a2.js → AnswerModal-b22aab96.js} +3 -3
  4. package/dist/{AttachmentItem-41e444a4.js → AttachmentItem-39196508.js} +3 -3
  5. package/dist/{BaseDatePicker-d2a55800.js → BaseDatePicker-8be0c5ee.js} +2 -2
  6. package/dist/{BaseInput-18e129c8.js → BaseInput-779cb5b2.js} +1 -1
  7. package/dist/{BaseUpload-a9e1877b.js → BaseUpload-941ca869.js} +2 -2
  8. package/dist/{BlockMedia-8f9708c5.js → BlockMedia-bf89f8a9.js} +1 -1
  9. package/dist/{CCallout-b49bff26.js → CCallout-4239825f.js} +2 -2
  10. package/dist/{CDropdownItem-d4615a56.js → CDropdownItem-d0cd42d6.js} +1 -1
  11. package/dist/{CField-f2688fc2.js → CField-9b72b886.js} +1 -1
  12. package/dist/{CPhoneFormat-b1e386fc.js → CPhoneFormat-34b4c650.js} +1 -1
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js → CSlider.vue_vue_type_style_index_0_lang-c1638d8a.js} +1 -1
  14. package/dist/{ClientAutocomplete-e74a234a.js → ClientAutocomplete-0d21002e.js} +2 -2
  15. package/dist/{ClientModal-37836644.js → ClientModal-9b8173e2.js} +5 -5
  16. package/dist/{ColorPicker-ccea269c.js → ColorPicker-3d06f308.js} +1 -1
  17. package/dist/{CompanyModal-1ae0f6ac.js → CompanyModal-2e203a3a.js} +3 -3
  18. package/dist/{ContentWrapper-a4b0def6.js → ContentWrapper-71bc374a.js} +13 -13
  19. package/dist/{CoverBlockSettings-9adcce77.js → CoverBlockSettings-b6c200ee.js} +7 -7
  20. package/dist/{DocAnswer-2cebb34c.js → DocAnswer-d4ea9b74.js} +4 -4
  21. package/dist/{DocDetails-4779c308.js → DocDetails-ea2635ac.js} +15 -15
  22. package/dist/{DocForm-211552a8.js → DocForm-cff1c78e.js} +6438 -6423
  23. package/dist/{DocFormSend-046a4add.js → DocFormSend-d0979323.js} +27 -27
  24. package/dist/{DocLinks-45fab5d6.js → DocLinks-48aa6dd6.js} +2 -2
  25. package/dist/{DocModalBase-5f1948d9.js → DocModalBase-77df9b3d.js} +1 -1
  26. package/dist/{DocPrint-8332f880.js → DocPrint-d39100c7.js} +1 -1
  27. package/dist/{DocReceipt-fe11e0cb.js → DocReceipt-cf0e772b.js} +1 -1
  28. package/dist/{DocSendReminder-8943a812.js → DocSendReminder-dca2775e.js} +4 -4
  29. package/dist/{DocTextEditor-de66d76f.js → DocTextEditor-5676c56f.js} +8 -8
  30. package/dist/{DocTimeline-3502cb4c.js → DocTimeline-5911b608.js} +114 -113
  31. package/dist/{DocumentClient-b781dd1f.js → DocumentClient-eca72dd7.js} +11 -9
  32. package/dist/{DocumentLayout-27fbb225.js → DocumentLayout-8104d93d.js} +132 -132
  33. package/dist/{DocumentLogotype-a28abe5a.js → DocumentLogotype-c43c4bbb.js} +3 -3
  34. package/dist/{DocumentVoided-455343c5.js → DocumentVoided-2d93ef71.js} +1 -1
  35. package/dist/{EmbedInput-d11d5de2.js → EmbedInput-02971bf6.js} +2 -2
  36. package/dist/{EmbedSettings-016ff455.js → EmbedSettings-575fae0e.js} +3 -3
  37. package/dist/{ErrorCallout-a074770e.js → ErrorCallout-05a4796b.js} +1 -1
  38. package/dist/{FilePreviewModal-fca6faef.js → FilePreviewModal-c1d2d5e7.js} +5 -5
  39. package/dist/{Flag-900b37df.js → Flag-1aceeff5.js} +1 -1
  40. package/dist/{HeaderSettings-ae0b3cf5.js → HeaderSettings-993f8c98.js} +15 -15
  41. package/dist/{ImageSelectModal-97133858.js → ImageSelectModal-5dfe4a29.js} +8 -8
  42. package/dist/{ImageUploadWrapper-1635702c.js → ImageUploadWrapper-1e38bbe2.js} +2 -2
  43. package/dist/{Index-693618d0.js → Index-04f332ec.js} +2 -2
  44. package/dist/{Index-7c6cea7d.js → Index-08737451.js} +6 -6
  45. package/dist/{Index-3b5a9052.js → Index-13e229bb.js} +2 -2
  46. package/dist/{Index-87a4e82c.js → Index-1cb59290.js} +2 -2
  47. package/dist/{Index-1ed5e7ea.js → Index-2504f599.js} +4 -4
  48. package/dist/{Index-0a894180.js → Index-2a88c858.js} +2 -2
  49. package/dist/{Index-8b8ee120.js → Index-2c960d57.js} +4 -4
  50. package/dist/{Index-6c0d7d03.js → Index-33635702.js} +1 -1
  51. package/dist/{Index-1c7f63c9.js → Index-4350bb0f.js} +9 -9
  52. package/dist/{Index-30d88fb4.js → Index-45c7841a.js} +8 -8
  53. package/dist/{Index-9c4b7f92.js → Index-46b2296e.js} +14 -14
  54. package/dist/{Index-330c01cb.js → Index-50b0a9b8.js} +7 -7
  55. package/dist/{Index-5af3739d.js → Index-57800d9c.js} +4 -4
  56. package/dist/{Index-b8b9f7f0.js → Index-5fb421de.js} +3 -3
  57. package/dist/{Index-ef2a29e9.js → Index-670097a7.js} +13 -13
  58. package/dist/{Index-1cf58bbf.js → Index-677b2c85.js} +2 -2
  59. package/dist/{Index-6ee8096a.js → Index-6f6fc018.js} +4 -4
  60. package/dist/{Index-f1000bb7.js → Index-7cbe4a17.js} +4 -4
  61. package/dist/{Index-86d26237.js → Index-8a956c1b.js} +4 -4
  62. package/dist/{Index-0c29aa88.js → Index-98c7217d.js} +10 -10
  63. package/dist/{Index-9bb614c4.js → Index-9a0233b0.js} +9 -9
  64. package/dist/{Index-84efdf4e.js → Index-9b7b4516.js} +6 -6
  65. package/dist/{Index-831f4f0b.js → Index-a1097b66.js} +6 -6
  66. package/dist/{Index-5ddfb8a8.js → Index-a7779d2a.js} +2 -2
  67. package/dist/{Index-d9e51018.js → Index-bc0d3abe.js} +14 -14
  68. package/dist/{Index-8b7c94ba.js → Index-be8b14a8.js} +5 -5
  69. package/dist/{Index-31a7de9d.js → Index-c1c7db19.js} +7 -7
  70. package/dist/{Index-398a837d.js → Index-c4296623.js} +4 -4
  71. package/dist/{Index-7f1831cc.js → Index-c6a8a298.js} +6 -6
  72. package/dist/{Index-7510cf12.js → Index-cfa81e3f.js} +4 -4
  73. package/dist/{Index-b626f0cc.js → Index-cfc393ae.js} +5 -5
  74. package/dist/{Index-3f500f06.js → Index-e9f705f3.js} +2 -2
  75. package/dist/{Index-1cb91a78.js → Index-ec8820ee.js} +2 -2
  76. package/dist/{Index-59e9af38.js → Index-fa4f462a.js} +1 -1
  77. package/dist/{InputToggleRow-ea78cea0.js → InputToggleRow-a0dc7e03.js} +1 -1
  78. package/dist/{IsPremiumPreStep-e80f039e.js → IsPremiumPreStep-42eeebac.js} +4 -4
  79. package/dist/{ManualPopover-4b11a2f4.js → ManualPopover-6cf3f592.js} +1 -1
  80. package/dist/{MediaWrapper-517aefb6.js → MediaWrapper-2c2e3d44.js} +3 -3
  81. package/dist/{NotBindingText-0e7bf539.js → NotBindingText-12f78064.js} +2 -2
  82. package/dist/{PackageGroup-7686c682.js → PackageGroup-75a1ad26.js} +12 -12
  83. package/dist/{PdfTerms-20b187ab.js → PdfTerms-5686a37b.js} +5 -5
  84. package/dist/{PdfViewer-5f7f3e7e.js → PdfViewer-d1d05125.js} +2 -2
  85. package/dist/{PlainHtml-8da72eb0.js → PlainHtml-6cc2bace.js} +1 -1
  86. package/dist/{PriceHeader-1664be58.js → PriceHeader-e45b65bc.js} +13 -13
  87. package/dist/{SearchApi-969f26f3.js → SearchApi-410c081e.js} +2 -2
  88. package/dist/{Setup-6924ae55.js → Setup-bf823254.js} +1 -2
  89. package/dist/{TermsSettings-24722cab.js → TermsSettings-7a077b22.js} +7 -7
  90. package/dist/{ThemeColorRow-dad2a360.js → ThemeColorRow-aad0248e.js} +3 -3
  91. package/dist/{ToggleBinding-95b398b5.js → ToggleBinding-abd0832e.js} +3 -3
  92. package/dist/{UploadModal-fcb5d747.js → UploadModal-42302f2b.js} +3 -3
  93. package/dist/{VideoPlayerInput-0653fdac.js → VideoPlayerInput-1c6cbf06.js} +3 -3
  94. package/dist/{VideoPlayerSettings-cd36d947.js → VideoPlayerSettings-5ec723e1.js} +4 -4
  95. package/dist/{VideoSelectModal-80bce79a.js → VideoSelectModal-16acfd43.js} +8 -8
  96. package/dist/{answerDocumentMixin-562a6227.js → answerDocumentMixin-97b33f14.js} +3 -3
  97. package/dist/{debounce-e16e154a.js → debounce-b0ffdee0.js} +1 -1
  98. package/dist/{focusDrawerMixin-2ea3f8b2.js → focusDrawerMixin-1d99a268.js} +1 -1
  99. package/dist/{formComponentsInstall-f0935848.js → formComponentsInstall-6ccace37.js} +12 -12
  100. package/dist/{formDrawerState-5cb1d38e.js → formDrawerState-a7b5832a.js} +1 -1
  101. package/dist/{formValidationMixin-fbcf6044.js → formValidationMixin-7216cb94.js} +1 -1
  102. package/dist/{index-926169da.js → index-6caf947c.js} +1 -1
  103. package/dist/{index-0f93916c.js → index-7690fb79.js} +5 -5
  104. package/dist/{index-e7242888.js → index-93d3e2cb.js} +9 -9
  105. package/dist/{index-3eb46e3e.js → index-a1d51619.js} +3 -3
  106. package/dist/{index-b6c7c8f9.js → index-d73fd8ca.js} +1 -1
  107. package/dist/{index-4284b917.js → index-ef3da59c.js} +1 -1
  108. package/dist/index.es.js +2 -2
  109. package/dist/index.umd.js +208 -208
  110. package/dist/{main-00182277.js → main-2c8b76b7.js} +34998 -34938
  111. package/dist/{mapFormMixin-1c6561a7.js → mapFormMixin-c2bc089c.js} +1 -1
  112. package/dist/{publicSenderState-a9f48e73.js → publicSenderState-e6458640.js} +1 -1
  113. package/dist/style.css +1 -1
  114. package/dist/{throttle-ac46d119.js → throttle-4f3f879a.js} +2 -2
  115. package/dist/{tinycolor-dc78edeb.js → tinycolor-f780e5ca.js} +1 -1
  116. package/dist/{tippy.esm-95420c02.js → tippy.esm-a855665a.js} +5 -5
  117. package/dist/{utils-eb62baff.js → utils-4d39389a.js} +1 -1
  118. package/dist/{vuedraggable.umd-f51633ac.js → vuedraggable.umd-e89c3d5e.js} +1 -1
  119. package/package.json +5 -3
  120. package/tsconfig.json +26 -0
  121. package/tsconfig.node.json +10 -0
  122. package/tsconfig.paths.json +17 -0
  123. package/vite.config.ts +61 -0
@@ -1,26 +1,26 @@
1
- import { V as n, m as s, a as r, g as l, C as i, n as u } from "./main-00182277.js";
2
- import { i as m, S as c } from "./formComponentsInstall-f0935848.js";
1
+ import { i as s, S as r } from "./formComponentsInstall-6ccace37.js";
2
+ import { V as n, m as l, a as i, g as u, C as m, n as c } from "./main-2c8b76b7.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./Flag-900b37df.js";
5
- import "./mapFormMixin-1c6561a7.js";
6
- import "./BaseDatePicker-d2a55800.js";
7
- import "./CDropdownItem-d4615a56.js";
8
- import "./ErrorCallout-a074770e.js";
9
- import "./IsPremiumPreStep-e80f039e.js";
4
+ import "./Flag-1aceeff5.js";
5
+ import "./mapFormMixin-c2bc089c.js";
6
+ import "./BaseDatePicker-8be0c5ee.js";
7
+ import "./CDropdownItem-d0cd42d6.js";
8
+ import "./ErrorCallout-05a4796b.js";
9
+ import "./IsPremiumPreStep-42eeebac.js";
10
10
  import "./anime.es-e284c852.js";
11
- import "./index-b6c7c8f9.js";
11
+ import "./index-d73fd8ca.js";
12
12
  import "./index-805c56e4.js";
13
13
  import "./dom-962579a6.js";
14
- import "./AddClientCallout-1db76c94.js";
15
- import "./ClientAutocomplete-e74a234a.js";
16
- import "./SearchApi-969f26f3.js";
17
- import "./debounce-e16e154a.js";
18
- import "./ClientModal-37836644.js";
19
- import "./CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js";
20
- import "./CCallout-b49bff26.js";
21
- import "./CField-f2688fc2.js";
14
+ import "./AddClientCallout-92b43564.js";
15
+ import "./ClientAutocomplete-0d21002e.js";
16
+ import "./SearchApi-410c081e.js";
17
+ import "./debounce-b0ffdee0.js";
18
+ import "./ClientModal-9b8173e2.js";
19
+ import "./CSlider.vue_vue_type_style_index_0_lang-c1638d8a.js";
20
+ import "./CCallout-4239825f.js";
21
+ import "./CField-9b72b886.js";
22
22
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
23
- n.use(m);
23
+ n.use(s);
24
24
  const a = n.observable({
25
25
  canEdit: !1,
26
26
  isForm: !0,
@@ -29,7 +29,7 @@ const a = n.observable({
29
29
  }), d = {
30
30
  name: "DocFormSend",
31
31
  components: {
32
- SendForm: c
32
+ SendForm: r
33
33
  },
34
34
  provide: () => ({ viewSettings: a, allowSenderSign: !1 }),
35
35
  // TODO maybe not needed
@@ -87,7 +87,7 @@ const a = n.observable({
87
87
  };
88
88
  },
89
89
  computed: {
90
- ...s({
90
+ ...l({
91
91
  company: "application/company",
92
92
  can: "application/can",
93
93
  rawDoc: "forms/document",
@@ -106,14 +106,14 @@ const a = n.observable({
106
106
  this.setDocValue && (a.setFormValue = this.setDocValue), this.removeDocValue && (a.removeFormValue = this.removeDocValue);
107
107
  },
108
108
  methods: {
109
- ...r({
110
- saveDocument: l.SAVE_DYNDOC_FORM
109
+ ...i({
110
+ saveDocument: u.SAVE_DYNDOC_FORM
111
111
  // loadCompanyUser: global.LOAD_COMPANY_USER,
112
112
  }),
113
113
  async initDoc() {
114
114
  if (!this.rawDoc)
115
115
  throw new Error("Missing initiated form document");
116
- this.document = new i({
116
+ this.document = new m({
117
117
  data: this.rawDoc,
118
118
  can: this.can,
119
119
  getters: this.$store.getters,
@@ -144,8 +144,8 @@ var p = function() {
144
144
  clients: "clients",
145
145
  reminders: "data.reminders",
146
146
  name: "data.name"
147
- }, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: { innerHTML: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? o("div", { attrs: { slot: "footer" }, domProps: { innerHTML: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : o("div", { staticClass: "grid h-full w-full place-items-center" }, [o("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
148
- }, f = [], h = /* @__PURE__ */ u(
147
+ }, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: { textContent: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? o("div", { attrs: { slot: "footer" }, domProps: { textContent: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : o("div", { staticClass: "grid h-full w-full place-items-center" }, [o("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
148
+ }, f = [], h = /* @__PURE__ */ c(
149
149
  d,
150
150
  p,
151
151
  f,
@@ -155,7 +155,7 @@ var p = function() {
155
155
  null,
156
156
  null
157
157
  );
158
- const R = h.exports;
158
+ const I = h.exports;
159
159
  export {
160
- R as default
160
+ I as default
161
161
  };
@@ -1,5 +1,5 @@
1
- import { C as o } from "./index-4284b917.js";
2
- import { n as t } from "./main-00182277.js";
1
+ import { C as o } from "./index-ef3da59c.js";
2
+ import { n as t } from "./main-2c8b76b7.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  const s = {
5
5
  name: "DocLinks",
@@ -1,4 +1,4 @@
1
- import { n as t } from "./main-00182277.js";
1
+ import { n as t } from "./main-2c8b76b7.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
1
- import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-00182277.js";
1
+ import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-2c8b76b7.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-00182277.js";
1
+ import { g as p, n as u } from "./main-2c8b76b7.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-4a0fff7c.js";
3
3
  const f = {
4
4
  sv: {
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-00182277.js";
1
+ import { g as m, n as a } from "./main-2c8b76b7.js";
2
2
  import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",
@@ -110,14 +110,14 @@ var p = function() {
110
110
  null
111
111
  );
112
112
  const v = _.exports, y = {
113
+ components: {
114
+ DocumentSendReminderModal: v
115
+ },
113
116
  props: {
114
117
  document: {
115
118
  type: Object,
116
119
  required: !0
117
120
  }
118
- },
119
- components: {
120
- DocumentSendReminderModal: v
121
121
  }
122
122
  };
123
123
  var h = function() {
@@ -1,11 +1,11 @@
1
- import { t as Uo, F as _a, s as $a, d as ys } from "./tippy.esm-95420c02.js";
2
- import { V as Vn, n as ut, a8 as bs, b as Ds, p as Ha } from "./main-00182277.js";
1
+ import { t as Uo, F as _a, s as $a, d as ys } from "./tippy.esm-a855665a.js";
2
+ import { V as Vn, n as ut, aa as bs, b as Ds, p as Ha } from "./main-2c8b76b7.js";
3
3
  import { a as ai } from "./dom-962579a6.js";
4
- import { i as Jo, w as Va } from "./CDropdownItem-d4615a56.js";
5
- import "./CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js";
4
+ import { i as Jo, w as Va } from "./CDropdownItem-d0cd42d6.js";
5
+ import "./CSlider.vue_vue_type_style_index_0_lang-c1638d8a.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
- import { M as Go } from "./ManualPopover-4b11a2f4.js";
8
- import { C as ja } from "./ColorPicker-ccea269c.js";
7
+ import { M as Go } from "./ManualPopover-6cf3f592.js";
8
+ import { C as ja } from "./ColorPicker-3d06f308.js";
9
9
  import { h as Wa } from "./color-c1606adc.js";
10
10
  function ee(n) {
11
11
  this.content = n;
@@ -13967,7 +13967,7 @@ const Cm = Dm.exports;
13967
13967
  const km = {
13968
13968
  components: {
13969
13969
  FormInputRow: _a,
13970
- TextTemplates: () => import("./index-e7242888.js")
13970
+ TextTemplates: () => import("./index-93d3e2cb.js")
13971
13971
  },
13972
13972
  props: {
13973
13973
  editor: {
@@ -14860,7 +14860,7 @@ const _m = {
14860
14860
  },
14861
14861
  async openPreview() {
14862
14862
  var r;
14863
- const n = () => import("./FilePreviewModal-fca6faef.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14863
+ const n = () => import("./FilePreviewModal-c1d2d5e7.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14864
14864
  this.$modal.show(
14865
14865
  n,
14866
14866
  {
@@ -1,96 +1,6 @@
1
- import { n as u, a8 as b, b as S, a9 as _, aa as f } from "./main-00182277.js";
2
- import { m as D } from "./vuex.esm-4a0fff7c.js";
3
- const v = {
4
- new: {
5
- statusClass: "draft",
6
- icon: "statusDraft"
7
- },
8
- draft: {
9
- statusClass: "draft",
10
- icon: "statusDraft"
11
- },
12
- scheduled: {
13
- statusClass: "scheduled",
14
- icon: "statusScheduled"
15
- },
16
- sent: {
17
- statusClass: "sent",
18
- icon: "statusSent"
19
- },
20
- denied: {
21
- statusClass: "denied",
22
- icon: "statusDenied"
23
- },
24
- accepted: {
25
- statusClass: "accepted",
26
- icon: "statusAccepted"
27
- },
28
- signed: {
29
- statusClass: "accepted",
30
- icon: "statusAccepted"
31
- },
32
- semiSigned: {
33
- statusClass: "accepted",
34
- icon: "statusSemiSigned"
35
- },
36
- expired: {
37
- statusClass: "expired",
38
- icon: "statusExpired"
39
- },
40
- voided: {
41
- statusClass: "voided",
42
- icon: "statusVoided"
43
- },
44
- active: {
45
- statusClass: "active",
46
- icon: "statusActive"
47
- },
48
- completed: {
49
- statusClass: "completed",
50
- icon: "statusCompleted"
51
- },
52
- archived: {
53
- statusClass: "archived",
54
- icon: "statusArchive"
55
- }
56
- }, w = {
57
- props: {
58
- status: {
59
- type: String,
60
- default: ""
61
- },
62
- split: {
63
- type: String,
64
- default: ""
65
- }
66
- },
67
- computed: {
68
- text() {
69
- return this.status ? b.t(`_common:status.${this.status}`) : "";
70
- },
71
- className() {
72
- const { statusClass: s = "" } = v[this.status] || {};
73
- return s;
74
- },
75
- icon() {
76
- return S(v, `${this.status}.icon`);
77
- }
78
- }
79
- };
80
- var k = function() {
81
- var t = this, e = t._self._c;
82
- return e("div", { staticClass: "c-badge_status inline-flex h-6 items-center rounded-full pl-1 pr-2 text-xs font-medium leading-none", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "status-icon mr-1", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
83
- }, z = [], T = /* @__PURE__ */ u(
84
- w,
85
- k,
86
- z,
87
- !1,
88
- null,
89
- null,
90
- null,
91
- null
92
- );
93
- const B = T.exports, I = {
1
+ import { m as b } from "./vuex.esm-4a0fff7c.js";
2
+ import { n as u, a8 as _, a9 as f, aa as S, b as D } from "./main-2c8b76b7.js";
3
+ const w = {
94
4
  name: "DynamicLink",
95
5
  props: {
96
6
  template: {
@@ -104,23 +14,23 @@ const B = T.exports, I = {
104
14
  }
105
15
  }
106
16
  };
107
- var O = function() {
17
+ var k = function() {
108
18
  var t = this, e = t._self._c;
109
19
  return e(t.transformed, { tag: "component" });
110
- }, E = [], M = /* @__PURE__ */ u(
111
- I,
112
- O,
113
- E,
20
+ }, z = [], T = /* @__PURE__ */ u(
21
+ w,
22
+ k,
23
+ z,
114
24
  !1,
115
25
  null,
116
26
  null,
117
27
  null,
118
28
  null
119
29
  );
120
- const N = M.exports, A = {
30
+ const B = T.exports, I = {
121
31
  name: "EventItem",
122
32
  components: {
123
- DynamicLink: N
33
+ DynamicLink: B
124
34
  },
125
35
  props: {
126
36
  title: {
@@ -208,20 +118,20 @@ const N = M.exports, A = {
208
118
  }
209
119
  }
210
120
  };
211
- var F = function() {
121
+ var O = function() {
212
122
  var t = this, e = t._self._c;
213
123
  return e("div", { staticClass: "text-primary-500 event relative ml-4 flex cursor-default flex-nowrap pb-5 before:absolute before:-left-px before:top-4 before:h-full before:w-px before:bg-gray-300 before:content-[''] last:before:hidden" }, [e("div", { staticClass: "relative m-0 h-[23px]", staticStyle: { "--bg": "#fff" } }, [e("div", { staticClass: "absolute left-1/2 top-1/2 z-[1] flex h-7 w-7 items-center justify-center rounded-full border-none bg-gray-100", class: t.iconClasses, staticStyle: { transform: "translate(-50%, calc(-50% + 8px))", "box-shadow": "0 0 0 2px var(--bg)" } }, [t.loading ? t._e() : e("BaseIcon", { attrs: { type: t.icon, size: "14" } })], 1)]), e("div", { staticClass: "ml-7 flex min-w-0 flex-grow flex-col pt-1" }, [t.loading ? [e("CSkeleton", { staticClass: "max-w-md font-medium text-gray-900", class: t.titleSize, attrs: { width: "80%" } }), e("CSkeleton", { staticClass: "text-gray-600", class: t.textSize, attrs: { width: "40%" } }), e("CSkeleton", { staticClass: "inline-flex pt-0.5 text-center text-xs text-gray-500", class: t.dateSize, attrs: { hidden: "" } })] : t._e(), e("div", { staticClass: "max-w-md font-medium", class: [t.isFuture ? "text-gray-500" : "text-gray-700", t.titleSize] }, [t.template ? e("DynamicLink", { attrs: { template: t.template } }) : [t._v(t._s(t.title))]], 2), t.content ? e("div", { class: [t.isFuture ? "text-gray-400" : "text-gray-600", t.textSize] }, [e("div", { domProps: { innerHTML: t._s(t.content) } })]) : t._e(), e("div", { staticClass: "inline-flex pt-1 text-center text-gray-500", class: t.dateSize }, [e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.date, expression: "date" }] }, [t._v(t._s(t.dayOfMonth) + " " + t._s(t.month))])])], 2)]);
214
- }, q = [], j = /* @__PURE__ */ u(
215
- A,
216
- F,
217
- q,
124
+ }, E = [], M = /* @__PURE__ */ u(
125
+ I,
126
+ O,
127
+ E,
218
128
  !1,
219
129
  null,
220
130
  null,
221
131
  null,
222
132
  null
223
133
  );
224
- const R = j.exports, L = {
134
+ const N = M.exports, A = {
225
135
  sv: {
226
136
  clientName: "Kunden",
227
137
  byName: "Av {{- name}}",
@@ -258,14 +168,14 @@ const R = j.exports, L = {
258
168
  expiredContent: "The expiration date has passed",
259
169
  toEmail: "To: {{email}}"
260
170
  }
261
- }, P = {
171
+ }, F = {
262
172
  name: "DocumentTimeline",
263
173
  i18nOptions: {
264
174
  namespaces: "documentTimeline",
265
- messages: L
175
+ messages: A
266
176
  },
267
177
  components: {
268
- EventItem: R
178
+ EventItem: N
269
179
  },
270
180
  props: {
271
181
  document: {
@@ -282,7 +192,7 @@ const R = j.exports, L = {
282
192
  }
283
193
  },
284
194
  computed: {
285
- ...D({
195
+ ...b({
286
196
  userById: "companyUsers/byId"
287
197
  }),
288
198
  events() {
@@ -436,11 +346,102 @@ const R = j.exports, L = {
436
346
  }
437
347
  }
438
348
  };
439
- var G = function() {
349
+ var q = function() {
440
350
  var t = this, e = t._self._c;
441
351
  return e("div", [t._t("header"), t._l(t.events, function(n, r) {
442
352
  return e("EventItem", { key: r, attrs: { title: n.title, content: n.content, createdAt: n.createdAt, icon: n.icon, color: n.color, "is-future": n.isFuture, size: t.size } });
443
353
  })], 2);
354
+ }, j = [], R = /* @__PURE__ */ u(
355
+ F,
356
+ q,
357
+ j,
358
+ !1,
359
+ null,
360
+ null,
361
+ null,
362
+ null
363
+ );
364
+ const L = R.exports;
365
+ const v = {
366
+ new: {
367
+ statusClass: "draft",
368
+ icon: "statusDraft"
369
+ },
370
+ draft: {
371
+ statusClass: "draft",
372
+ icon: "statusDraft"
373
+ },
374
+ scheduled: {
375
+ statusClass: "scheduled",
376
+ icon: "statusScheduled"
377
+ },
378
+ sent: {
379
+ statusClass: "sent",
380
+ icon: "statusSent"
381
+ },
382
+ denied: {
383
+ statusClass: "denied",
384
+ icon: "statusDenied"
385
+ },
386
+ accepted: {
387
+ statusClass: "accepted",
388
+ icon: "statusAccepted"
389
+ },
390
+ signed: {
391
+ statusClass: "accepted",
392
+ icon: "statusAccepted"
393
+ },
394
+ semiSigned: {
395
+ statusClass: "accepted",
396
+ icon: "statusSemiSigned"
397
+ },
398
+ expired: {
399
+ statusClass: "expired",
400
+ icon: "statusExpired"
401
+ },
402
+ voided: {
403
+ statusClass: "voided",
404
+ icon: "statusVoided"
405
+ },
406
+ active: {
407
+ statusClass: "active",
408
+ icon: "statusActive"
409
+ },
410
+ completed: {
411
+ statusClass: "completed",
412
+ icon: "statusCompleted"
413
+ },
414
+ archived: {
415
+ statusClass: "archived",
416
+ icon: "statusArchive"
417
+ }
418
+ }, P = {
419
+ props: {
420
+ status: {
421
+ type: String,
422
+ default: ""
423
+ },
424
+ split: {
425
+ type: String,
426
+ default: ""
427
+ }
428
+ },
429
+ computed: {
430
+ text() {
431
+ return this.status ? S.t(`_common:status.${this.status}`) : "";
432
+ },
433
+ className() {
434
+ const { statusClass: s = "" } = v[this.status] || {};
435
+ return s;
436
+ },
437
+ icon() {
438
+ return D(v, `${this.status}.icon`);
439
+ }
440
+ }
441
+ };
442
+ var G = function() {
443
+ var t = this, e = t._self._c;
444
+ return e("div", { staticClass: "c-badge_status inline-flex h-6 items-center rounded-full pl-1 pr-2 text-xs font-medium leading-none", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "status-icon mr-1", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
444
445
  }, H = [], V = /* @__PURE__ */ u(
445
446
  P,
446
447
  G,
@@ -454,8 +455,8 @@ var G = function() {
454
455
  const U = V.exports, K = {
455
456
  name: "DocTimeline",
456
457
  components: {
457
- StatusBadge: B,
458
- DocumentTimeline: U
458
+ StatusBadge: U,
459
+ DocumentTimeline: L
459
460
  },
460
461
  props: {
461
462
  document: {
@@ -1,10 +1,10 @@
1
- import { V as c, n as a } from "./main-00182277.js";
2
- import { D as m } from "./DocumentLayout-27fbb225.js";
3
- import { f as d } from "./formValidationMixin-fbcf6044.js";
4
- import { a as l } from "./answerDocumentMixin-562a6227.js";
5
- import { D as f } from "./DocumentVoided-455343c5.js";
6
- import "./debounce-e16e154a.js";
7
- import "./CDropdownItem-d4615a56.js";
1
+ import { V as c, n as a } from "./main-2c8b76b7.js";
2
+ import { D as m } from "./DocumentLayout-8104d93d.js";
3
+ import { f as d } from "./formValidationMixin-7216cb94.js";
4
+ import { a as l } from "./answerDocumentMixin-97b33f14.js";
5
+ import { D as f } from "./DocumentVoided-2d93ef71.js";
6
+ import "./debounce-b0ffdee0.js";
7
+ import "./CDropdownItem-d0cd42d6.js";
8
8
  import "./dom-962579a6.js";
9
9
  const p = (s) => {
10
10
  var e;
@@ -114,11 +114,13 @@ const g = b.exports, y = {
114
114
  },
115
115
  customHtmlAccept: {
116
116
  type: String,
117
- required: ""
117
+ required: "",
118
+ default: ""
118
119
  },
119
120
  customHtmlDeny: {
120
121
  type: String,
121
- required: ""
122
+ required: "",
123
+ default: ""
122
124
  }
123
125
  }
124
126
  };