@cling-se/widget 0.15.7 → 0.16.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 (127) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.internal.md +82 -0
  3. package/README.md +14 -43
  4. package/README.public.md +14 -0
  5. package/dist/{AddClientCallout-C5eY5Sf1.js → AddClientCallout-y-zhsVHD.js} +4 -4
  6. package/dist/{AnswerModal-BL4YF7Mx.js → AnswerModal-D_Xn8vYp.js} +7 -7
  7. package/dist/{AttachmentItem-B6ccvvip.js → AttachmentItem-B_QXPkQd.js} +5 -5
  8. package/dist/{BaseDatePicker-CKEk_-Sq.js → BaseDatePicker-9mWkLSes.js} +2 -2
  9. package/dist/{BaseUpload-z9dHrD4v.js → BaseUpload-BYr9ceyE.js} +3 -3
  10. package/dist/{BlockMedia-CvcOH50p.js → BlockMedia-B7df7mkZ.js} +2 -2
  11. package/dist/{CCallout-DaDQ9TVL.js → CCallout-PpBctkYi.js} +2 -2
  12. package/dist/{CCurrencyDropdown-BDHwtlZD.js → CCurrencyDropdown-B4r3UK5p.js} +4 -4
  13. package/dist/{CDropdownItem-DrUNsF-M.js → CDropdownItem-D9qExYxr.js} +2 -2
  14. package/dist/{CFormField-StE6rVJd.js → CFormField-CAu3ko8B.js} +1 -1
  15. package/dist/{CPhoneFormat-_36wAC97.js → CPhoneFormat-LZmpWJgi.js} +1 -1
  16. package/dist/{CPhoneInput-C6udgFv4.js → CPhoneInput-ChuZrAQD.js} +5 -5
  17. package/dist/{CPriceInput-Crckzatz.js → CPriceInput-COrol9j1.js} +2 -2
  18. package/dist/{CSelect-tNoZGTTP.js → CSelect-kh9nf3qC.js} +5 -5
  19. package/dist/{CSkeleton-tA2-3geh.js → CSkeleton-D_ixq6ml.js} +1 -1
  20. package/dist/{ClientAutocomplete-4Df5uKvw.js → ClientAutocomplete-DHipi8vn.js} +6 -6
  21. package/dist/{ClientModal-D9k_pcV_.js → ClientModal-BowPWtr4.js} +14 -14
  22. package/dist/{ColorPicker-DGP1A-09.js → ColorPicker-CzbXZiaY.js} +2 -2
  23. package/dist/{CompanyModal-g41iIu5p.js → CompanyModal-B9YpDL-m.js} +7 -7
  24. package/dist/{ContentWrapper-B8RJ9JjT.js → ContentWrapper-DaZYO-TC.js} +9 -9
  25. package/dist/{CoverBlockSettings-Dsxq1d5E.js → CoverBlockSettings-BVjSiXAC.js} +9 -9
  26. package/dist/{DocAnswer-BhgKpICR.js → DocAnswer-D2wP2fWm.js} +2 -2
  27. package/dist/{DocDetails-CPzQfqZM.js → DocDetails-BZ7Ra1DH.js} +7 -7
  28. package/dist/{DocForm-D_BPvFwv.js → DocForm-Bf9B4wgW.js} +57 -57
  29. package/dist/{DocFormSend-imOPY3yF.js → DocFormSend-CKgGNEXF.js} +2 -2
  30. package/dist/{DocLinks--abXDlos.js → DocLinks-D62I0vCP.js} +2 -2
  31. package/dist/{DocModalBase-lpD_adHs.js → DocModalBase-DPDXjuJL.js} +2 -2
  32. package/dist/{DocPrint-DV2f-PQY.js → DocPrint-RJ0CtTmm.js} +2 -2
  33. package/dist/{DocReceipt-B6o6ADWD.js → DocReceipt-BibIkXtI.js} +2 -2
  34. package/dist/{DocSendReminder-jYNQcoQg.js → DocSendReminder-8mxaYS6a.js} +1 -1
  35. package/dist/{DocTextEditor-DXEgaHPn.js → DocTextEditor-CHSTTDb5.js} +317 -307
  36. package/dist/{DocTimeline-nBuaJW3N.js → DocTimeline-Pb2mDuSl.js} +2 -2
  37. package/dist/{DocumentClient-DX429jOm.js → DocumentClient-CBVMXCJk.js} +5 -5
  38. package/dist/{DocumentLayout-xZz0zcFz.js → DocumentLayout-C-wJE5eC.js} +6 -6
  39. package/dist/{DocumentLogotype-CVpFKbZI.js → DocumentLogotype-DweKx9A7.js} +5 -5
  40. package/dist/{DocumentVoided-oI88vQd9.js → DocumentVoided-yGVbvKRa.js} +1 -1
  41. package/dist/{EmbedInput-z6h3DWLA.js → EmbedInput-Cjfd1wIG.js} +3 -3
  42. package/dist/{EmbedSettings-BGYss2Nm.js → EmbedSettings-CdKmydes.js} +4 -4
  43. package/dist/{ErrorCallout-BBp-bOKz.js → ErrorCallout-CcZpbmta.js} +4 -4
  44. package/dist/{FilePreviewModal-BKhwotau.js → FilePreviewModal-Cud7184s.js} +3 -3
  45. package/dist/{Flag-DN4O9czy.js → Flag-BNvniHuq.js} +1 -1
  46. package/dist/{HeaderSettings-Dvb4e5nf.js → HeaderSettings-BJsebJRd.js} +11 -11
  47. package/dist/{ImageSelectModal-BJgZ6yOz.js → ImageSelectModal-DLf_eWz1.js} +6 -6
  48. package/dist/{ImageUploadWrapper-Q9RlCpnE.js → ImageUploadWrapper-w5ZLifwQ.js} +3 -3
  49. package/dist/{Index-CFjM4vqS.js → Index-0FsmqoRt.js} +15 -15
  50. package/dist/{Index-6vCz4Agg.js → Index-B5iGQq9Y.js} +7 -7
  51. package/dist/{Index-CpD9wFo0.js → Index-B83yprTa.js} +4 -4
  52. package/dist/{Index-M9HlQgC7.js → Index-B9C1WkCd.js} +3 -3
  53. package/dist/{Index-D5wta66W.js → Index-BDbonb6D.js} +9 -9
  54. package/dist/{Index-COu9T9NH.js → Index-BDdcJgub.js} +7 -7
  55. package/dist/{Index-jZuaXmlg.js → Index-BKoxPM7Q.js} +7 -7
  56. package/dist/{Index-BBavYm3M.js → Index-BMH-ouw7.js} +7 -7
  57. package/dist/{Index-Bu9f3tyI.js → Index-BQLpCuiY.js} +1 -1
  58. package/dist/{Index-CwICYK1f.js → Index-BlFe_sVA.js} +7 -7
  59. package/dist/{Index-0K1OC7Zn.js → Index-BlJJ_Hyd.js} +2 -2
  60. package/dist/{Index-Biv4Zolg.js → Index-BoHaA_xe.js} +4 -4
  61. package/dist/{Index-C-JUetwS.js → Index-BvvwWlpY.js} +5 -5
  62. package/dist/{Index-uAZY6t7B.js → Index-C-2vPFaj.js} +5 -5
  63. package/dist/{Index-CkBRIXDN.js → Index-C3yLVDgc.js} +4 -4
  64. package/dist/{Index-iFplVghW.js → Index-CF2U1V_D.js} +2 -2
  65. package/dist/{Index-CR62o6B2.js → Index-CRM1JC9P.js} +4 -4
  66. package/dist/{Index-HHLZK_va.js → Index-CSpVwK6k.js} +4 -4
  67. package/dist/{Index-C1QuNd6D.js → Index-CcPsAtze.js} +5 -5
  68. package/dist/{Index-BQI2dsVk.js → Index-Cf2bPdtB.js} +6 -6
  69. package/dist/{Index-CMrUnGlx.js → Index-CiPhHgfu.js} +26 -26
  70. package/dist/{Index-BT4OcMqC.js → Index-Cj7YINSC.js} +5 -5
  71. package/dist/{Index-BTIVUZPf.js → Index-D4-f7mTG.js} +15 -15
  72. package/dist/{Index-xxGN8pkC.js → Index-DY9Tntfh.js} +3 -3
  73. package/dist/{Index-CepC4G63.js → Index-DYkN8zVO.js} +2 -2
  74. package/dist/{Index-MyVQf4k3.js → Index-D_wcx3Of.js} +4 -4
  75. package/dist/{Index-C5Mb3Y7Y.js → Index-DblXQyCy.js} +2 -2
  76. package/dist/{Index-DBCIp0nF.js → Index-DuO2f-vX.js} +10 -10
  77. package/dist/{Index-7h4h1DlU.js → Index-DwgpBl9r.js} +2 -2
  78. package/dist/{Index-CbOWPnRb.js → Index-DzR0bujJ.js} +5 -5
  79. package/dist/{Index-Djy3Ib2s.js → Index-P6z5RLSu.js} +6 -6
  80. package/dist/{Index-BMZtxaju.js → Index-VsRsMadr.js} +3 -3
  81. package/dist/{Index-DO3dcFG9.js → Index-f9sVo8jx.js} +7 -7
  82. package/dist/{Index-pEZv5hdc.js → Index-uY0XMOKH.js} +9 -9
  83. package/dist/{InputToggleRow-CW5KcGY0.js → InputToggleRow-CJYPezZy.js} +2 -2
  84. package/dist/{ManualPopover-CHkbpBra.js → ManualPopover-Cqoi2dQR.js} +3 -3
  85. package/dist/{MediaWrapper-DyEPsaIn.js → MediaWrapper-5ArAcMau.js} +3 -3
  86. package/dist/{NotBindingText-BRvkCBLK.js → NotBindingText-DdTbb3O4.js} +2 -2
  87. package/dist/{PackageGroup-BRrNJc56.js → PackageGroup-BTU_pglB.js} +10 -10
  88. package/dist/{PdfTerms-BkG6YufI.js → PdfTerms-CltyFwWM.js} +3 -3
  89. package/dist/{PdfViewer-C8gBx3pj.js → PdfViewer-DG-MYtZa.js} +20 -20
  90. package/dist/{PlainHtml-BHslT0Ur.js → PlainHtml-SN-qLxLn.js} +1 -1
  91. package/dist/{PriceHeader-C_ErbhUX.js → PriceHeader-BWnpaBZ0.js} +9 -9
  92. package/dist/{SearchApi--8XC1sYG.js → SearchApi-BnxpIqz-.js} +2 -2
  93. package/dist/{SendForm-CuEY7Cvw.js → SendForm-CrNnUYWp.js} +14 -14
  94. package/dist/{Setup-CyzpPcXO.js → Setup-BloDBZml.js} +1 -1
  95. package/dist/{SmartList-6LB8RlXJ.js → SmartList-_z7XCf7a.js} +1 -1
  96. package/dist/{TermsSettings-CW0TW7y_.js → TermsSettings-CtijshXK.js} +6 -6
  97. package/dist/{ThemeColorRow-CvKB6e4e.js → ThemeColorRow-DThMA_v6.js} +4 -4
  98. package/dist/{ToggleBinding-C_ETNHjw.js → ToggleBinding-BXdn9i32.js} +4 -4
  99. package/dist/{UploadModal-a68SDujG.js → UploadModal-CMblLwJF.js} +3 -3
  100. package/dist/{VideoPlayerInput-BYSAwS7L.js → VideoPlayerInput-Dpan3me5.js} +4 -4
  101. package/dist/{VideoPlayerSettings-D3V2gSry.js → VideoPlayerSettings-Dmmoz0nE.js} +3 -3
  102. package/dist/{VideoSelectModal-Dn3TN3NV.js → VideoSelectModal-CrFgVTrD.js} +4 -4
  103. package/dist/{answerDocumentMixin-CozzyFa7.js → answerDocumentMixin-C13fhvoV.js} +3 -3
  104. package/dist/{debounce-CnPYS-_W.js → debounce-4B1-HP-3.js} +1 -1
  105. package/dist/{focusDrawerMixin-CiB44aXG.js → focusDrawerMixin-CctNs3Uo.js} +1 -1
  106. package/dist/{formDrawerState-CO7qXNW8.js → formDrawerState-DEg12QaL.js} +1 -1
  107. package/dist/{formValidationMixin-BXtoHoCy.js → formValidationMixin-DXSTeLwK.js} +1 -1
  108. package/dist/{index-BPYNIHxd.js → index-4BD0nKeD.js} +2 -2
  109. package/dist/{index-B3PmrNYn.js → index-BTvgCLOL.js} +1 -1
  110. package/dist/{index-UcGzLCrt.js → index-CtLvzhen.js} +9 -9
  111. package/dist/{index-DsEMDaBG.js → index-D7crCb7w.js} +1 -1
  112. package/dist/{index-bPTkvEgA.js → index-DfRihiRe.js} +9 -9
  113. package/dist/{index-D8YpyKsn.js → index-MnjQHyr1.js} +9 -9
  114. package/dist/index.es.js +3 -3
  115. package/dist/index.umd.js +126 -126
  116. package/dist/{main-Ce139LKO.js → main-DK3JrX1P.js} +5208 -5169
  117. package/dist/{mapFormMixin-BoMgFlS1.js → mapFormMixin-_bBfKoX9.js} +1 -1
  118. package/dist/{omit-CEjrqM9q.js → omit-CqikFKvF.js} +1 -1
  119. package/dist/{publicSenderState-DIGy7jwt.js → publicSenderState-DtdMgn5v.js} +1 -1
  120. package/dist/{simplebar.min-DU89S-Wt.js → simplebar.min-BEjSOYoR.js} +1 -1
  121. package/dist/style.css +2 -2
  122. package/dist/{throttle-B688yUfo.js → throttle-Bbw-Wnk7.js} +2 -2
  123. package/dist/{tinycolor-D12aEcKP.js → tinycolor-DxfarVSt.js} +1 -1
  124. package/dist/{tippy.esm-D_OE2Vna.js → tippy.esm-DQb1IUux.js} +6 -6
  125. package/dist/{utils-BxGV-o04.js → utils-DSw9IgIG.js} +1 -1
  126. package/dist/{vuedraggable.umd-DWuvjVEk.js → vuedraggable.umd-kqbjGStS.js} +1 -1
  127. package/package.json +7 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @cling-se/widget
2
+
3
+ ## 0.16.0 (2024-09-26)
4
+
5
+ ### Added
6
+
7
+ - Allows `style` attribute on `img` tags in the text editor.
8
+ - Adds `sv` locale based sort for `projects`, `articles`, `clients`, `fields` and `text-snippets`.
9
+
10
+ ### Fixed
11
+
12
+ - DocForm: Edit template save-button is now respects custom styling.
13
+ - DocForm: Navbar button contrast issues
@@ -0,0 +1,82 @@
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
+ ### Pre release
11
+
12
+ Add changes relevant to the widget **consumer** to `CHANGELOG.md` following the conventional changelog format
13
+
14
+ <details>
15
+ <summary>Example</summary>
16
+
17
+ ```markdown
18
+ ## major.minor.patch (yyyy-mm-dd)
19
+
20
+ ### Added
21
+
22
+ - Support for internationalization using i18next.
23
+ - New `getUserProfile` API to fetch user data.
24
+
25
+ ### Fixed
26
+
27
+ - Resolved issue where sorting didn't work for arrays with undefined values.
28
+ - Fixed broken pagination in the dashboard UI.
29
+
30
+ ### Changed
31
+
32
+ - Updated `vue-router` to v4.0.15 for better SSR support.
33
+
34
+ ### Deprecated
35
+
36
+ - Deprecated the `useOldAuth` method; use `useNewAuth` instead.
37
+
38
+ ### Removed
39
+
40
+ - Removed support for Node.js 12 (Node.js 14 or higher required).
41
+
42
+ ### Security
43
+
44
+ - Patched a security vulnerability related to JWT token validation.
45
+ ```
46
+
47
+ </details>
48
+
49
+ ### Publishing to NPM
50
+
51
+ **Bumping the version**
52
+
53
+ - Stand on `dev/master`. Using `dev` is fine as long as the branch is stable.
54
+ - Navigate to `widget/package.json` and change version according to semantic versioning (_see table below_)
55
+ - Commit and push version change to `dev/master`
56
+ - Commit message: `chore(widget): bumps version to <version>`
57
+
58
+ **Publishing**
59
+
60
+ - Navigate to root and run "pnpm widget:publish"
61
+ - If this step doesn't work due to windows paths or similar, and you're working directly in widget directory:
62
+ - `pnpm build`
63
+ - `pnpm publish`
64
+ - If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
65
+ - Post a message in **#cling-release-notes** channel:
66
+
67
+ New Cling Widget published <npmVersion>
68
+ - Specify your changes in a bullet list
69
+
70
+ ### Resources and definitions
71
+
72
+ <!-- Definition table -->
73
+ <details>
74
+ <summary>Semantic versioning definitions</summary>
75
+
76
+ | Version | Description |
77
+ | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
78
+ | 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_ |
79
+ | MINOR | When you add functionality in a backwards compatible manner. |
80
+ | PATCH | When you make backwards compatible bug fixes. |
81
+
82
+ </details>
package/README.md CHANGED
@@ -1,43 +1,14 @@
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 this step doesn't work due to windows paths or similar, and you're working directly in widget directory:
23
- - `pnpm build`
24
- - `pnpm publish`
25
- - If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
26
- - Post a message in **#cling-release-notes** channel:
27
-
28
- New Cling Widget published <npmVersion>
29
- - Specify your changes in a bullet list
30
-
31
- ### Resources and definitions
32
-
33
- <!-- Definition table -->
34
- <details>
35
- <summary>Semantic versioning definitions</summary>
36
-
37
- | Version | Description |
38
- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
39
- | 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_ |
40
- | MINOR | When you add functionality in a backwards compatible manner. |
41
- | PATCH | When you make backwards compatible bug fixes. |
42
-
43
- </details>
1
+ <h1 align="center" style="border-bottom: none">
2
+ <div>
3
+ <a href="https://developer.cling.se">
4
+ <img alt="Cling" src="https://developer.cling.se/logo.png" width="80">
5
+ <br>
6
+ </a>
7
+ Cling
8
+ </div>
9
+ </h1>
10
+
11
+ <p align="center">
12
+ <a href="https://cling.se/"><b>Website</b></a>
13
+ <a href="https://developer.cling.se/"><b>Documentation</b></a>
14
+ </p>
@@ -0,0 +1,14 @@
1
+ <h1 align="center" style="border-bottom: none">
2
+ <div>
3
+ <a href="https://developer.cling.se">
4
+ <img alt="Cling" src="https://developer.cling.se/logo.png" width="80">
5
+ <br>
6
+ </a>
7
+ Cling
8
+ </div>
9
+ </h1>
10
+
11
+ <p align="center">
12
+ <a href="https://cling.se/"><b>Website</b></a> •
13
+ <a href="https://developer.cling.se/"><b>Documentation</b></a>
14
+ </p>
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-BoMgFlS1.js";
2
- import { C as r } from "./CFormField-StE6rVJd.js";
3
- import { v as s, n as a } from "./main-Ce139LKO.js";
4
- import { C as i } from "./ClientAutocomplete-4Df5uKvw.js";
1
+ import { m as o } from "./mapFormMixin-_bBfKoX9.js";
2
+ import { C as r } from "./CFormField-CAu3ko8B.js";
3
+ import { v as s, n as a } from "./main-DK3JrX1P.js";
4
+ import { C as i } from "./ClientAutocomplete-DHipi8vn.js";
5
5
  const n = {
6
6
  i18nOptions: {
7
7
  namespaces: "components",
@@ -1,8 +1,8 @@
1
- import { m as ft } from "./mapFormMixin-BoMgFlS1.js";
2
- import { aF as Mt, W as Tt, h as Et, aG as Rt, v as kt, aH as $t, aI as Dt, n as ot, aJ as Ut, g as yt, e as At, T as Bt } from "./main-Ce139LKO.js";
1
+ import { m as ft } from "./mapFormMixin-_bBfKoX9.js";
2
+ import { aF as Mt, W as Tt, h as Et, aG as Rt, v as kt, aH as $t, aI as Dt, n as ot, aJ as Ut, g as yt, e as At, T as Bt } from "./main-DK3JrX1P.js";
3
3
  import { a as nt } from "./anime.es-BrPTThYb.js";
4
4
  import { a as Lt } from "./vuex.esm-DKGl8mcw.js";
5
- import { C as Nt } from "./CFormField-StE6rVJd.js";
5
+ import { C as Nt } from "./CFormField-CAu3ko8B.js";
6
6
  /*!
7
7
  * vue-qrcode v1.0.2
8
8
  * https://fengyuanchen.github.io/vue-qrcode
@@ -2877,7 +2877,7 @@ var jt = function() {
2877
2877
  Gt,
2878
2878
  !1,
2879
2879
  null,
2880
- "fb9cf054"
2880
+ "87ba47f3"
2881
2881
  );
2882
2882
  const Vt = Kt.exports, Jt = {
2883
2883
  name: "DenyAnswer",
@@ -3516,7 +3516,7 @@ var fe = function() {
3516
3516
  de,
3517
3517
  !1,
3518
3518
  null,
3519
- "e30cd56b"
3519
+ "388a42cf"
3520
3520
  );
3521
3521
  const pe = ge.exports, me = () => {
3522
3522
  const v = window.location.host.split(".");
@@ -3681,7 +3681,7 @@ var xe = function() {
3681
3681
  _e,
3682
3682
  !1,
3683
3683
  null,
3684
- "72836ca6"
3684
+ "374c61a2"
3685
3685
  );
3686
3686
  const Ee = Ce.exports, be = {
3687
3687
  components: {
@@ -3866,7 +3866,7 @@ var Pe = function() {
3866
3866
  Se,
3867
3867
  !1,
3868
3868
  null,
3869
- "67dcb365"
3869
+ "e9b32dd5"
3870
3870
  );
3871
3871
  const Re = Te.exports;
3872
3872
  export {
@@ -1,7 +1,7 @@
1
- import a from "./Index-iFplVghW.js";
2
- import { C as r, a as i } from "./CDropdownItem-DrUNsF-M.js";
3
- import { C as s } from "./CFormField-StE6rVJd.js";
4
- import { n as o } from "./main-Ce139LKO.js";
1
+ import a from "./Index-CF2U1V_D.js";
2
+ import { C as r, a as i } from "./CDropdownItem-D9qExYxr.js";
3
+ import { C as s } from "./CFormField-CAu3ko8B.js";
4
+ import { n as o } from "./main-DK3JrX1P.js";
5
5
  const c = {
6
6
  name: "AttachmentsItem",
7
7
  components: {
@@ -77,7 +77,7 @@ var l = function() {
77
77
  m,
78
78
  !1,
79
79
  null,
80
- "d81b17eb"
80
+ "c5ae40b5"
81
81
  );
82
82
  const _ = u.exports;
83
83
  export {
@@ -1,5 +1,5 @@
1
- import { ac as ki, ad as vi, l as Mi, n as Si, j as bi, as as Yi, at as Oi, aj as xi } from "./main-Ce139LKO.js";
2
- import { w as Ti } from "./CDropdownItem-DrUNsF-M.js";
1
+ import { ac as ki, ad as vi, l as Mi, n as Si, j as bi, as as Yi, at as Oi, aj as xi } from "./main-DK3JrX1P.js";
2
+ import { w as Ti } from "./CDropdownItem-D9qExYxr.js";
3
3
  var fs = { exports: {} };
4
4
  //! moment.js
5
5
  //! version : 2.29.4
@@ -1,4 +1,4 @@
1
- import { ad as Ue, l as De, n as $e, an as ye, W as ve } from "./main-Ce139LKO.js";
1
+ import { ad as Ue, l as De, n as $e, an as ye, W as ve } from "./main-DK3JrX1P.js";
2
2
  /*!
3
3
  * Compressor.js v1.1.1
4
4
  * https://fengyuanchen.github.io/compressorjs
@@ -1697,7 +1697,7 @@ const Ve = /* @__PURE__ */ De(Ye), Qe = {
1697
1697
  name: "BaseUpload",
1698
1698
  components: {
1699
1699
  FileUpload: Ve,
1700
- UploadModal: () => import("./UploadModal-a68SDujG.js")
1700
+ UploadModal: () => import("./UploadModal-CMblLwJF.js")
1701
1701
  },
1702
1702
  props: {
1703
1703
  // Optional function to handle any errors
@@ -1969,7 +1969,7 @@ var Ze = function() {
1969
1969
  et,
1970
1970
  !1,
1971
1971
  null,
1972
- "fbb556fb"
1972
+ "7d0db589"
1973
1973
  );
1974
1974
  const nt = tt.exports;
1975
1975
  export {
@@ -1,5 +1,5 @@
1
1
  import { g as d } from "./color-TdtKxwVa.js";
2
- import { n, b as i, G as c } from "./main-Ce139LKO.js";
2
+ import { n, b as i, G as c } from "./main-DK3JrX1P.js";
3
3
  const u = {
4
4
  name: "BlockMedia",
5
5
  inject: {
@@ -68,7 +68,7 @@ var m = function() {
68
68
  p,
69
69
  !1,
70
70
  null,
71
- "020e4498"
71
+ "0b04f7d1"
72
72
  );
73
73
  const g = v.exports;
74
74
  export {
@@ -1,4 +1,4 @@
1
- import { n as a, k as s } from "./main-Ce139LKO.js";
1
+ import { n as a, k as s } from "./main-DK3JrX1P.js";
2
2
  const i = {
3
3
  name: "CCallout",
4
4
  components: {
@@ -50,7 +50,7 @@ var l = function() {
50
50
  n,
51
51
  !1,
52
52
  null,
53
- "fa2899aa"
53
+ "2e9e865c"
54
54
  );
55
55
  const u = r.exports;
56
56
  export {
@@ -1,6 +1,6 @@
1
- import { C as t, a as l } from "./CDropdownItem-DrUNsF-M.js";
2
- import { n as s, j as u, r as i } from "./main-Ce139LKO.js";
3
- import { S as c } from "./SmartList-6LB8RlXJ.js";
1
+ import { C as t, a as l } from "./CDropdownItem-D9qExYxr.js";
2
+ import { n as s, j as u, r as i } from "./main-DK3JrX1P.js";
3
+ import { S as c } from "./SmartList-_z7XCf7a.js";
4
4
  const d = {
5
5
  AED: "United Arab Emirates Dirham",
6
6
  AFN: "Afghan Afghani",
@@ -242,7 +242,7 @@ var S = function() {
242
242
  C,
243
243
  !1,
244
244
  null,
245
- "dea600c8"
245
+ "961b773a"
246
246
  );
247
247
  const y = m.exports;
248
248
  export {
@@ -1,4 +1,4 @@
1
- import { V as f, l as m, n as p } from "./main-Ce139LKO.js";
1
+ import { V as f, l as m, n as p } from "./main-DK3JrX1P.js";
2
2
  class b {
3
3
  constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
4
4
  this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
@@ -489,7 +489,7 @@ var I = function() {
489
489
  z,
490
490
  !1,
491
491
  null,
492
- "86121513"
492
+ "4cdd239d"
493
493
  );
494
494
  const P = V.exports, R = {
495
495
  name: "CDropdownItem",
@@ -1,4 +1,4 @@
1
- import { n as i, aa as l } from "./main-Ce139LKO.js";
1
+ import { n as i, aa as l } from "./main-DK3JrX1P.js";
2
2
  const n = {
3
3
  name: "CFieldBody",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { A as e, B as o, n } from "./main-Ce139LKO.js";
1
+ import { A as e, B as o, n } from "./main-DK3JrX1P.js";
2
2
  const r = {
3
3
  name: "CPhoneFormat",
4
4
  props: {
@@ -1,8 +1,8 @@
1
- import { n as o, j as u, k as c } from "./main-Ce139LKO.js";
2
- import { C as d, a as h } from "./CDropdownItem-DrUNsF-M.js";
3
- import { a as p } from "./CFormField-StE6rVJd.js";
4
- import { F as f } from "./Flag-DN4O9czy.js";
5
- import { S as g } from "./SmartList-6LB8RlXJ.js";
1
+ import { n as o, j as u, k as c } from "./main-DK3JrX1P.js";
2
+ import { C as d, a as h } from "./CDropdownItem-D9qExYxr.js";
3
+ import { a as p } from "./CFormField-CAu3ko8B.js";
4
+ import { F as f } from "./Flag-BNvniHuq.js";
5
+ import { S as g } from "./SmartList-_z7XCf7a.js";
6
6
  import { r as n } from "./regions-BdZt9Srn.js";
7
7
  const m = {
8
8
  name: "CPhoneInput",
@@ -1,5 +1,5 @@
1
- import { C as i } from "./CCurrencyDropdown-BDHwtlZD.js";
2
- import { n as s, j as u, r as a } from "./main-Ce139LKO.js";
1
+ import { C as i } from "./CCurrencyDropdown-B4r3UK5p.js";
2
+ import { n as s, j as u, r as a } from "./main-DK3JrX1P.js";
3
3
  const o = {
4
4
  name: "CPriceInput",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { n as r, F as c } from "./main-Ce139LKO.js";
1
+ import { n as r, F as c } from "./main-DK3JrX1P.js";
2
2
  const u = {
3
3
  name: "CSelect",
4
4
  mixins: [c],
@@ -62,7 +62,7 @@ const u = {
62
62
  }
63
63
  }
64
64
  };
65
- var d = function() {
65
+ var o = function() {
66
66
  var e = this, i = e._self._c;
67
67
  return i("div", { staticClass: "control", class: { "is-expanded": e.expanded, "has-icons-left": e.icon } }, [i("span", { staticClass: "select", class: e.spanClasses }, [i("select", e._b({ directives: [{ name: "model", rawName: "v-model", value: e.computedValue, expression: "computedValue" }], ref: "select", class: e.selectClass, attrs: { multiple: e.multiple, size: e.nativeSize }, on: { blur: function(t) {
68
68
  e.$emit("blur", t) && e.checkHtml5Validity();
@@ -77,13 +77,13 @@ var d = function() {
77
77
  });
78
78
  e.computedValue = t.target.multiple ? a : a[0];
79
79
  } } }, "select", e.$attrs, !1), [e.placeholder && e.computedValue == null ? i("option", { attrs: { disabled: "", hidden: "" }, domProps: { value: null } }, [e._v(" " + e._s(e.placeholder) + " ")]) : e._e(), e._t("default")], 2)])]);
80
- }, o = [], p = /* @__PURE__ */ r(
80
+ }, d = [], p = /* @__PURE__ */ r(
81
81
  u,
82
- d,
83
82
  o,
83
+ d,
84
84
  !1,
85
85
  null,
86
- "5cf2c0d1"
86
+ "23e48013"
87
87
  );
88
88
  const h = p.exports;
89
89
  export {
@@ -1,4 +1,4 @@
1
- import { u as m, w as y, x as u, y as h, n as C } from "./main-Ce139LKO.js";
1
+ import { u as m, w as y, x as u, y as h, n as C } from "./main-DK3JrX1P.js";
2
2
  const k = /* @__PURE__ */ m({
3
3
  __name: "CSkeleton",
4
4
  props: {
@@ -1,6 +1,6 @@
1
- import { S as c } from "./SearchApi--8XC1sYG.js";
2
- import { n as l, j as a, F as d, ab as h } from "./main-Ce139LKO.js";
3
- import { c as u, r as p, g as f } from "./CDropdownItem-DrUNsF-M.js";
1
+ import { S as c } from "./SearchApi-BnxpIqz-.js";
2
+ import { n as l, j as a, F as d, ab as h } from "./main-DK3JrX1P.js";
3
+ import { c as u, r as p, g as f } from "./CDropdownItem-D9qExYxr.js";
4
4
  const m = {
5
5
  name: "CAutocomplete",
6
6
  components: {
@@ -429,10 +429,10 @@ var _ = function() {
429
429
  S,
430
430
  !1,
431
431
  null,
432
- "94f7a2c5"
432
+ "b24e2ce6"
433
433
  );
434
- const A = $.exports;
434
+ const b = $.exports;
435
435
  export {
436
- A as C,
436
+ b as C,
437
437
  k as a
438
438
  };
@@ -1,11 +1,11 @@
1
- import { C as v } from "./ClientAutocomplete-4Df5uKvw.js";
2
- import { n as d, ai as y, M as p, al as C, t as b, I as _, b as l, d as $, c as x, g as m, am as w, ab as k } from "./main-Ce139LKO.js";
3
- import { C as S, a as N, w as f } from "./CDropdownItem-DrUNsF-M.js";
4
- import { C as I } from "./CFormField-StE6rVJd.js";
5
- import { C as F } from "./CPhoneInput-C6udgFv4.js";
6
- import { v as r } from "./index-DsEMDaBG.js";
1
+ import { C as v } from "./ClientAutocomplete-DHipi8vn.js";
2
+ import { n as c, ai as y, M as p, al as C, t as b, I as _, b as l, d as $, c as x, g as m, am as w, ab as k } from "./main-DK3JrX1P.js";
3
+ import { C as S, a as N, w as f } from "./CDropdownItem-D9qExYxr.js";
4
+ import { C as I } from "./CFormField-CAu3ko8B.js";
5
+ import { C as F } from "./CPhoneInput-ChuZrAQD.js";
6
+ import { v as r } from "./index-D7crCb7w.js";
7
7
  import { m as g, b as M, a as R } from "./vuex.esm-DKGl8mcw.js";
8
- import { o as z } from "./omit-CEjrqM9q.js";
8
+ import { o as z } from "./omit-CqikFKvF.js";
9
9
  const O = {
10
10
  name: "CRadio",
11
11
  mixins: [y]
@@ -19,7 +19,7 @@ var q = function() {
19
19
  }, change: function(i) {
20
20
  e.computedValue = e.nativeValue;
21
21
  } } }), t("span", { staticClass: "check", class: `is-${e.type}` }), t("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
22
- }, A = [], D = /* @__PURE__ */ d(
22
+ }, A = [], D = /* @__PURE__ */ c(
23
23
  O,
24
24
  q,
25
25
  A,
@@ -44,7 +44,7 @@ function u(a) {
44
44
  let e = a.replace(/ /g, "");
45
45
  return e = e.replace(/-/g, ""), !h(e) || (e = [e.slice(0, 6), "-", e.slice(6)].join(""), !e.match(/^(\d{6})-(\d{4})$/)) ? !1 : e;
46
46
  }
47
- function c(a) {
47
+ function d(a) {
48
48
  if (typeof a > "u" || a === null || a === "")
49
49
  return !1;
50
50
  let e = a.trim().replace(/[^0-9]+/g, "");
@@ -244,7 +244,7 @@ const B = {
244
244
  ].some((e) => !!e) ? {
245
245
  orgNo: {
246
246
  personalNumber(e) {
247
- return !this.validateOrgNo || !e ? !0 : this.isIndivid ? c(e) : u(e) || c(e);
247
+ return !this.validateOrgNo || !e ? !0 : this.isIndivid ? d(e) : u(e) || d(e);
248
248
  }
249
249
  },
250
250
  reference: {
@@ -321,7 +321,7 @@ const B = {
321
321
  return this.realOrgNo;
322
322
  },
323
323
  set(a) {
324
- const e = this.isIndivid ? c(a) : u(a) || c(a);
324
+ const e = this.isIndivid ? d(a) : u(a) || d(a);
325
325
  return this.validateOrgNo && e ? (this.realOrgNo = e, !0) : (this.realOrgNo = a, !0);
326
326
  }
327
327
  },
@@ -431,13 +431,13 @@ var W = function() {
431
431
  });
432
432
  } } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`signMethod.${i}.title`)))]), t("div", { staticClass: "max-w-[calc(12_*_var(--rem))] truncate", staticStyle: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" } }, [e._v(" " + e._s(e.$t(`signMethod.${i}.content`)) + " ")])])]);
433
433
  }), 1)], 1) : e._e()]) : e._e(), t("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("CButton", { staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0, 0, 0, 0.1)" }, attrs: { loading: e.isPosting, type: "secondary", wide: "" }, on: { click: e.validateForm } }, [e._v(e._s(e.$t("updateButton")))])], 1)], 1)]);
434
- }, T = [], L = /* @__PURE__ */ d(
434
+ }, T = [], L = /* @__PURE__ */ c(
435
435
  E,
436
436
  W,
437
437
  T,
438
438
  !1,
439
439
  null,
440
- "048c074e"
440
+ "3ff2febb"
441
441
  );
442
442
  const j = L.exports, { mapFields: Z } = p({
443
443
  getterType: "forms/getField",
@@ -647,7 +647,7 @@ var Y = function() {
647
647
  }, submit: e.onSave, "show-more": function(i) {
648
648
  e.showMore = !0;
649
649
  } } }), e.existsOnDocument && e.mq === "sm" ? t("CButton", { staticClass: "mt-4 text-sm", attrs: { type: "danger", pattern: "secondary", wide: "" }, on: { click: e.removeClient } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")]) : e._e()], 1)]);
650
- }, G = [], H = /* @__PURE__ */ d(
650
+ }, G = [], H = /* @__PURE__ */ c(
651
651
  U,
652
652
  Y,
653
653
  G,
@@ -1,4 +1,4 @@
1
- import { ad as ht, n as bt } from "./main-Ce139LKO.js";
1
+ import { ad as ht, n as bt } from "./main-DK3JrX1P.js";
2
2
  var vt = { exports: {} };
3
3
  (function(gt, Ct) {
4
4
  (function(c, i) {
@@ -2871,7 +2871,7 @@ var yt = /* @__PURE__ */ bt(
2871
2871
  wt,
2872
2872
  !1,
2873
2873
  null,
2874
- "d5b1f2a4"
2874
+ "c60bd4ad"
2875
2875
  );
2876
2876
  const Ft = yt.exports;
2877
2877
  export {
@@ -1,10 +1,10 @@
1
- import { C as r } from "./CFormField-StE6rVJd.js";
2
- import { C as l } from "./CPhoneInput-C6udgFv4.js";
3
- import { w as c } from "./CDropdownItem-DrUNsF-M.js";
4
- import { M as p, g as s, n as d } from "./main-Ce139LKO.js";
5
- import { v as o } from "./index-DsEMDaBG.js";
1
+ import { C as r } from "./CFormField-CAu3ko8B.js";
2
+ import { C as l } from "./CPhoneInput-ChuZrAQD.js";
3
+ import { w as c } from "./CDropdownItem-D9qExYxr.js";
4
+ import { M as p, g as s, n as d } from "./main-DK3JrX1P.js";
5
+ import { v as o } from "./index-D7crCb7w.js";
6
6
  import { m as u, b as n, a as f } from "./vuex.esm-DKGl8mcw.js";
7
- import { s as m, a as y } from "./publicSenderState-DIGy7jwt.js";
7
+ import { s as m, a as y } from "./publicSenderState-DtdMgn5v.js";
8
8
  const { mapFields: h } = p({
9
9
  getterType: "forms/getField",
10
10
  mutationType: "forms/updateField"
@@ -139,7 +139,7 @@ var g = function() {
139
139
  _,
140
140
  !1,
141
141
  null,
142
- "c6483ac9"
142
+ "81c1ebb3"
143
143
  );
144
144
  const M = b.exports;
145
145
  export {
@@ -1,8 +1,8 @@
1
- import { m as s } from "./mapFormMixin-BoMgFlS1.js";
2
- import { B as r } from "./BlockMedia-CvcOH50p.js";
3
- import { t as l } from "./tinycolor-D12aEcKP.js";
4
- import { T as i } from "./DocTextEditor-DXEgaHPn.js";
5
- import { n, ah as c, H as u, K as p, J as m } from "./main-Ce139LKO.js";
1
+ import { m as s } from "./mapFormMixin-_bBfKoX9.js";
2
+ import { B as r } from "./BlockMedia-B7df7mkZ.js";
3
+ import { t as l } from "./tinycolor-DxfarVSt.js";
4
+ import { T as i } from "./DocTextEditor-CHSTTDb5.js";
5
+ import { n, ah as c, H as u, K as p, J as m } from "./main-DK3JrX1P.js";
6
6
  import { i as d } from "./i18nMessages-Chz_lxGG.js";
7
7
  const f = {
8
8
  name: "StaticComboLayout",
@@ -24,7 +24,7 @@ var _ = function() {
24
24
  y,
25
25
  !1,
26
26
  null,
27
- "430dee73"
27
+ "8e41c57b"
28
28
  );
29
29
  const h = x.exports, v = {
30
30
  name: "StaticLayout",
@@ -33,7 +33,7 @@ const h = x.exports, v = {
33
33
  messages: d
34
34
  },
35
35
  components: {
36
- DocumentLogotype: () => import("./DocumentLogotype-CVpFKbZI.js"),
36
+ DocumentLogotype: () => import("./DocumentLogotype-DweKx9A7.js"),
37
37
  StaticComboLayout: h,
38
38
  TextEditor: i
39
39
  },
@@ -129,7 +129,7 @@ var g = function() {
129
129
  T,
130
130
  !1,
131
131
  null,
132
- "3129d902"
132
+ "a4b43835"
133
133
  );
134
134
  const C = b.exports, S = {
135
135
  name: "ContentWrapper",
@@ -183,7 +183,7 @@ var w = function() {
183
183
  k,
184
184
  !1,
185
185
  null,
186
- "62c6ef68"
186
+ "3dfe0998"
187
187
  );
188
188
  const j = $.exports;
189
189
  export {