@cling-se/widget 0.14.4 → 0.14.5

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 (134) hide show
  1. package/.eslintrc.cjs +4 -4
  2. package/README.md +40 -40
  3. package/dist/AddClientCallout-BMc-v9rJ.js +46 -0
  4. package/dist/AnswerModal-Cu0Ke5pl.js +3874 -0
  5. package/dist/AttachmentItem-Co8pVvtv.js +78 -0
  6. package/dist/BaseDatePicker-P5iq-XAp.js +3183 -0
  7. package/dist/BaseUpload-BDWnWTxr.js +1977 -0
  8. package/dist/BlockMedia-B_UiePCr.js +76 -0
  9. package/dist/CCallout-Bbp9ya9n.js +59 -0
  10. package/dist/CCurrencyDropdown-Cw39vJWw.js +246 -0
  11. package/dist/CDropdownItem-BjYnhZJr.js +538 -0
  12. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
  13. package/dist/CFormField-CeJ58aN2.js +241 -0
  14. package/dist/CPhoneFormat-BZnmeEeW.js +62 -0
  15. package/dist/CPriceInput-B07d19qq.js +112 -0
  16. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  17. package/dist/ClientAutocomplete-9iM1pR9l.js +78 -0
  18. package/dist/ClientModal-fw8f6UvL.js +625 -0
  19. package/dist/ColorPicker-uu6vKe8o.js +2879 -0
  20. package/dist/CompanyModal-5t4yhKL4.js +141 -0
  21. package/dist/ContentWrapper-DwcOQ21l.js +183 -0
  22. package/dist/CoverBlockSettings-cCCXzAZ0.js +275 -0
  23. package/dist/DocAnswer-9lbgqHRX.js +36 -0
  24. package/dist/DocDetails-CoLL_tHs.js +246 -0
  25. package/dist/DocForm-DUjcuHJe.js +7273 -0
  26. package/dist/DocFormSend-LawcXcM2.js +143 -0
  27. package/dist/DocLinks-pJT9HpjR.js +38 -0
  28. package/dist/DocModalBase-xUoskL63.js +28 -0
  29. package/dist/DocPrint-ClEJBiAg.js +240 -0
  30. package/dist/DocReceipt-x_YsXPnG.js +210 -0
  31. package/dist/DocSendReminder-Dbz8CkAz.js +137 -0
  32. package/dist/DocTextEditor-AqBE7jZj.js +17181 -0
  33. package/dist/DocTimeline-hq2asPzr.js +481 -0
  34. package/dist/DocumentClient-TmtHqfiw.js +136 -0
  35. package/dist/DocumentLayout-CRAp8mfk.js +4909 -0
  36. package/dist/DocumentLogotype-emSjQ21f.js +87 -0
  37. package/dist/DocumentVoided-BOjiWBK6.js +25 -0
  38. package/dist/EmbedInput-B3LFGEee.js +113 -0
  39. package/dist/EmbedSettings-BYPJTGQf.js +72 -0
  40. package/dist/ErrorCallout-CwgYHBkg.js +28 -0
  41. package/dist/FilePreviewModal-81sSrDGg.js +81 -0
  42. package/dist/Flag-DGFvUTQZ.js +114 -0
  43. package/dist/HeaderSettings-BGpkzcbj.js +392 -0
  44. package/dist/ImageSelectModal-Cimviyuy.js +84 -0
  45. package/dist/ImageUploadWrapper-qJDHCf8T.js +1604 -0
  46. package/dist/Index-18w_qMQH.js +25 -0
  47. package/dist/Index-9_R8_myc.js +77 -0
  48. package/dist/Index-BKoXW7GK.js +84 -0
  49. package/dist/Index-BL3-tRGt.js +642 -0
  50. package/dist/Index-BNfAA-ZJ.js +154 -0
  51. package/dist/Index-BOxSvAug.js +144 -0
  52. package/dist/Index-BQgW1jlH.js +45 -0
  53. package/dist/Index-BXAqgXVi.js +150 -0
  54. package/dist/Index-BgK_WC0d.js +140 -0
  55. package/dist/Index-BkUzlQaQ.js +107 -0
  56. package/dist/Index-BpyYa9LR.js +171 -0
  57. package/dist/Index-ByzGXUoc.js +292 -0
  58. package/dist/Index-C1lsSfnX.js +52 -0
  59. package/dist/Index-C9sq_RDg.js +223 -0
  60. package/dist/Index-CDEh3GAi.js +26 -0
  61. package/dist/Index-CEG-Hiv6.js +69 -0
  62. package/dist/Index-CMUg61_b.js +33 -0
  63. package/dist/Index-CObGPoQv.js +62 -0
  64. package/dist/Index-CPNUsaOS.js +57 -0
  65. package/dist/Index-CegW1Rim.js +98 -0
  66. package/dist/Index-CoSt-Bws.js +31 -0
  67. package/dist/Index-CpDgldnz.js +70 -0
  68. package/dist/Index-CqImx-rG.js +55 -0
  69. package/dist/Index-CrOD4_xj.js +58 -0
  70. package/dist/Index-DBCNVVm5.js +24 -0
  71. package/dist/Index-DGG1S8uJ.js +559 -0
  72. package/dist/Index-DRWS2z82.js +2402 -0
  73. package/dist/Index-DXRgZZNj.js +61 -0
  74. package/dist/Index-DY5gAUnE.js +754 -0
  75. package/dist/Index-Dr7mVlBb.js +49 -0
  76. package/dist/Index-Dx944wv-.js +21 -0
  77. package/dist/Index-Eq3JlTKK.js +46 -0
  78. package/dist/Index-Sr3emNkE.js +25 -0
  79. package/dist/Index-VshOfaom.js +32 -0
  80. package/dist/InputToggleRow-CQsaayf-.js +57 -0
  81. package/dist/ManualPopover-CFXm5cQy.js +58 -0
  82. package/dist/MediaWrapper-Cn0Yr4ce.js +23 -0
  83. package/dist/NotBindingText-CNiszGqn.js +32 -0
  84. package/dist/PackageGroup-BVys9ouj.js +699 -0
  85. package/dist/PdfTerms-Bbns-jMY.js +36 -0
  86. package/dist/PdfViewer-B1zzZU4Y.js +374 -0
  87. package/dist/PlainHtml-CARRbTxi.js +20 -0
  88. package/dist/PriceHeader-CqeC9Lhb.js +339 -0
  89. package/dist/SearchApi-bB9FLxUq.js +161 -0
  90. package/dist/Setup-p3Du_uf8.js +50 -0
  91. package/dist/SmartList-P5ZfTWBb.js +83 -0
  92. package/dist/TermsSettings-CQ8TGwBV.js +102 -0
  93. package/dist/ThemeColorRow-DMWVlFRU.js +67 -0
  94. package/dist/ToggleBinding-BPaYWgqP.js +38 -0
  95. package/dist/UploadModal-9O4HTVZm.js +95 -0
  96. package/dist/VideoPlayerInput-5KybfY7N.js +93 -0
  97. package/dist/VideoPlayerSettings-xSW8tcTZ.js +61 -0
  98. package/dist/VideoSelectModal-BbaNAxGH.js +100 -0
  99. package/dist/anime.es-BrPTThYb.js +858 -0
  100. package/dist/answerDocumentMixin-S-Bmv15G.js +51 -0
  101. package/dist/color-TdtKxwVa.js +19 -0
  102. package/dist/debounce-B_0g8OVh.js +84 -0
  103. package/dist/dom-CJxkno7i.js +91 -0
  104. package/dist/favicon.ico +0 -0
  105. package/dist/focusDrawerMixin-DhsqWZUo.js +22 -0
  106. package/dist/formComponentsInstall-UG7a9vjZ.js +2499 -0
  107. package/dist/formDrawerState-BMQrWaBt.js +20 -0
  108. package/dist/formValidationMixin-DUu0omWT.js +49 -0
  109. package/dist/i18nMessages-Chz_lxGG.js +17 -0
  110. package/dist/index-B3R_uKML.js +347 -0
  111. package/dist/index-B4aiQXsr.js +166 -0
  112. package/dist/index-C50JSDKO.js +3916 -0
  113. package/dist/index-CJ9AvuZH.js +102 -0
  114. package/dist/index-Czyda2Ej.js +492 -0
  115. package/dist/index-myOYAnwV.js +81 -0
  116. package/dist/index.es.js +35 -0
  117. package/dist/index.umd.js +3148 -0
  118. package/dist/main-B9t0ybqW.js +56739 -0
  119. package/dist/mapFormMixin-ETYhBLl2.js +72 -0
  120. package/dist/omit-DtTfKAed.js +31 -0
  121. package/dist/publicSenderState-DD1lN9CR.js +21 -0
  122. package/dist/splitpanes-BHUVsCZF.js +382 -0
  123. package/dist/style.css +4 -0
  124. package/dist/throttle-qziKkJJX.js +18 -0
  125. package/dist/tinycolor-CMC8Xp7x.js +633 -0
  126. package/dist/tippy.esm-DjbYjfS2.js +1799 -0
  127. package/dist/utils-C5Rg0fQC.js +108 -0
  128. package/dist/vuedraggable.umd-CE3WmaEQ.js +3161 -0
  129. package/dist/vuex.esm-DKGl8mcw.js +467 -0
  130. package/package.json +1 -1
  131. package/tsconfig.json +26 -26
  132. package/tsconfig.node.json +10 -10
  133. package/tsconfig.paths.json +17 -17
  134. package/vite.config.ts +61 -61
package/.eslintrc.cjs CHANGED
@@ -1,4 +1,4 @@
1
- // eslint-disable-next-line no-undef
2
- module.exports = {
3
- extends: ['../.eslintrc.cjs']
4
- }
1
+ // eslint-disable-next-line no-undef
2
+ module.exports = {
3
+ extends: ['../.eslintrc.cjs']
4
+ }
package/README.md CHANGED
@@ -1,40 +1,40 @@
1
- # Publish to @cling-se/widget
2
-
3
- [NPM directory - @cling-se/widget](https://www.npmjs.com/package/@cling-se/widget)
4
-
5
- ### Prerequisites
6
-
7
- 1. Authenticated to NPM
8
- 2. Publishing rights to `@cling-se/widget`
9
-
10
- ### Publishing to NPM
11
-
12
- **Bumping the version**
13
-
14
- - Stand on `dev/master`. Using `dev` is fine as long as the branch is stable.
15
- - Navigate to `widget/package.json` and change version according to semantic versioning (_see table below_)
16
- - Commit and push version change to `dev/master`
17
- - Commit message: `chore(widget): bumps version to <version>`
18
-
19
- **Publishing**
20
-
21
- - Navigate to root and run "pnpm widget:publish"
22
- - If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
23
- - Post a message in **#cling-release-notes** channel:
24
-
25
- New Cling Widget published <npmVersion>
26
- - Specify your changes in a bullet list
27
-
28
- ### Resources and definitions
29
-
30
- <!-- Definition table -->
31
- <details>
32
- <summary>Semantic versioning definitions</summary>
33
-
34
- | Version | Description |
35
- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
36
- | MAJOR | When you make incompatible API changes. _At the time of writing we only change this if we plan on long term maintainance of a version_ |
37
- | MINOR | When you add functionality in a backwards compatible manner. |
38
- | PATCH | When you make backwards compatible bug fixes. |
39
-
40
- </details>
1
+ # Publish to @cling-se/widget
2
+
3
+ [NPM directory - @cling-se/widget](https://www.npmjs.com/package/@cling-se/widget)
4
+
5
+ ### Prerequisites
6
+
7
+ 1. Authenticated to NPM
8
+ 2. Publishing rights to `@cling-se/widget`
9
+
10
+ ### Publishing to NPM
11
+
12
+ **Bumping the version**
13
+
14
+ - Stand on `dev/master`. Using `dev` is fine as long as the branch is stable.
15
+ - Navigate to `widget/package.json` and change version according to semantic versioning (_see table below_)
16
+ - Commit and push version change to `dev/master`
17
+ - Commit message: `chore(widget): bumps version to <version>`
18
+
19
+ **Publishing**
20
+
21
+ - Navigate to root and run "pnpm widget:publish"
22
+ - If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
23
+ - Post a message in **#cling-release-notes** channel:
24
+
25
+ New Cling Widget published <npmVersion>
26
+ - Specify your changes in a bullet list
27
+
28
+ ### Resources and definitions
29
+
30
+ <!-- Definition table -->
31
+ <details>
32
+ <summary>Semantic versioning definitions</summary>
33
+
34
+ | Version | Description |
35
+ | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
36
+ | MAJOR | When you make incompatible API changes. _At the time of writing we only change this if we plan on long term maintainance of a version_ |
37
+ | MINOR | When you add functionality in a backwards compatible manner. |
38
+ | PATCH | When you make backwards compatible bug fixes. |
39
+
40
+ </details>
@@ -0,0 +1,46 @@
1
+ import { m as o } from "./mapFormMixin-ETYhBLl2.js";
2
+ import { C as s } from "./ClientAutocomplete-9iM1pR9l.js";
3
+ import { n as r } from "./main-B9t0ybqW.js";
4
+ const a = {
5
+ i18nOptions: {
6
+ namespaces: "components",
7
+ keyPrefix: "account.documentForm.clients"
8
+ },
9
+ name: "AddClientCallout",
10
+ components: {
11
+ ClientAutocomplete: s
12
+ },
13
+ mixins: [o([])],
14
+ props: {
15
+ compact: {
16
+ type: Boolean,
17
+ default: !1
18
+ }
19
+ },
20
+ computed: {
21
+ showSearch() {
22
+ return this.$view !== "widget" && !this.viewSettings.isPublicForm;
23
+ }
24
+ }
25
+ };
26
+ var i = function() {
27
+ var t = this, e = t._self._c;
28
+ return e("div", { class: t.compact ? "rounded-lg border border-gray-200 p-3" : "rounded-lg border border-gray-200 bg-gray-100 p-3", style: t.compact && {
29
+ "--stripe-1": "hsl(var(--gray-color-50))",
30
+ "--stripe-2": "hsl(var(--gray-color-100))",
31
+ background: "repeating-linear-gradient(45deg,var(--stripe-1),var(--stripe-1) 15px,var(--stripe-2) 15px,var(--stripe-2) 30px)"
32
+ } }, [t.compact ? t._e() : e("div", { staticClass: "px-2" }, [e("div", { staticClass: "text-base font-semibold", domProps: { textContent: t._s(t.$t("title")) } }), e("div", { staticClass: "pb-6 text-gray-700", domProps: { textContent: t._s(t.$t("subTitle")) } })]), e("CField", { attrs: { grouped: "", "group-multiline": "" } }, [e("div", { staticClass: "control" }, [e("CButton", { staticClass: "is-left", attrs: { type: "secondary", size: "small", taller: "", "icon-left": "plus" }, on: { click: function(p) {
33
+ return t.$emit("add");
34
+ } } }, [t._v(" " + t._s(t.showSearch ? t.$t("add.new") : t.$t("_common:add", { thing: t.$t("_common:recipient") })) + " ")])], 1), t.showSearch ? [t.compact ? e("div", { staticClass: "control flex items-center text-gray-500", staticStyle: { width: "initial", "font-size": "13px" } }, [t._v(" " + t._s(t.$t("_common:or")) + " ")]) : t._e(), e("ClientAutocomplete", t._g({ staticStyle: { flex: "1 1 0" }, attrs: { "show-loading": !0, "show-empty": !0, icon: "search", "clear-on-select": "" } }, t.$listeners))] : t._e()], 2)], 1);
35
+ }, n = [], l = /* @__PURE__ */ r(
36
+ a,
37
+ i,
38
+ n,
39
+ !1,
40
+ null,
41
+ null
42
+ );
43
+ const _ = l.exports;
44
+ export {
45
+ _ as default
46
+ };