@cling-se/widget 0.13.0 → 0.13.2

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 (136) hide show
  1. package/README.md +27 -22
  2. package/dist/{AddClientCallout-92b43564.js → AddClientCallout-7LpWNu29.js} +11 -16
  3. package/dist/{AnswerModal-b22aab96.js → AnswerModal-DnTU4eo8.js} +1931 -1948
  4. package/dist/{AttachmentItem-39196508.js → AttachmentItem-DcwbrFUh.js} +15 -18
  5. package/dist/{BaseDatePicker-8be0c5ee.js → BaseDatePicker-BpyeJH3N.js} +139 -142
  6. package/dist/{BaseInput-779cb5b2.js → BaseInput-DJreiE5M.js} +77 -56
  7. package/dist/{BaseUpload-941ca869.js → BaseUpload-iosxX2-N.js} +208 -212
  8. package/dist/{BlockMedia-bf89f8a9.js → BlockMedia-DnbdVEZz.js} +6 -8
  9. package/dist/{CCallout-4239825f.js → CCallout-CgviPbdr.js} +26 -16
  10. package/dist/{CDropdownItem-d0cd42d6.js → CDropdownItem-CTJ55d4m.js} +51 -50
  11. package/dist/{CField-9b72b886.js → CField-FGP7ehRq.js} +75 -58
  12. package/dist/{CPhoneFormat-34b4c650.js → CPhoneFormat-8u5dmTPd.js} +5 -7
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-c1638d8a.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
  14. package/dist/{ClientAutocomplete-0d21002e.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
  15. package/dist/{ClientModal-9b8173e2.js → ClientModal-B8PkUqY2.js} +25 -32
  16. package/dist/{ColorPicker-3d06f308.js → ColorPicker-6AIHrfJ5.js} +5 -7
  17. package/dist/{CompanyModal-2e203a3a.js → CompanyModal-H4hHfy7Y.js} +28 -30
  18. package/dist/{ContentWrapper-71bc374a.js → ContentWrapper-CHZtfhFI.js} +25 -43
  19. package/dist/{CoverBlockSettings-b6c200ee.js → CoverBlockSettings-etwL5N5l.js} +20 -31
  20. package/dist/{DocAnswer-d4ea9b74.js → DocAnswer-Udn1ItYd.js} +5 -12
  21. package/dist/{DocDetails-ea2635ac.js → DocDetails-BQz-is7P.js} +47 -59
  22. package/dist/{DocForm-cff1c78e.js → DocForm-Cvuxr89v.js} +4869 -4944
  23. package/dist/{DocFormSend-d0979323.js → DocFormSend-Bo6YPSMr.js} +15 -33
  24. package/dist/DocLinks-DlWyanFQ.js +38 -0
  25. package/dist/{DocModalBase-77df9b3d.js → DocModalBase-BnuOPozg.js} +8 -10
  26. package/dist/{DocPrint-d39100c7.js → DocPrint-Uw8zz2tr.js} +6 -10
  27. package/dist/{DocReceipt-cf0e772b.js → DocReceipt-DsRzRjD8.js} +11 -15
  28. package/dist/{DocSendReminder-dca2775e.js → DocSendReminder-BEEEh-L9.js} +2 -6
  29. package/dist/{DocTextEditor-5676c56f.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
  30. package/dist/{DocTimeline-5911b608.js → DocTimeline-Bz29bHJu.js} +26 -37
  31. package/dist/{DocumentClient-eca72dd7.js → DocumentClient-1O7wxh-X.js} +15 -22
  32. package/dist/{DocumentLayout-8104d93d.js → DocumentLayout-BrN5peVY.js} +4510 -4527
  33. package/dist/{DocumentLogotype-c43c4bbb.js → DocumentLogotype-Bbas4MsY.js} +20 -22
  34. package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
  35. package/dist/{EmbedInput-02971bf6.js → EmbedInput-bXXwMP4u.js} +9 -12
  36. package/dist/{EmbedSettings-575fae0e.js → EmbedSettings-BA2THNrd.js} +6 -9
  37. package/dist/ErrorCallout-Dvy9895L.js +28 -0
  38. package/dist/{FilePreviewModal-c1d2d5e7.js → FilePreviewModal-r84Ah3lE.js} +8 -14
  39. package/dist/{Flag-1aceeff5.js → Flag-CDN9A_59.js} +18 -20
  40. package/dist/{HeaderSettings-993f8c98.js → HeaderSettings-DoDFhLcR.js} +34 -49
  41. package/dist/{ImageSelectModal-5dfe4a29.js → ImageSelectModal-D6ifkvIw.js} +12 -20
  42. package/dist/{ImageUploadWrapper-1e38bbe2.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
  43. package/dist/{Index-a7779d2a.js → Index-3p6X7Ln-.js} +24 -26
  44. package/dist/{Index-57800d9c.js → Index-B26J4tXQ.js} +7 -9
  45. package/dist/{Index-7cbe4a17.js → Index-B6gB5CD3.js} +6 -8
  46. package/dist/{Index-ec8820ee.js → Index-B6u3OUGH.js} +20 -23
  47. package/dist/{Index-bc0d3abe.js → Index-BN64idjX.js} +18 -31
  48. package/dist/{Index-50b0a9b8.js → Index-BNGaREiU.js} +14 -21
  49. package/dist/{Index-fa4f462a.js → Index-BNeg0lcx.js} +13 -15
  50. package/dist/{Index-4350bb0f.js → Index-BQVjSt_5.js} +29 -29
  51. package/dist/Index-BVNgUe07.js +21 -0
  52. package/dist/{Index-be8b14a8.js → Index-Be-J2RvQ.js} +8 -11
  53. package/dist/{Index-33635702.js → Index-Btlub0dK.js} +11 -13
  54. package/dist/{Index-46b2296e.js → Index-BtzGGZEN.js} +459 -510
  55. package/dist/{Index-c6a8a298.js → Index-ByCpvqCC.js} +16 -21
  56. package/dist/{Index-8a956c1b.js → Index-CSg7HLqX.js} +8 -10
  57. package/dist/{Index-08737451.js → Index-CUZJomAi.js} +10 -12
  58. package/dist/{Index-9a0233b0.js → Index-Cj_3udAp.js} +12 -21
  59. package/dist/{Index-13e229bb.js → Index-CnOdi4ux.js} +4 -6
  60. package/dist/{Index-c1c7db19.js → Index-DT9AWIQ2.js} +12 -15
  61. package/dist/Index-DWHl_jys.js +24 -0
  62. package/dist/{Index-cfc393ae.js → Index-Di3ibm8r.js} +51 -58
  63. package/dist/Index-Dk-kPbWy.js +52 -0
  64. package/dist/Index-Dl87oWQa.js +49 -0
  65. package/dist/{Index-c4296623.js → Index-DnDY3FUU.js} +9 -11
  66. package/dist/{Index-45c7841a.js → Index-DoKh3I_O.js} +19 -26
  67. package/dist/{Index-2c960d57.js → Index-DvA5sZ1U.js} +7 -9
  68. package/dist/{Index-670097a7.js → Index-DwlzPadK.js} +233 -273
  69. package/dist/{Index-e9f705f3.js → Index-ID37TIgR.js} +2 -4
  70. package/dist/Index-TPRXPN4a.js +26 -0
  71. package/dist/{Index-9b7b4516.js → Index-YdyeCcFX.js} +80 -90
  72. package/dist/{Index-a1097b66.js → Index-b0dDsObZ.js} +5 -9
  73. package/dist/{Index-677b2c85.js → Index-bIYFzizT.js} +4 -6
  74. package/dist/{Index-04f332ec.js → Index-d5iMi4y5.js} +116 -118
  75. package/dist/{Index-2504f599.js → Index-oYQ9EfP9.js} +16 -18
  76. package/dist/{Index-cfa81e3f.js → Index-phsroK51.js} +6 -8
  77. package/dist/{InputToggleRow-a0dc7e03.js → InputToggleRow-ClHkgn7s.js} +3 -5
  78. package/dist/{ManualPopover-6cf3f592.js → ManualPopover-DrhgZvGC.js} +1 -3
  79. package/dist/{MediaWrapper-2c2e3d44.js → MediaWrapper-BxNEJOT7.js} +3 -6
  80. package/dist/{NotBindingText-12f78064.js → NotBindingText-BhKMdYBN.js} +5 -7
  81. package/dist/{PackageGroup-75a1ad26.js → PackageGroup--pDNkIMj.js} +35 -59
  82. package/dist/{PdfTerms-5686a37b.js → PdfTerms-BL34ex7f.js} +11 -18
  83. package/dist/{PdfViewer-d1d05125.js → PdfViewer-CPSINxc8.js} +25 -29
  84. package/dist/{PlainHtml-6cc2bace.js → PlainHtml-Dc76U4EV.js} +5 -7
  85. package/dist/{PriceHeader-e45b65bc.js → PriceHeader-CEGF-DO3.js} +113 -130
  86. package/dist/SearchApi-D4yY2KZj.js +161 -0
  87. package/dist/{Setup-bf823254.js → Setup-BJIY_mWN.js} +9 -11
  88. package/dist/{TermsSettings-7a077b22.js → TermsSettings-DM4pvL-n.js} +6 -12
  89. package/dist/{ThemeColorRow-aad0248e.js → ThemeColorRow-D7TCU3ap.js} +8 -10
  90. package/dist/{ToggleBinding-abd0832e.js → ToggleBinding-CSgFUF6o.js} +7 -9
  91. package/dist/{UploadModal-42302f2b.js → UploadModal-Cz7o7DeT.js} +16 -19
  92. package/dist/{VideoPlayerInput-1c6cbf06.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
  93. package/dist/{VideoPlayerSettings-5ec723e1.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
  94. package/dist/{VideoSelectModal-16acfd43.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
  95. package/dist/{answerDocumentMixin-97b33f14.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
  96. package/dist/{debounce-b0ffdee0.js → debounce-DceKdgy2.js} +3 -3
  97. package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
  98. package/dist/{focusDrawerMixin-1d99a268.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
  99. package/dist/{formComponentsInstall-6ccace37.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
  100. package/dist/{formDrawerState-a7b5832a.js → formDrawerState-DLCSwrgc.js} +1 -1
  101. package/dist/{formValidationMixin-7216cb94.js → formValidationMixin-CsLym0iM.js} +2 -2
  102. package/dist/{index-7690fb79.js → index-0kj8-T7-.js} +39 -44
  103. package/dist/{index-6caf947c.js → index-4MqvoLi4.js} +3 -5
  104. package/dist/{index-93d3e2cb.js → index-By9c7IPL.js} +41 -59
  105. package/dist/{index-d73fd8ca.js → index-C16hoSRM.js} +5 -3
  106. package/dist/{index-ef3da59c.js → index-C6C4uskP.js} +14 -16
  107. package/dist/{IsPremiumPreStep-42eeebac.js → index-Cp7dG8Zm.js} +531 -566
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +1019 -1028
  110. package/dist/{main-2c8b76b7.js → main-DBw231uy.js} +21733 -21943
  111. package/dist/{mapFormMixin-c2bc089c.js → mapFormMixin-BrtcYsT9.js} +1 -2
  112. package/dist/{vuedraggable.umd-e89c3d5e.js → omit-DQqb9hkZ.js} +143 -133
  113. package/dist/{publicSenderState-e6458640.js → publicSenderState-BysO0Mzz.js} +1 -1
  114. package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-4f3f879a.js → throttle-DKrISvLg.js} +2 -2
  117. package/dist/{tinycolor-f780e5ca.js → tinycolor-Be3bF6zy.js} +6 -6
  118. package/dist/{tippy.esm-a855665a.js → tippy.esm-yjYH8SnL.js} +226 -232
  119. package/dist/{utils-4d39389a.js → utils-DP30AdJH.js} +1 -1
  120. package/package.json +3 -4
  121. package/dist/DocLinks-48aa6dd6.js +0 -41
  122. package/dist/DocumentVoided-2d93ef71.js +0 -27
  123. package/dist/ErrorCallout-05a4796b.js +0 -30
  124. package/dist/Index-1cb59290.js +0 -23
  125. package/dist/Index-2a88c858.js +0 -54
  126. package/dist/Index-5fb421de.js +0 -26
  127. package/dist/Index-6f6fc018.js +0 -28
  128. package/dist/Index-98c7217d.js +0 -61
  129. package/dist/SearchApi-410c081e.js +0 -167
  130. package/dist/index-805c56e4.js +0 -4
  131. package/dist/index-a1d51619.js +0 -14
  132. /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
  133. /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
  134. /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
  135. /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
  136. /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
@@ -0,0 +1,49 @@
1
+ import { m as s } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { T as i } from "./DocTextEditor-C-qeLSQa.js";
3
+ import { w as r, x as a, y as c, n as m } from "./main-DBw231uy.js";
4
+ const d = {
5
+ name: "TextContent",
6
+ components: {
7
+ TextEditor: i
8
+ },
9
+ mixins: [s(["content"])],
10
+ computed: {
11
+ value: {
12
+ get() {
13
+ return this.canEdit ? r(
14
+ this.content,
15
+ this._document.textTemplateMap,
16
+ this._document._doc
17
+ ) : a(this.content, this._document._doc);
18
+ },
19
+ set(e) {
20
+ this.content = c(e);
21
+ }
22
+ }
23
+ },
24
+ methods: {
25
+ onAdd() {
26
+ const e = () => this.$refs.textEditor.focus();
27
+ this.$refs.textEditor ? e() : this.$once("triggerOnAdd", e);
28
+ }
29
+ }
30
+ };
31
+ var l = function() {
32
+ var t = this, n = t._self._c;
33
+ return n("div", { staticClass: "quill-format", staticStyle: { "font-size": "16px" } }, [n("TextEditor", { ref: "textEditor", staticClass: "text-editor", staticStyle: { "margin-bottom": "1em" }, attrs: { placeholder: t.$t("components:account.documentForm.titleAndText.text"), mentions: () => t._document.textTemplateItems, snippets: !0, "is-absolute": !0 }, on: { "hook:mounted": function(o) {
34
+ return t.$emit("triggerOnAdd");
35
+ } }, model: { value: t.value, callback: function(o) {
36
+ t.value = o;
37
+ }, expression: "value" } })], 1);
38
+ }, u = [], p = /* @__PURE__ */ m(
39
+ d,
40
+ l,
41
+ u,
42
+ !1,
43
+ null,
44
+ "91c1fb62"
45
+ );
46
+ const h = p.exports;
47
+ export {
48
+ h as default
49
+ };
@@ -1,13 +1,13 @@
1
- import { m as e } from "./mapFormMixin-c2bc089c.js";
2
- import { n as i } from "./main-2c8b76b7.js";
1
+ import { m as n } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { n as i } from "./main-DBw231uy.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-677b2c85.js"),
7
- Edit: () => import("./Index-a7779d2a.js")
6
+ Read: () => import("./Index-bIYFzizT.js"),
7
+ Edit: () => import("./Index-3p6X7Ln-.js")
8
8
  },
9
9
  mixins: [
10
- e([
10
+ n([
11
11
  "workStartAt",
12
12
  "workEndAt",
13
13
  "timeUnit",
@@ -17,19 +17,17 @@ const r = {
17
17
  ]
18
18
  };
19
19
  var o = function() {
20
- var t = this, n = t._self._c;
21
- return t.canEdit ? n("Edit", t._g({ attrs: { _document: t._document, _value: t._value } }, t.$listeners)) : n("Read", { attrs: { "work-start-at": t.workStartAt, "work-end-at": t.workEndAt, "time-unit": t.timeUnit, "no-of-time-units": t.noOfTimeUnits, "time-delta-direction": t.timeDeltaDirection } });
20
+ var t = this, e = t._self._c;
21
+ return t.canEdit ? e("Edit", t._g({ attrs: { _document: t._document, _value: t._value } }, t.$listeners)) : e("Read", { attrs: { "work-start-at": t.workStartAt, "work-end-at": t.workEndAt, "time-unit": t.timeUnit, "no-of-time-units": t.noOfTimeUnits, "time-delta-direction": t.timeDeltaDirection } });
22
22
  }, a = [], m = /* @__PURE__ */ i(
23
23
  r,
24
24
  o,
25
25
  a,
26
26
  !1,
27
27
  null,
28
- null,
29
- null,
30
28
  null
31
29
  );
32
- const l = m.exports;
30
+ const d = m.exports;
33
31
  export {
34
- l as default
32
+ d as default
35
33
  };
@@ -1,10 +1,6 @@
1
- import { m as i } from "./mapFormMixin-c2bc089c.js";
2
- import { V as n } from "./PdfViewer-d1d05125.js";
3
- import { c as r, l as o, n as d } from "./main-2c8b76b7.js";
4
- import "./dom-962579a6.js";
5
- import "./DocumentLayout-8104d93d.js";
6
- import "./debounce-b0ffdee0.js";
7
- import "./CDropdownItem-d0cd42d6.js";
1
+ import { m as i } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { V as n } from "./PdfViewer-CPSINxc8.js";
3
+ import { c as r, d as l, n as d } from "./main-DBw231uy.js";
8
4
  const u = {
9
5
  i18nOptions: {
10
6
  namespaces: "pdfBlock",
@@ -21,12 +17,11 @@ const u = {
21
17
  }
22
18
  }
23
19
  },
24
- // eslint-disable-next-line vue/multi-word-component-names
25
20
  name: "Pdf",
26
21
  components: {
27
22
  PdfViewer: n,
28
- FileIcon: () => import("./Index-04f332ec.js"),
29
- BaseUpload: () => import("./BaseUpload-941ca869.js")
23
+ FileIcon: () => import("./Index-d5iMi4y5.js"),
24
+ BaseUpload: () => import("./BaseUpload-iosxX2-N.js")
30
25
  },
31
26
  mixins: [i(["file"])],
32
27
  inject: {
@@ -60,9 +55,9 @@ const u = {
60
55
  if (this.file.url.startsWith(r.api.baseUrl))
61
56
  return this.file.url;
62
57
  try {
63
- const { hostname: l } = new URL(this.file.url);
64
- if (Object.keys(o).some(
65
- (s) => l.includes(o[s].domain)
58
+ const { hostname: a } = new URL(this.file.url);
59
+ if (Object.keys(l).some(
60
+ (s) => a.includes(l[s].domain)
66
61
  ))
67
62
  return this.file.url;
68
63
  } catch {
@@ -76,21 +71,21 @@ const u = {
76
71
  this.$nextTick(() => {
77
72
  if (!this.isPdf)
78
73
  return;
79
- const l = this.$el.closest(".chapter");
80
- l && (l.style.padding = 0);
74
+ const a = this.$el.closest(".chapter");
75
+ a && (a.style.padding = 0);
81
76
  });
82
77
  },
83
78
  methods: {
84
- onUploadSuccess(l) {
85
- const { id: e, displayName: s, url: t, mime: a } = l.response;
79
+ onUploadSuccess(a) {
80
+ const { id: e, displayName: s, url: t, mime: o } = a.response;
86
81
  if (!e)
87
82
  throw new Error("Could not read id from uploaded file");
88
83
  this.file = {
89
84
  fileId: e,
90
85
  name: s,
91
- mime: a,
86
+ mime: o,
92
87
  url: t
93
- }, this.$refs.uploader.remove(l), this.uploadProgress = null;
88
+ }, this.$refs.uploader.remove(a), this.uploadProgress = null;
94
89
  }
95
90
  }
96
91
  };
@@ -115,18 +110,16 @@ var f = function() {
115
110
  } }], null, !1, 3134809537) })], 1) : e._e(), e.file ? s("div", [s("div", { class: {
116
111
  "break-before-page": e.isPdf && !e._firstBlock,
117
112
  "break-after-page": e.isPdf && !e._lastBlock
118
- } }, [e.file && e.file.url ? s("PdfViewer", { attrs: { src: e.fileUrl, docFilePath: `${e._value.file}.url` }, on: { numPages: (t) => e.numPages = t } }) : e._e()], 1)]) : e._e()]);
119
- }, p = [], c = /* @__PURE__ */ d(
113
+ } }, [e.file && e.file.url ? s("PdfViewer", { attrs: { src: e.fileUrl, "doc-file-path": `${e._value.file}.url` }, on: { numPages: (t) => e.numPages = t } }) : e._e()], 1)]) : e._e()]);
114
+ }, c = [], p = /* @__PURE__ */ d(
120
115
  u,
121
116
  f,
122
- p,
117
+ c,
123
118
  !1,
124
119
  null,
125
- null,
126
- null,
127
120
  null
128
121
  );
129
- const x = c.exports;
122
+ const _ = p.exports;
130
123
  export {
131
- x as default
124
+ _ as default
132
125
  };
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-c2bc089c.js";
2
- import { n as t } from "./main-2c8b76b7.js";
1
+ import { m as n } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { n as t } from "./main-DBw231uy.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-ec8820ee.js"),
7
- Edit: () => import("./Index-57800d9c.js")
6
+ Read: () => import("./Index-B6u3OUGH.js"),
7
+ Edit: () => import("./Index-B26J4tXQ.js")
8
8
  },
9
9
  mixins: [
10
10
  n([
@@ -24,11 +24,9 @@ var c = function() {
24
24
  m,
25
25
  !1,
26
26
  null,
27
- "b31d846d",
28
- null,
29
- null
27
+ "b31d846d"
30
28
  );
31
- const p = i.exports;
29
+ const _ = i.exports;
32
30
  export {
33
- p as default
31
+ _ as default
34
32
  };