@cling-se/widget 0.14.4 → 0.14.6

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 (129) hide show
  1. package/dist/AddClientCallout-C7abPZ87.js +46 -0
  2. package/dist/AnswerModal-CsA2pl2P.js +3874 -0
  3. package/dist/AttachmentItem-Da1-7xwf.js +78 -0
  4. package/dist/BaseDatePicker-k9zlSi5J.js +3183 -0
  5. package/dist/BaseUpload-BUrXX3fT.js +1977 -0
  6. package/dist/BlockMedia-CYI07qAn.js +76 -0
  7. package/dist/CCallout-Qwae66vo.js +59 -0
  8. package/dist/CCurrencyDropdown-Y_u0hgBx.js +246 -0
  9. package/dist/CDropdownItem-CXJ4xD8W.js +538 -0
  10. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
  11. package/dist/CFormField--m3PvQuT.js +241 -0
  12. package/dist/CPhoneFormat-Qg6MkDVP.js +62 -0
  13. package/dist/CPriceInput-Dlx44UrR.js +112 -0
  14. package/dist/CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js +1 -0
  15. package/dist/ClientAutocomplete-BKKc_br6.js +78 -0
  16. package/dist/ClientModal-CVZFb1Br.js +625 -0
  17. package/dist/ColorPicker-Bo3s3Esp.js +2879 -0
  18. package/dist/CompanyModal-DadjAioS.js +141 -0
  19. package/dist/ContentWrapper-BC3ZBQW9.js +183 -0
  20. package/dist/CoverBlockSettings-B484eE4g.js +275 -0
  21. package/dist/DocAnswer-CcYryOWI.js +36 -0
  22. package/dist/DocDetails-BigsoEWL.js +246 -0
  23. package/dist/DocForm-DlN0eNWt.js +7273 -0
  24. package/dist/DocFormSend-TqKo210I.js +143 -0
  25. package/dist/DocLinks-DSo54vDn.js +38 -0
  26. package/dist/DocModalBase-XlM1SThW.js +28 -0
  27. package/dist/DocPrint-tD0Vd9Sw.js +240 -0
  28. package/dist/DocReceipt-CDHPrhXM.js +210 -0
  29. package/dist/DocSendReminder-C62RhltH.js +137 -0
  30. package/dist/DocTextEditor-VjhV9IRp.js +17181 -0
  31. package/dist/DocTimeline-LcW4z3nC.js +481 -0
  32. package/dist/DocumentClient-CqbTRdpB.js +136 -0
  33. package/dist/DocumentLayout-Dbf8_01r.js +4909 -0
  34. package/dist/DocumentLogotype-DXYnBedV.js +87 -0
  35. package/dist/DocumentVoided-vH1Ti5lZ.js +25 -0
  36. package/dist/EmbedInput-D9qP8OnY.js +113 -0
  37. package/dist/EmbedSettings-DISuNqJT.js +72 -0
  38. package/dist/ErrorCallout-CCtCVwSh.js +28 -0
  39. package/dist/FilePreviewModal-BjhNyb6L.js +81 -0
  40. package/dist/Flag-Dhukv9_J.js +114 -0
  41. package/dist/HeaderSettings-CK4SkB1x.js +392 -0
  42. package/dist/ImageSelectModal-DnvPZzXx.js +84 -0
  43. package/dist/ImageUploadWrapper-B7cNMu5a.js +1604 -0
  44. package/dist/Index-B3HoK_cZ.js +84 -0
  45. package/dist/Index-B3aucNji.js +25 -0
  46. package/dist/Index-B9H5MMHb.js +62 -0
  47. package/dist/Index-BAYdvT-t.js +754 -0
  48. package/dist/Index-BLeQprjq.js +46 -0
  49. package/dist/Index-BOyvQlng.js +154 -0
  50. package/dist/Index-BVsw2tak.js +70 -0
  51. package/dist/Index-BY1UKGEO.js +98 -0
  52. package/dist/Index-Bh0kMSsA.js +107 -0
  53. package/dist/Index-BlQSM7tC.js +144 -0
  54. package/dist/Index-BpcJBGGd.js +642 -0
  55. package/dist/Index-Bs8wprXw.js +58 -0
  56. package/dist/Index-BvZZAvFd.js +21 -0
  57. package/dist/Index-CFo-3Y5Q.js +26 -0
  58. package/dist/Index-CNvp5K3L.js +559 -0
  59. package/dist/Index-CPJVx14x.js +171 -0
  60. package/dist/Index-CQ325eVT.js +140 -0
  61. package/dist/Index-CWrDtcfT.js +49 -0
  62. package/dist/Index-CyJnSvDR.js +223 -0
  63. package/dist/Index-D6bc7lg4.js +52 -0
  64. package/dist/Index-DCR8ev4U.js +33 -0
  65. package/dist/Index-DGQSB9cH.js +24 -0
  66. package/dist/Index-DXAvlq74.js +292 -0
  67. package/dist/Index-D_rfst8y.js +45 -0
  68. package/dist/Index-Dm8xMFGg.js +61 -0
  69. package/dist/Index-DtSSgtxB.js +55 -0
  70. package/dist/Index-DuTw9vhb.js +77 -0
  71. package/dist/Index-Dw26jtGV.js +31 -0
  72. package/dist/Index-OxN73_fO.js +32 -0
  73. package/dist/Index-S-FHG7_k.js +2402 -0
  74. package/dist/Index-ZFkitzfq.js +69 -0
  75. package/dist/Index-dyWK9jgr.js +25 -0
  76. package/dist/Index-gb11ngPS.js +57 -0
  77. package/dist/Index-lKk_XKJ3.js +150 -0
  78. package/dist/InputToggleRow-DSSvhPKA.js +57 -0
  79. package/dist/ManualPopover-lpJYSkw5.js +58 -0
  80. package/dist/MediaWrapper-BQ22FA2B.js +23 -0
  81. package/dist/NotBindingText-JxwzZLPP.js +32 -0
  82. package/dist/PackageGroup-BLSMSUDz.js +699 -0
  83. package/dist/PdfTerms-DtutjM5Y.js +36 -0
  84. package/dist/PdfViewer-BsxcZI_x.js +374 -0
  85. package/dist/PlainHtml-BMPZs2fT.js +20 -0
  86. package/dist/PriceHeader-BRYY01H2.js +339 -0
  87. package/dist/SearchApi-6001iFxU.js +161 -0
  88. package/dist/Setup-cw6jMI9M.js +50 -0
  89. package/dist/SmartList-q6H-uLbm.js +83 -0
  90. package/dist/TermsSettings-DWvaPneu.js +102 -0
  91. package/dist/ThemeColorRow-BXWnvfz-.js +67 -0
  92. package/dist/ToggleBinding-DydtwpNG.js +38 -0
  93. package/dist/UploadModal-D_EDKHGD.js +95 -0
  94. package/dist/VideoPlayerInput-B9yzUeBW.js +93 -0
  95. package/dist/VideoPlayerSettings-Bvp9l0yj.js +61 -0
  96. package/dist/VideoSelectModal-DY3N4JiS.js +100 -0
  97. package/dist/anime.es-BrPTThYb.js +858 -0
  98. package/dist/answerDocumentMixin-BYZPU_R-.js +51 -0
  99. package/dist/color-TdtKxwVa.js +19 -0
  100. package/dist/debounce-BPnlzNwd.js +84 -0
  101. package/dist/dom-CJxkno7i.js +91 -0
  102. package/dist/favicon.ico +0 -0
  103. package/dist/focusDrawerMixin-DC9Oa1i7.js +22 -0
  104. package/dist/formComponentsInstall-CEW6TK6z.js +2499 -0
  105. package/dist/formDrawerState-CAzvSMiQ.js +20 -0
  106. package/dist/formValidationMixin-D7zXxCpC.js +49 -0
  107. package/dist/i18nMessages-Chz_lxGG.js +17 -0
  108. package/dist/index-B9WDC3Xe.js +166 -0
  109. package/dist/index-BCMaUC5r.js +3916 -0
  110. package/dist/index-BDMI4NVY.js +492 -0
  111. package/dist/index-BbscgdRg.js +81 -0
  112. package/dist/index-CLUljEDI.js +347 -0
  113. package/dist/index-SxyZvewN.js +102 -0
  114. package/dist/index.es.js +35 -0
  115. package/dist/index.umd.js +3148 -0
  116. package/dist/main-CQBEuZk9.js +56739 -0
  117. package/dist/mapFormMixin-DlFcgwhm.js +72 -0
  118. package/dist/omit-BWy0Zhd3.js +31 -0
  119. package/dist/publicSenderState-CvOcFv2U.js +21 -0
  120. package/dist/splitpanes-BHUVsCZF.js +382 -0
  121. package/dist/style.css +4 -0
  122. package/dist/throttle-BrC8eGjQ.js +18 -0
  123. package/dist/tinycolor-PhFP695w.js +633 -0
  124. package/dist/tippy.esm-7dmKOUvu.js +1799 -0
  125. package/dist/utils-NBLgNGHR.js +108 -0
  126. package/dist/vuedraggable.umd-ByfH7ZxC.js +3161 -0
  127. package/dist/vuex.esm-DKGl8mcw.js +467 -0
  128. package/package.json +1 -1
  129. package/vite.config.ts +0 -1
@@ -0,0 +1,84 @@
1
+ import { m as s } from "./mapFormMixin-DlFcgwhm.js";
2
+ import { B as c } from "./BlockMedia-CYI07qAn.js";
3
+ import { T as n } from "./DocTextEditor-VjhV9IRp.js";
4
+ import { f as a } from "./focusDrawerMixin-DC9Oa1i7.js";
5
+ import { b as i, z as l, A as v, B as d, P as u, n as m } from "./main-CQBEuZk9.js";
6
+ const _ = {
7
+ name: "CoverBlock",
8
+ components: {
9
+ BlockMedia: c,
10
+ TextEditor: n,
11
+ CoverBlockSettings: () => import("./CoverBlockSettings-B484eE4g.js")
12
+ },
13
+ mixins: [s(["coverBlock"]), a],
14
+ inject: ["parentSize"],
15
+ data() {
16
+ return {
17
+ showControls: !1
18
+ };
19
+ },
20
+ computed: {
21
+ text: {
22
+ get() {
23
+ const t = i(this, "coverBlock.text", "");
24
+ return this.canEdit ? l(
25
+ t,
26
+ this._document.textTemplateMap,
27
+ this._document._doc
28
+ ) : v(t, this._document._doc);
29
+ },
30
+ set(t) {
31
+ this.setValue({ key: "text", value: d(t) });
32
+ }
33
+ },
34
+ media() {
35
+ const { type: t, cover: e } = this.coverBlock || {};
36
+ return { ...e, ...t && { type: t } };
37
+ }
38
+ },
39
+ methods: {
40
+ setValue({ key: t, value: e }) {
41
+ this.coverBlock = u(this.coverBlock, t, e);
42
+ },
43
+ onAdd() {
44
+ const t = () => this.$refs.editor.focus();
45
+ this.$refs.editor ? t() : this.$once("triggerOnAdd", t);
46
+ }
47
+ }
48
+ };
49
+ var p = function() {
50
+ var e = this, o = e._self._c;
51
+ return o("div", { staticClass: "cover-root font-inter", class: { "is-700-plus": e.parentSize.width >= 700 }, on: { "&mouseover": function(r) {
52
+ e.showControls = !0;
53
+ }, "&mouseleave": function(r) {
54
+ e.showControls = !1;
55
+ } } }, [o("div", { staticClass: "cover-base" }, [o("BlockMedia", { attrs: { media: e.media } }), o("div", { staticClass: "cover-text-wrapper no-drag" }, [o("div", { staticClass: "cover-text" }, [o("TextEditor", { key: e.canEdit, ref: "editor", attrs: { editable: e.canEdit, mentions: () => e._document.textTemplateItems, snippets: !0, extensions: "all", unstyled: "" }, on: { "hook:mounted": function(r) {
56
+ return e.$emit("triggerOnAdd");
57
+ } }, model: { value: e.text, callback: function(r) {
58
+ e.text = r;
59
+ }, expression: "text" } })], 1)])], 1), e.isForm ? [e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
60
+ type: `${e._value.coverBlock}.type`,
61
+ video: `${e._value.coverBlock}.cover.video`,
62
+ resourceUrl: `${e._value.coverBlock}.cover.resourceUrl`,
63
+ filter: `${e._value.coverBlock}.cover.filter`,
64
+ blur: `${e._value.coverBlock}.cover.blur`,
65
+ position: `${e._value.coverBlock}.cover.position`,
66
+ overlay: `${e._value.coverBlock}.cover.overlay`,
67
+ overlayColor: `${e._value.coverBlock}.cover.overlayColor`,
68
+ gradient: `${e._value.coverBlock}.cover.gradient`,
69
+ backgroundColor: `${e._value.coverBlock}.cover.backgroundColor`
70
+ } } }), o("div", { staticClass: "footer-button", attrs: { slot: "footer" }, slot: "footer" }, [o("CButton", { attrs: { type: "danger", pattern: "tertiary", wide: "" }, on: { click: function(r) {
71
+ return e.$emit("section-remove");
72
+ } } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)], 1) : e._e()] : e._e()], 2);
73
+ }, f = [], k = /* @__PURE__ */ m(
74
+ _,
75
+ p,
76
+ f,
77
+ !1,
78
+ null,
79
+ "c9be0d3f"
80
+ );
81
+ const g = k.exports;
82
+ export {
83
+ g as default
84
+ };
@@ -0,0 +1,25 @@
1
+ import { m as e } from "./mapFormMixin-DlFcgwhm.js";
2
+ import { n as i } from "./main-CQBEuZk9.js";
3
+ const m = {
4
+ name: "EstimatedTimeToComplete",
5
+ components: {
6
+ Read: () => import("./Index-D_rfst8y.js"),
7
+ Edit: () => import("./Index-D6bc7lg4.js")
8
+ },
9
+ mixins: [e(["noOfTimeUnits", "timeUnit"])]
10
+ };
11
+ var o = function() {
12
+ var t = this, n = t._self._c;
13
+ return t.canEdit ? n("Edit", t._g({ attrs: { _document: t._document, _value: t._value } }, t.$listeners)) : n("Read", { attrs: { "no-of-time-units": t.noOfTimeUnits, "time-unit": t.timeUnit } });
14
+ }, r = [], s = /* @__PURE__ */ i(
15
+ m,
16
+ o,
17
+ r,
18
+ !1,
19
+ null,
20
+ null
21
+ );
22
+ const d = s.exports;
23
+ export {
24
+ d as default
25
+ };
@@ -0,0 +1,62 @@
1
+ import { m as o } from "./mapFormMixin-DlFcgwhm.js";
2
+ import { n as s } from "./main-CQBEuZk9.js";
3
+ const i = {
4
+ name: "PackageGroupBlock",
5
+ components: {
6
+ PackageGroupRead: () => import("./PackageGroup-BLSMSUDz.js"),
7
+ PackageGroupEdit: () => import("./Index-S-FHG7_k.js")
8
+ },
9
+ mixins: [o(["type", "packages"])],
10
+ data() {
11
+ return {
12
+ persistedGroup: {
13
+ type: "",
14
+ packages: [],
15
+ articles: []
16
+ }
17
+ };
18
+ },
19
+ computed: {
20
+ valuePaths() {
21
+ return {
22
+ ...this._value,
23
+ ...this._value.groupId && {
24
+ hideGroupPrice: `data.packageGroup.${this._value.groupId}.hideGroupPrice`
25
+ },
26
+ articles: "articles"
27
+ };
28
+ }
29
+ },
30
+ validations() {
31
+ return this.isForm ? {
32
+ type: {
33
+ required: (r) => !!r
34
+ },
35
+ packages: {
36
+ required: (r) => r && r.length
37
+ // packages cannot be left empty
38
+ }
39
+ } : {
40
+ // No validation for read mode
41
+ };
42
+ }
43
+ };
44
+ var p = function() {
45
+ var e = this, t = e._self._c;
46
+ return e.canEdit ? t("PackageGroupEdit", e._g({ attrs: { _document: e._document, _value: e.valuePaths, "persisted-group": e.persistedGroup, validator: e.$v }, on: { "update:persistedGroup": function(a) {
47
+ e.persistedGroup = a;
48
+ }, "update:persisted-group": function(a) {
49
+ e.persistedGroup = a;
50
+ } } }, e.$listeners)) : t("PackageGroupRead", { attrs: { _document: e._document, _value: e.valuePaths, validator: e.$v } });
51
+ }, u = [], n = /* @__PURE__ */ s(
52
+ i,
53
+ p,
54
+ u,
55
+ !1,
56
+ null,
57
+ "a80b0d65"
58
+ );
59
+ const _ = n.exports;
60
+ export {
61
+ _ as default
62
+ };