@cling-se/widget 0.15.3 → 0.15.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.
- package/README.md +43 -43
- package/dist/{AddClientCallout-8s5a1_CZ.js → AddClientCallout-CrZF5j7A.js} +15 -13
- package/dist/{AnswerModal-Cnp43tGo.js → AnswerModal-C3r9vyki.js} +71 -71
- package/dist/{AttachmentItem-BP85gcjP.js → AttachmentItem-BVXrxCnv.js} +17 -12
- package/dist/{BaseDatePicker-C27CsTzy.js → BaseDatePicker-DxL2l3QC.js} +2 -2
- package/dist/{BaseUpload-DnhS3hGx.js → BaseUpload-B7259IaQ.js} +3 -3
- package/dist/{BlockMedia-D4nhek2s.js → BlockMedia-BSKtZMwa.js} +2 -2
- package/dist/{CCallout-CQjRcxpC.js → CCallout-BNvM6gNJ.js} +4 -5
- package/dist/{CCurrencyDropdown-BT01qBGg.js → CCurrencyDropdown-xmqmb8gW.js} +4 -4
- package/dist/{CDropdownItem-BSPNul90.js → CDropdownItem-DiLisSei.js} +139 -37
- package/dist/{CFormField-Cz_jNazS.js → CFormField-DcZVdj3a.js} +3 -4
- package/dist/{CPhoneFormat-C017AoM0.js → CPhoneFormat-BeYxRN0i.js} +1 -1
- package/dist/CPhoneInput-UzZkxbC6.js +138 -0
- package/dist/{CPriceInput-jktMjvwx.js → CPriceInput-C2y_3PM7.js} +2 -2
- package/dist/CSelect-BmP1UsQA.js +91 -0
- package/dist/CSkeleton-BNbft-NE.js +55 -0
- package/dist/ClientAutocomplete-BnredOme.js +438 -0
- package/dist/{ClientModal-DLtFhJya.js → ClientModal-DNcf4APF.js} +77 -42
- package/dist/{ColorPicker-MQmVGbvm.js → ColorPicker-BupC4jvI.js} +2 -2
- package/dist/{CompanyModal-Qx5xMku0.js → CompanyModal-Bh8mEHE1.js} +25 -19
- package/dist/{ContentWrapper-B9NQqp2q.js → ContentWrapper-Bs3nrJda.js} +11 -11
- package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
- package/dist/{DocAnswer-BlxFv_Gc.js → DocAnswer--FfsnnTB.js} +2 -2
- package/dist/{DocDetails-dGcYGJpp.js → DocDetails-Ce7bj-qO.js} +10 -10
- package/dist/{DocForm-C6o_XBcW.js → DocForm-FR_Vlq_C.js} +512 -498
- package/dist/{DocFormSend-_prtxNIf.js → DocFormSend-DcSv3JNg.js} +14 -15
- package/dist/{DocLinks-Dp495SCS.js → DocLinks-Bvhc62aJ.js} +2 -2
- package/dist/{DocModalBase-B0wYq3ft.js → DocModalBase-DkfUBRi3.js} +2 -2
- package/dist/{DocPrint-CURxofeU.js → DocPrint-BrKY6rOy.js} +3 -3
- package/dist/{DocReceipt-DgGcBRVH.js → DocReceipt-oGrM6t_k.js} +25 -20
- package/dist/{DocSendReminder-CPty4svi.js → DocSendReminder-veEC_yHK.js} +19 -16
- package/dist/{DocTextEditor-BYsXFRLg.js → DocTextEditor-CNRwxPEx.js} +13 -15
- package/dist/{DocTimeline-CHg1QykR.js → DocTimeline-e2Xf_QZ7.js} +36 -34
- package/dist/{DocumentClient-CZ6N73pQ.js → DocumentClient-Dx4Uyxkh.js} +5 -5
- package/dist/{DocumentLayout-CiszuoQc.js → DocumentLayout-DmjmsTcx.js} +1503 -1539
- package/dist/{DocumentLogotype-BgFCWcwC.js → DocumentLogotype-ddYHM9wn.js} +18 -15
- package/dist/{DocumentVoided-DT2hhHk2.js → DocumentVoided-WCk7XuxH.js} +1 -1
- package/dist/{EmbedInput-aLmvzK1I.js → EmbedInput-CMueXdFs.js} +25 -21
- package/dist/{EmbedSettings-BZipciy9.js → EmbedSettings-BRuLCWr0.js} +13 -11
- package/dist/{ErrorCallout-CNxSDsr_.js → ErrorCallout-CDtZceLU.js} +6 -6
- package/dist/{FilePreviewModal-DxdksQiy.js → FilePreviewModal-BzAUuY58.js} +3 -3
- package/dist/Flag-DkJgyDQK.js +46 -0
- package/dist/{HeaderSettings-DeoSRi6O.js → HeaderSettings-CoKK5Mbt.js} +155 -110
- package/dist/{ImageSelectModal-DvQz2VPi.js → ImageSelectModal-De64vGSr.js} +6 -6
- package/dist/{ImageUploadWrapper-CNQRdHF9.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
- package/dist/{Index-PUFeH_1z.js → Index-50KxppUS.js} +4 -4
- package/dist/{Index-FC1UsElU.js → Index-B7vVIRFn.js} +7 -7
- package/dist/{Index-Cfc0Q0AG.js → Index-BUQ75xOU.js} +6 -6
- package/dist/{Index-CWj2vDHc.js → Index-BVKCCkQY.js} +49 -44
- package/dist/{Index-BglKAnNq.js → Index-BiGT3iEX.js} +7 -7
- package/dist/{Index-B3Q09phm.js → Index-BoDKKVvL.js} +4 -4
- package/dist/{Index-Ch5j2tqD.js → Index-BotY9nbP.js} +2 -2
- package/dist/{Index-D-l3i9vY.js → Index-BwaJW9CY.js} +3 -3
- package/dist/{Index-BIv8flFB.js → Index-ByqCyUgx.js} +9 -9
- package/dist/{Index-B9_POjpY.js → Index-C7pge7E9.js} +23 -21
- package/dist/{Index-CJeSVpRh.js → Index-CBRJ-AZi.js} +2 -2
- package/dist/{Index-CePHdKi2.js → Index-CFQMtx5w.js} +5 -5
- package/dist/{Index-CXibuEkU.js → Index-CJKyHWiO.js} +15 -15
- package/dist/{Index-BDCgilFk.js → Index-CK_5l1kP.js} +2 -2
- package/dist/{Index-jIIHHGh3.js → Index-CLc_11Bc.js} +489 -471
- package/dist/{Index-D1NwTUs-.js → Index-CTokKHJA.js} +5 -5
- package/dist/Index-Cf45UGbc.js +28 -0
- package/dist/{Index-CjfCyQlB.js → Index-CfLPq-yA.js} +5 -5
- package/dist/{Index-CTk6Nh-I.js → Index-Ci7y3O0G.js} +7 -7
- package/dist/{Index-BEpKb8IR.js → Index-CmV8oF4Q.js} +4 -4
- package/dist/{Index-C-CE21WK.js → Index-CoRuYEYW.js} +5 -5
- package/dist/{Index-S3LqU0A0.js → Index-CtKNyVUB.js} +12 -10
- package/dist/{Index-BiVwDgqW.js → Index-DCf6_Zd2.js} +2 -2
- package/dist/{Index-3bD76d9q.js → Index-DGdlZzVO.js} +7 -7
- package/dist/{Index-CTqdaykO.js → Index-DbKB8sTh.js} +18 -12
- package/dist/{Index-BNJ2KHKc.js → Index-DgBOq2MJ.js} +3 -3
- package/dist/{Index-BeMeWDIf.js → Index-DvNxOHHu.js} +6 -6
- package/dist/{Index-CvRNeJ4U.js → Index-M2Mce2_m.js} +124 -123
- package/dist/{Index-CDKq7Fx6.js → Index-QMkjG7hk.js} +4 -4
- package/dist/{Index-q04Dwxrr.js → Index-QmX5pv-V.js} +7 -7
- package/dist/{Index-w5DWfGOc.js → Index-h5xDFYM9.js} +4 -4
- package/dist/{Index-CPjAXBMU.js → Index-hkGYloih.js} +5 -5
- package/dist/{Index-B0n1UOOA.js → Index-q3gLm4b1.js} +6 -6
- package/dist/{Index-BjdxeF4C.js → Index-sqI1TF7Z.js} +2 -2
- package/dist/{InputToggleRow-CvHvRdsn.js → InputToggleRow-DLFIMIdx.js} +2 -2
- package/dist/{ManualPopover-DxE-6-Sp.js → ManualPopover-Cf8DotlW.js} +1 -1
- package/dist/{MediaWrapper-DNi80fbw.js → MediaWrapper-BgWmA3kS.js} +3 -3
- package/dist/{NotBindingText-D2rYFVxr.js → NotBindingText-DhsHxvkX.js} +2 -2
- package/dist/{PackageGroup-6ar8HjPo.js → PackageGroup-EbOSxv69.js} +26 -20
- package/dist/PdfTerms-im6uTd5E.js +31 -0
- package/dist/{PdfViewer-B5qbLLtd.js → PdfViewer-DY0rcZjo.js} +5 -5
- package/dist/{PlainHtml-CIMtcn2F.js → PlainHtml-o031pfp-.js} +1 -1
- package/dist/{PriceHeader-BSpj_-5M.js → PriceHeader-NdFa0Sqs.js} +15 -15
- package/dist/{SearchApi-Cwgf52EV.js → SearchApi-Bw5E9IPj.js} +2 -2
- package/dist/SendForm-BDY5VDkS.js +1023 -0
- package/dist/{Setup-CRmiH9lD.js → Setup-BsYqPmOm.js} +1 -1
- package/dist/{SmartList-D6AvxfSL.js → SmartList-CP2wHig-.js} +1 -1
- package/dist/{TermsSettings-DEO1O460.js → TermsSettings-CUlSayCJ.js} +17 -12
- package/dist/{ThemeColorRow-Cy1NKEIG.js → ThemeColorRow-D3fav4Sl.js} +4 -4
- package/dist/{ToggleBinding-BvIUt1Jx.js → ToggleBinding-B715OVl2.js} +12 -10
- package/dist/{UploadModal-C1j-GeMD.js → UploadModal-THDJ-UNp.js} +6 -6
- package/dist/{VideoPlayerInput-BmbrquN6.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
- package/dist/{VideoPlayerSettings-B7HpBoWX.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
- package/dist/{VideoSelectModal-CeaG2tME.js → VideoSelectModal-CzO8EMg9.js} +4 -4
- package/dist/{answerDocumentMixin-AcDG8Byi.js → answerDocumentMixin-D12xJRhx.js} +3 -3
- package/dist/{debounce-HJoaSvIY.js → debounce-DLiv1sQX.js} +16 -16
- package/dist/{focusDrawerMixin-CBYjpEGL.js → focusDrawerMixin-khaScuSu.js} +1 -1
- package/dist/{formDrawerState-DYSBcjo4.js → formDrawerState-CJ6kjaD_.js} +1 -1
- package/dist/{formValidationMixin-Dqlhg0R2.js → formValidationMixin-Bri1WflH.js} +1 -1
- package/dist/{index-zzCfHTf8.js → index-B0Zu30kF.js} +2 -2
- package/dist/{index-CFx0cpeM.js → index-C1Ngv-v3.js} +1 -1
- package/dist/{index-CKZmpLr6.js → index-CMT3coT-.js} +781 -2021
- package/dist/{index-CLOsPxCh.js → index-DJOUQneq.js} +35 -33
- package/dist/{index-CFwLDxbi.js → index-DLa3QER7.js} +18 -17
- package/dist/{index-CFe1BJZJ.js → index-Dygy9XlG.js} +1 -1
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +177 -173
- package/dist/{main-BIwKzAN8.js → main-U22_wtg0.js} +13008 -11358
- package/dist/{mapFormMixin-e2PJ431T.js → mapFormMixin-BZf4RJIE.js} +1 -1
- package/dist/omit-RBXmF_Fo.js +31 -0
- package/dist/{publicSenderState-D-_7UwjT.js → publicSenderState-DKuvxj4_.js} +1 -1
- package/dist/regions-BdZt9Srn.js +1250 -0
- package/dist/simplebar.min-Bnrne5ZK.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{throttle-B2yMLA5N.js → throttle-Fkuqk26x.js} +2 -2
- package/dist/{tinycolor-vIxz4Xgi.js → tinycolor-BZ8wGctU.js} +1 -1
- package/dist/{tippy.esm-DiOYviyf.js → tippy.esm-BJe845c1.js} +208 -206
- package/dist/{utils-CFXqaEy7.js → utils-BOWVR87A.js} +1 -1
- package/dist/{vuedraggable.umd-DDT8qZBI.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
- package/package.json +2 -11
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-B3z6RPXr.js +0 -82
- package/dist/CoverBlockSettings-Bcz_W5I3.js +0 -275
- package/dist/Flag-3OyFDPsP.js +0 -114
- package/dist/Index-Cr6DlYGN.js +0 -21
- package/dist/PdfTerms-B-lbU_6H.js +0 -36
- package/dist/formComponentsInstall-DMoWrprH.js +0 -2505
- package/dist/omit-CpamclWf.js +0 -31
package/README.md
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
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
|
+
# 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,14 +1,16 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { C as
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
1
|
+
import { m as o } from "./mapFormMixin-BZf4RJIE.js";
|
|
2
|
+
import { C as r } from "./CFormField-DcZVdj3a.js";
|
|
3
|
+
import { v as s, n as a } from "./main-U22_wtg0.js";
|
|
4
|
+
import { C as i } from "./ClientAutocomplete-BnredOme.js";
|
|
5
|
+
const n = {
|
|
5
6
|
i18nOptions: {
|
|
6
7
|
namespaces: "components",
|
|
7
8
|
keyPrefix: "account.documentForm.clients"
|
|
8
9
|
},
|
|
9
10
|
name: "AddClientCallout",
|
|
10
11
|
components: {
|
|
11
|
-
ClientAutocomplete:
|
|
12
|
+
ClientAutocomplete: i,
|
|
13
|
+
CField: r
|
|
12
14
|
},
|
|
13
15
|
mixins: [o([])],
|
|
14
16
|
props: {
|
|
@@ -19,28 +21,28 @@ const a = {
|
|
|
19
21
|
},
|
|
20
22
|
computed: {
|
|
21
23
|
showSearch() {
|
|
22
|
-
return
|
|
24
|
+
return s.value !== "widget" && !this.viewSettings.isPublicForm;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
|
-
var
|
|
28
|
+
var l = function() {
|
|
27
29
|
var t = this, e = t._self._c;
|
|
28
30
|
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
31
|
"--stripe-1": "hsl(var(--gray-color-50))",
|
|
30
32
|
"--stripe-2": "hsl(var(--gray-color-100))",
|
|
31
33
|
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(
|
|
34
|
+
} }, [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(d) {
|
|
33
35
|
return t.$emit("add");
|
|
34
36
|
} } }, [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
|
-
},
|
|
36
|
-
a,
|
|
37
|
-
i,
|
|
37
|
+
}, c = [], p = /* @__PURE__ */ a(
|
|
38
38
|
n,
|
|
39
|
+
l,
|
|
40
|
+
c,
|
|
39
41
|
!1,
|
|
40
42
|
null,
|
|
41
43
|
null
|
|
42
44
|
);
|
|
43
|
-
const
|
|
45
|
+
const g = p.exports;
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
g as default
|
|
46
48
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as ft } from "./mapFormMixin-
|
|
2
|
-
import {
|
|
1
|
+
import { m as ft } from "./mapFormMixin-BZf4RJIE.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-U22_wtg0.js";
|
|
3
3
|
import { a as nt } from "./anime.es-BrPTThYb.js";
|
|
4
|
-
import { a as
|
|
5
|
-
import { C as
|
|
4
|
+
import { a as Lt } from "./vuex.esm-DKGl8mcw.js";
|
|
5
|
+
import { C as Nt } from "./CFormField-DcZVdj3a.js";
|
|
6
6
|
/*!
|
|
7
7
|
* vue-qrcode v1.0.2
|
|
8
8
|
* https://fengyuanchen.github.io/vue-qrcode
|
|
@@ -15,10 +15,10 @@ import { C as Lt } from "./CFormField-Cz_jNazS.js";
|
|
|
15
15
|
function gt() {
|
|
16
16
|
throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs");
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ot(v, r) {
|
|
19
19
|
return r = { exports: {} }, v(r, r.exports), r.exports;
|
|
20
20
|
}
|
|
21
|
-
var xt =
|
|
21
|
+
var xt = Ot(function(v, r) {
|
|
22
22
|
(function(n) {
|
|
23
23
|
v.exports = n();
|
|
24
24
|
})(function() {
|
|
@@ -2146,7 +2146,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2146
2146
|
var c = o.length;
|
|
2147
2147
|
(!t || t < 0) && (t = 0), (!e || e < 0 || e > c) && (e = c);
|
|
2148
2148
|
for (var w = "", P = t; P < e; ++P)
|
|
2149
|
-
w +=
|
|
2149
|
+
w += It[o[P]];
|
|
2150
2150
|
return w;
|
|
2151
2151
|
}
|
|
2152
2152
|
function mt(o, t, e) {
|
|
@@ -2447,7 +2447,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2447
2447
|
function wt(o) {
|
|
2448
2448
|
return o !== o;
|
|
2449
2449
|
}
|
|
2450
|
-
var
|
|
2450
|
+
var It = function() {
|
|
2451
2451
|
for (var o = "0123456789abcdef", t = new Array(256), e = 0; e < 16; ++e)
|
|
2452
2452
|
for (var c = e * 16, w = 0; w < 16; ++w)
|
|
2453
2453
|
t[c + w] = o[e] + o[w];
|
|
@@ -2547,7 +2547,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2547
2547
|
};
|
|
2548
2548
|
}, {}] }, {}, [24])(24);
|
|
2549
2549
|
});
|
|
2550
|
-
}),
|
|
2550
|
+
}), zt = {
|
|
2551
2551
|
name: "qrcode",
|
|
2552
2552
|
props: {
|
|
2553
2553
|
/**
|
|
@@ -2606,7 +2606,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2606
2606
|
this.generate();
|
|
2607
2607
|
}
|
|
2608
2608
|
};
|
|
2609
|
-
class
|
|
2609
|
+
class Yt {
|
|
2610
2610
|
constructor() {
|
|
2611
2611
|
this._activePolls = {}, this._pollingInterval = 1e3;
|
|
2612
2612
|
}
|
|
@@ -2667,18 +2667,18 @@ class zt {
|
|
|
2667
2667
|
}
|
|
2668
2668
|
let _t = null;
|
|
2669
2669
|
function Ft() {
|
|
2670
|
-
return _t || (_t = new
|
|
2670
|
+
return _t || (_t = new Yt()), _t;
|
|
2671
2671
|
}
|
|
2672
|
-
function
|
|
2672
|
+
function Wt(v) {
|
|
2673
2673
|
window.history.replaceState({}, "", window.location.href);
|
|
2674
2674
|
let r = "";
|
|
2675
2675
|
const n = (navigator == null ? void 0 : navigator.userAgent) || "";
|
|
2676
2676
|
return n.match("CriOS") ? r = "googlechromes://" : n.match("FxiOS") ? r = "firefox://" : n.match("GSA") && (r = "googleapp://open-url?url="), r + encodeURIComponent(`${window.location.href}#${v}`);
|
|
2677
2677
|
}
|
|
2678
|
-
const
|
|
2678
|
+
const Ht = {
|
|
2679
2679
|
name: "BankIdAnswer",
|
|
2680
2680
|
components: {
|
|
2681
|
-
QrCode:
|
|
2681
|
+
QrCode: zt
|
|
2682
2682
|
},
|
|
2683
2683
|
mixins: [ft([])],
|
|
2684
2684
|
props: {
|
|
@@ -2739,7 +2739,7 @@ const Wt = {
|
|
|
2739
2739
|
}
|
|
2740
2740
|
},
|
|
2741
2741
|
created() {
|
|
2742
|
-
this.isMobile =
|
|
2742
|
+
this.isMobile = Mt(), this.tryResumeSigningSession();
|
|
2743
2743
|
},
|
|
2744
2744
|
methods: {
|
|
2745
2745
|
tryResumeSigningSession() {
|
|
@@ -2786,7 +2786,7 @@ const Wt = {
|
|
|
2786
2786
|
this.clearSignState(), v.removePoll(r);
|
|
2787
2787
|
};
|
|
2788
2788
|
try {
|
|
2789
|
-
const { data: u } = await
|
|
2789
|
+
const { data: u } = await $t.get(this.signAnswerId);
|
|
2790
2790
|
u.qrCodeData && (this.qrCode = u.qrCodeData), ["completed", "canceled"].includes(u.status) && g(), u.status === "completed" ? this.onComplete() : u.status === "canceled" ? this.onCanceled() : this.view = u.status;
|
|
2791
2791
|
} catch (u) {
|
|
2792
2792
|
this.onError(u), g();
|
|
@@ -2836,7 +2836,7 @@ const Wt = {
|
|
|
2836
2836
|
case 9005:
|
|
2837
2837
|
case 9006:
|
|
2838
2838
|
case 9007:
|
|
2839
|
-
|
|
2839
|
+
Rt.warn(v);
|
|
2840
2840
|
break;
|
|
2841
2841
|
case 9009:
|
|
2842
2842
|
this.$emit("complete");
|
|
@@ -2851,15 +2851,15 @@ const Wt = {
|
|
|
2851
2851
|
return;
|
|
2852
2852
|
let v = "bankid://", r = "null";
|
|
2853
2853
|
if (this.isMobile) {
|
|
2854
|
-
const g =
|
|
2855
|
-
(h || d) && (v = "https://app.bankid.com"), g === "iOS" &&
|
|
2854
|
+
const g = Dt(), u = (navigator == null ? void 0 : navigator.userAgent) || (navigator == null ? void 0 : navigator.vendor) || (window == null ? void 0 : window.opera), h = g === "iOS" && (/Version\/[\d.]+.*Safari/.test(u) || /GSA/.test(u)), d = g === "Android" && /Version\/[\d.]+.*Chrome/.test(u);
|
|
2855
|
+
(h || d) && (v = "https://app.bankid.com"), g === "iOS" && kt.value !== "widget" && (r = Wt(this.signAnswerId));
|
|
2856
2856
|
}
|
|
2857
2857
|
const n = `${v}/?autostarttoken=${this.autoStartToken}&redirect=${r}`;
|
|
2858
2858
|
this.isMobile ? document.location = n : this.$refs.autoStartFrame.src = n;
|
|
2859
2859
|
}
|
|
2860
2860
|
}
|
|
2861
2861
|
};
|
|
2862
|
-
var
|
|
2862
|
+
var jt = function() {
|
|
2863
2863
|
var g;
|
|
2864
2864
|
var r = this, n = r._self._c;
|
|
2865
2865
|
return n("div", { staticClass: "-my-4 flex flex-col items-center" }, [n("iframe", { ref: "autoStartFrame", staticClass: "hidden", attrs: { height: "0", width: "0" } }), ["form", "signing", "error", "canceled"].includes(r.view) ? n("div", { staticClass: "flex h-[250px] w-[250px] items-center justify-center rounded-xl bg-gray-100" }, [n("CIcon", { staticClass: "text-gray-500", attrs: { type: "bankId", size: "50" } })], 1) : r._e(), ["new", "waiting", "started"].includes(r.view) ? [r.qrCode ? n("QrCode", { attrs: { value: r.qrCode, options: {
|
|
@@ -2871,15 +2871,15 @@ var Ht = function() {
|
|
|
2871
2871
|
} } }, [n("div", { staticClass: "flex flex-col items-center justify-center", staticStyle: { "background-color": "#183e4f", padding: "calc(2.5 * var(--rem)) calc(3 * var(--rem))" } }, [n("CIcon", { staticClass: "text-white", attrs: { type: "bankId", size: "34" } }), n("div", { staticClass: "pt-4 text-sm font-medium text-white opacity-75", domProps: { textContent: r._s(r.viewText[r.view].text) } })], 1), n("div", { staticClass: "flex w-full flex-col items-center justify-center text-center", staticStyle: { padding: "calc(3 * var(--rem)) calc(2 * var(--rem))" } }, [r.view === "signing" ? [n("div", { staticClass: "spinner" }), n("div", { staticClass: "pt-8 text-gray-500", domProps: { textContent: r._s(r.viewText[r.view].spinnerText) } })] : ["error", "canceled"].includes(r.view) ? [n("CIcon", { staticClass: "mb-2.5 text-gray-400", attrs: { type: "error", size: "22" } }), n("div", { staticStyle: { "font-size": "14px" }, domProps: { textContent: r._s(r.errorMessage) } }), n("CButton", { staticStyle: { "margin-top": "calc(2.5 * var(--rem))", padding: "1em", height: "initial" }, attrs: { loading: r.isLoading, type: "none", pattern: "secondary", size: "small" }, on: { click: function(u) {
|
|
2872
2872
|
r.view = "form";
|
|
2873
2873
|
} } }, [r._v(" " + r._s(r._document.$t("tryAgain")) + " ")])] : r._e()], 2)])])], 1)], 2);
|
|
2874
|
-
},
|
|
2875
|
-
Wt,
|
|
2874
|
+
}, Gt = [], Kt = /* @__PURE__ */ ot(
|
|
2876
2875
|
Ht,
|
|
2877
2876
|
jt,
|
|
2877
|
+
Gt,
|
|
2878
2878
|
!1,
|
|
2879
2879
|
null,
|
|
2880
|
-
"
|
|
2880
|
+
"fb9cf054"
|
|
2881
2881
|
);
|
|
2882
|
-
const
|
|
2882
|
+
const Vt = Kt.exports, Jt = {
|
|
2883
2883
|
name: "DenyAnswer",
|
|
2884
2884
|
mixins: [ft([])],
|
|
2885
2885
|
props: {
|
|
@@ -2905,20 +2905,20 @@ const Kt = Gt.exports, Vt = {
|
|
|
2905
2905
|
}
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
|
-
var
|
|
2908
|
+
var Xt = function() {
|
|
2909
2909
|
var r = this, n = r._self._c;
|
|
2910
2910
|
return n("div", { staticClass: "text-left" }, [n("label", [r._v(r._s(r._document.$t("answerModal.decline.component.label")))]), n("CInput", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { type: "textarea", filled: "", "custom-class": "decline-input" }, model: { value: r.rejectReason, callback: function(g) {
|
|
2911
2911
|
r.rejectReason = g;
|
|
2912
2912
|
}, expression: "rejectReason" } })], 1);
|
|
2913
|
-
},
|
|
2914
|
-
Vt,
|
|
2913
|
+
}, Qt = [], qt = /* @__PURE__ */ ot(
|
|
2915
2914
|
Jt,
|
|
2916
2915
|
Xt,
|
|
2916
|
+
Qt,
|
|
2917
2917
|
!1,
|
|
2918
2918
|
null,
|
|
2919
2919
|
null
|
|
2920
2920
|
);
|
|
2921
|
-
const
|
|
2921
|
+
const Zt = qt.exports;
|
|
2922
2922
|
/*!
|
|
2923
2923
|
* Signature Pad v4.0.10 | https://github.com/szimek/signature_pad
|
|
2924
2924
|
* (c) 2022 Szymon Nowak | Released under the MIT license
|
|
@@ -2970,7 +2970,7 @@ class bt {
|
|
|
2970
2970
|
return n * (1 - r) * (1 - r) * (1 - r) + 3 * g * (1 - r) * (1 - r) * r + 3 * u * (1 - r) * r * r + h * r * r * r;
|
|
2971
2971
|
}
|
|
2972
2972
|
}
|
|
2973
|
-
class
|
|
2973
|
+
class te {
|
|
2974
2974
|
constructor() {
|
|
2975
2975
|
try {
|
|
2976
2976
|
this._et = new EventTarget();
|
|
@@ -2988,7 +2988,7 @@ class Zt {
|
|
|
2988
2988
|
this._et.removeEventListener(r, n, g);
|
|
2989
2989
|
}
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function ee(v, r = 250) {
|
|
2992
2992
|
let n = 0, g = null, u, h, d;
|
|
2993
2993
|
const l = () => {
|
|
2994
2994
|
n = Date.now(), g = null, u = v.apply(h, d), g || (h = null, d = []);
|
|
@@ -2998,7 +2998,7 @@ function te(v, r = 250) {
|
|
|
2998
2998
|
return h = this, d = s, a <= 0 || a > r ? (g && (clearTimeout(g), g = null), n = f, u = v.apply(h, d), g || (h = null, d = [])) : g || (g = window.setTimeout(l, a)), u;
|
|
2999
2999
|
};
|
|
3000
3000
|
}
|
|
3001
|
-
let
|
|
3001
|
+
let re = class Ct extends te {
|
|
3002
3002
|
constructor(r, n = {}) {
|
|
3003
3003
|
super(), this.canvas = r, this._handleMouseDown = (g) => {
|
|
3004
3004
|
g.buttons === 1 && (this._drawningStroke = !0, this._strokeBegin(g));
|
|
@@ -3027,7 +3027,7 @@ let ee = class Ct extends Zt {
|
|
|
3027
3027
|
this._drawningStroke && (g.preventDefault(), this._strokeMoveUpdate(g));
|
|
3028
3028
|
}, this._handlePointerEnd = (g) => {
|
|
3029
3029
|
this._drawningStroke && (g.preventDefault(), this._drawningStroke = !1, this._strokeEnd(g));
|
|
3030
|
-
}, this.velocityFilterWeight = n.velocityFilterWeight || 0.7, this.minWidth = n.minWidth || 0.5, this.maxWidth = n.maxWidth || 2.5, this.throttle = "throttle" in n ? n.throttle : 16, this.minDistance = "minDistance" in n ? n.minDistance : 5, this.dotSize = n.dotSize || 0, this.penColor = n.penColor || "black", this.backgroundColor = n.backgroundColor || "rgba(0,0,0,0)", this._strokeMoveUpdate = this.throttle ?
|
|
3030
|
+
}, this.velocityFilterWeight = n.velocityFilterWeight || 0.7, this.minWidth = n.minWidth || 0.5, this.maxWidth = n.maxWidth || 2.5, this.throttle = "throttle" in n ? n.throttle : 16, this.minDistance = "minDistance" in n ? n.minDistance : 5, this.dotSize = n.dotSize || 0, this.penColor = n.penColor || "black", this.backgroundColor = n.backgroundColor || "rgba(0,0,0,0)", this._strokeMoveUpdate = this.throttle ? ee(Ct.prototype._strokeUpdate, this.throttle) : Ct.prototype._strokeUpdate, this._ctx = r.getContext("2d"), this.clear(), this.on();
|
|
3031
3031
|
}
|
|
3032
3032
|
clear() {
|
|
3033
3033
|
const { _ctx: r, canvas: n } = this;
|
|
@@ -3198,7 +3198,7 @@ let ee = class Ct extends Zt {
|
|
|
3198
3198
|
const y = s + f + "</svg>";
|
|
3199
3199
|
return i + btoa(y);
|
|
3200
3200
|
}
|
|
3201
|
-
},
|
|
3201
|
+
}, ne = class extends re {
|
|
3202
3202
|
fromText(r, n = {}) {
|
|
3203
3203
|
if (this.clear(), !r)
|
|
3204
3204
|
return;
|
|
@@ -3211,7 +3211,7 @@ let ee = class Ct extends Zt {
|
|
|
3211
3211
|
this._ctx.font = g, this._ctx.fillText(r, u, h, d), this._isEmpty = !1;
|
|
3212
3212
|
}
|
|
3213
3213
|
};
|
|
3214
|
-
const
|
|
3214
|
+
const ie = {
|
|
3215
3215
|
name: "SignaturePad",
|
|
3216
3216
|
props: {
|
|
3217
3217
|
type: {
|
|
@@ -3282,7 +3282,7 @@ const ne = {
|
|
|
3282
3282
|
},
|
|
3283
3283
|
mounted() {
|
|
3284
3284
|
const { options: v, defaultOptions: r } = this, n = this.$refs.signaturePadCanvas;
|
|
3285
|
-
this.signaturePad = new
|
|
3285
|
+
this.signaturePad = new ne(n, {
|
|
3286
3286
|
...r,
|
|
3287
3287
|
...v
|
|
3288
3288
|
}), this.onResizeHandler = this.resizeCanvas.bind(this), window.addEventListener("resize", this.onResizeHandler, !1), Object.keys(this.signEvents).forEach((g) => {
|
|
@@ -3405,32 +3405,32 @@ const ne = {
|
|
|
3405
3405
|
]
|
|
3406
3406
|
);
|
|
3407
3407
|
}
|
|
3408
|
-
},
|
|
3409
|
-
var
|
|
3410
|
-
ne,
|
|
3408
|
+
}, ae = null, oe = null;
|
|
3409
|
+
var se = /* @__PURE__ */ ot(
|
|
3411
3410
|
ie,
|
|
3412
3411
|
ae,
|
|
3412
|
+
oe,
|
|
3413
3413
|
!1,
|
|
3414
3414
|
null,
|
|
3415
3415
|
null
|
|
3416
3416
|
);
|
|
3417
|
-
const
|
|
3418
|
-
function
|
|
3417
|
+
const ue = se.exports;
|
|
3418
|
+
function ce({ rel: v, href: r, crossorigin: n = !1 }) {
|
|
3419
3419
|
const g = document.createElement("link");
|
|
3420
3420
|
g.rel = v, g.href = r, g.crossorigin = n, document.head.appendChild(g);
|
|
3421
3421
|
}
|
|
3422
|
-
const
|
|
3422
|
+
const le = [
|
|
3423
3423
|
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
|
|
3424
3424
|
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: !0 },
|
|
3425
3425
|
{
|
|
3426
3426
|
rel: "stylesheet",
|
|
3427
3427
|
href: "https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap"
|
|
3428
3428
|
}
|
|
3429
|
-
],
|
|
3429
|
+
], he = {
|
|
3430
3430
|
name: "SignatureAnswer",
|
|
3431
3431
|
components: {
|
|
3432
|
-
CField:
|
|
3433
|
-
SignaturePad:
|
|
3432
|
+
CField: Nt,
|
|
3433
|
+
SignaturePad: ue
|
|
3434
3434
|
},
|
|
3435
3435
|
mixins: [ft([])],
|
|
3436
3436
|
props: {
|
|
@@ -3464,7 +3464,7 @@ const ce = [
|
|
|
3464
3464
|
}
|
|
3465
3465
|
},
|
|
3466
3466
|
created() {
|
|
3467
|
-
|
|
3467
|
+
le.forEach(ce);
|
|
3468
3468
|
},
|
|
3469
3469
|
mounted() {
|
|
3470
3470
|
this.focusName();
|
|
@@ -3495,7 +3495,7 @@ const ce = [
|
|
|
3495
3495
|
}
|
|
3496
3496
|
}
|
|
3497
3497
|
};
|
|
3498
|
-
var
|
|
3498
|
+
var fe = function() {
|
|
3499
3499
|
var r = this, n = r._self._c;
|
|
3500
3500
|
return n("div", { staticStyle: { "text-align": "left" } }, [n("div", { staticClass: "flex w-full items-center justify-between", staticStyle: { "font-size": "16px", "padding-bottom": "1em", "font-weight": "500", color: "hsl(0, 0%, 11%)" } }, [n("div", [r._v(r._s(r._document.$t("answerModal.signature.component.subTitle")))]), n("div", { staticClass: "sign-toggle" }, [n("div", { staticClass: "sign-toggle-button", class: { active: r.mode === "text" }, on: { click: function(g) {
|
|
3501
3501
|
r.mode = "text";
|
|
@@ -3510,23 +3510,23 @@ var he = function() {
|
|
|
3510
3510
|
r.isEmpty = r.$refs.signaturePad ? r.$refs.signaturePad.isEmpty() : !0;
|
|
3511
3511
|
}
|
|
3512
3512
|
} } })], 1), n("div", { directives: [{ name: "show", rawName: "v-show", value: r.mode === "draw", expression: "mode === 'draw'" }], staticClass: "flex w-full justify-end" }, [n("CButton", { attrs: { disabled: r.isEmpty, type: "text", size: "small", pattern: "tertiary", circle: "", icon: "trash" }, on: { click: r.reset } }), n("CButton", { attrs: { disabled: r.isEmpty, type: "text", size: "small", pattern: "tertiary", circle: "", icon: "rotate-left" }, on: { click: r.undo } })], 1), n("div", { staticClass: "text-center", staticStyle: { "font-size": "12px", color: "hsl(0, 0%, 45%)", "padding-top": "10px" } }, [r._v(" " + r._s(r._document.$t("answerModal.signature.component.terms")) + " ")])], 1);
|
|
3513
|
-
},
|
|
3514
|
-
le,
|
|
3513
|
+
}, de = [], ge = /* @__PURE__ */ ot(
|
|
3515
3514
|
he,
|
|
3516
3515
|
fe,
|
|
3516
|
+
de,
|
|
3517
3517
|
!1,
|
|
3518
3518
|
null,
|
|
3519
|
-
"
|
|
3519
|
+
"e30cd56b"
|
|
3520
3520
|
);
|
|
3521
|
-
const
|
|
3521
|
+
const pe = ge.exports, me = () => {
|
|
3522
3522
|
const v = window.location.host.split(".");
|
|
3523
3523
|
return v && v[0];
|
|
3524
|
-
},
|
|
3524
|
+
}, ve = me() === "fortnox", we = [
|
|
3525
3525
|
"enjoyedExperience",
|
|
3526
3526
|
// boolean value
|
|
3527
3527
|
"whatToImprove"
|
|
3528
3528
|
// string value
|
|
3529
|
-
],
|
|
3529
|
+
], ye = {
|
|
3530
3530
|
mixins: [ft([])],
|
|
3531
3531
|
props: {
|
|
3532
3532
|
publicId: {
|
|
@@ -3542,7 +3542,7 @@ const ge = de.exports, pe = () => {
|
|
|
3542
3542
|
},
|
|
3543
3543
|
computed: {
|
|
3544
3544
|
showFeedback() {
|
|
3545
|
-
return
|
|
3545
|
+
return kt.value !== "widget";
|
|
3546
3546
|
}
|
|
3547
3547
|
},
|
|
3548
3548
|
created() {
|
|
@@ -3556,13 +3556,13 @@ const ge = de.exports, pe = () => {
|
|
|
3556
3556
|
throw Error("Missing param publicId");
|
|
3557
3557
|
if (!v)
|
|
3558
3558
|
throw Error("Missing param type");
|
|
3559
|
-
if (!
|
|
3559
|
+
if (!we.includes(v))
|
|
3560
3560
|
throw Error("Invalid feedback type");
|
|
3561
3561
|
if (!r)
|
|
3562
3562
|
throw Error("Missing param data");
|
|
3563
3563
|
let n = "positive";
|
|
3564
3564
|
try {
|
|
3565
|
-
|
|
3565
|
+
Ut.feedback(this.publicId, { type: v, data: r }), v === "enjoyedExperience" && !r.value && (n = "negative"), v === "whatToImprove" && (n = "negative.success"), ve && n !== "negative" && (n = "custom");
|
|
3566
3566
|
} catch (g) {
|
|
3567
3567
|
Et(g, { showMessage: !1 });
|
|
3568
3568
|
} finally {
|
|
@@ -3647,7 +3647,7 @@ const ge = de.exports, pe = () => {
|
|
|
3647
3647
|
}
|
|
3648
3648
|
}
|
|
3649
3649
|
};
|
|
3650
|
-
var
|
|
3650
|
+
var xe = function() {
|
|
3651
3651
|
var r = this, n = r._self._c;
|
|
3652
3652
|
return n("div", { staticClass: "f-feedback" }, [n("div", { ref: "feedbackBg", staticClass: "f-bg" }), n("div", { staticClass: "f-container" }, [n("transition", { attrs: { css: !1, mode: "out-in" }, on: { enter: r.enter, leave: r.leave } }, [r.page === "start" ? n("div", { key: "start", ref: "start", staticClass: "flex w-full flex-col items-center justify-center", staticStyle: { transition: "opacity 250ms" } }, [n("div", { staticStyle: { "padding-bottom": "calc(1.5 * var(--rem))", "font-size": "14px", "font-weight": "500" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.start.title")) } }), n("div", [n("CButton", { staticClass: "feedback-btn", attrs: { "icon-left": "thumbsdown", size: "small", pattern: "secondary" }, on: { click: function(g) {
|
|
3653
3653
|
return r.submitFeedback({
|
|
@@ -3675,20 +3675,20 @@ var ye = function() {
|
|
|
3675
3675
|
} } })], 1) : r.page === "custom" ? n("div", { key: "success", staticStyle: { height: "100%", display: "flex", "flex-direction": "column" } }, [n("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center" } }, [n("div", { staticClass: "f-title", domProps: { textContent: r._s(r._document.$t("answerFeedback.custom.title")) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerFeedback.custom.text")) } })]), n("CButton", { staticClass: "a-btn", attrs: { type: "secondary", wide: "" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.custom.action")) }, on: { click: function(g) {
|
|
3676
3676
|
return r.$emit("close");
|
|
3677
3677
|
} } })], 1) : r._e()])], 1)]);
|
|
3678
|
-
},
|
|
3679
|
-
we,
|
|
3678
|
+
}, _e = [], Ce = /* @__PURE__ */ ot(
|
|
3680
3679
|
ye,
|
|
3681
3680
|
xe,
|
|
3681
|
+
_e,
|
|
3682
3682
|
!1,
|
|
3683
3683
|
null,
|
|
3684
|
-
"
|
|
3684
|
+
"72836ca6"
|
|
3685
3685
|
);
|
|
3686
|
-
const
|
|
3686
|
+
const Ee = Ce.exports, be = {
|
|
3687
3687
|
components: {
|
|
3688
|
-
Feedback:
|
|
3689
|
-
Signature:
|
|
3690
|
-
BankId:
|
|
3691
|
-
Deny:
|
|
3688
|
+
Feedback: Ee,
|
|
3689
|
+
Signature: pe,
|
|
3690
|
+
BankId: Vt,
|
|
3691
|
+
Deny: Zt
|
|
3692
3692
|
},
|
|
3693
3693
|
mixins: [ft([])],
|
|
3694
3694
|
i18nOptions: {
|
|
@@ -3753,7 +3753,7 @@ const Ce = _e.exports, Ee = {
|
|
|
3753
3753
|
this.calcHeight && this.$nextTick(() => this.setFixedHeight());
|
|
3754
3754
|
},
|
|
3755
3755
|
methods: {
|
|
3756
|
-
...
|
|
3756
|
+
...Lt({
|
|
3757
3757
|
answerCurrentDoc: yt.ANSWER_CURRENT_PUBLIC_DOCUMENT,
|
|
3758
3758
|
putCurrentDoc: yt.PUT_CURRENT_PUBLIC_DOCUMENT,
|
|
3759
3759
|
reloadCurrentDocument: yt.RELOAD_CURRENT_DOCUMENT
|
|
@@ -3848,7 +3848,7 @@ const Ce = _e.exports, Ee = {
|
|
|
3848
3848
|
}
|
|
3849
3849
|
}
|
|
3850
3850
|
};
|
|
3851
|
-
var
|
|
3851
|
+
var Pe = function() {
|
|
3852
3852
|
var g;
|
|
3853
3853
|
var r = this, n = r._self._c;
|
|
3854
3854
|
return n("transition-group", { staticClass: "a-root font-inter", attrs: { tag: "div", css: !1, mode: "out-in" }, on: { enter: r.enterAnim, leave: r.leaveAnim } }, [n("CButton", { key: "btn", staticClass: "text-[hsl(0, 0%, 45%)] absolute right-5 top-5 z-[9]", attrs: { icon: "x", circle: "" }, on: { click: function(u) {
|
|
@@ -3860,15 +3860,15 @@ var be = function() {
|
|
|
3860
3860
|
} } }), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, disabled: r.actionInvalid, type: r.mode === "decline" ? "text" : "secondary", icon: r.answerType === "bankId" ? "bankId" : "" }, on: { click: r.onSubmit } }, [r._v(" " + r._s(r._document.$t(`answerModal.${r.answerType}.start.action`)) + " ")])], 1)], 1) : r.page === "intermediate" ? n("div", { key: "intermediate", staticClass: "flex w-full flex-grow flex-col items-center justify-center text-center", staticStyle: { height: "100%" } }, [n("div", { staticClass: "a-title stagger-anim", domProps: { textContent: r._s(r._document.$t("answerModal.answerSuccess")) } })]) : r.page === "success" ? n("div", { key: "success", staticClass: "flex w-full flex-grow flex-col", staticStyle: { height: "100%" } }, [n("transition", { attrs: { css: !1 }, on: { leave: r.minimizeHeight } }, [r.isFeedbackInitiated ? r._e() : n("div", { staticClass: "flex w-full flex-grow flex-col items-center justify-center", staticStyle: { overflow: "hidden" } }, [n("div", { staticClass: "root-padding flex w-full flex-col items-center justify-center", staticStyle: { height: "100%" } }, [n("div", { staticClass: "a-title stagger-anim", staticStyle: { padding: "calc(2.5 * var(--rem)) 0 calc(2 * var(--rem))" } }, [n("div", { domProps: { textContent: r._s(r.successStrings.title) } })]), n("div", { staticClass: "stagger-anim", domProps: { textContent: r._s(r.successStrings.text) } })])])]), n("Feedback", { ref: "feedback", staticClass: "stagger-anim", staticStyle: { flex: "0 0", overflow: "hidden", "min-height": "200px" }, attrs: { "public-id": (g = r._document.viewer) == null ? void 0 : g.publicDocumentId, _document: r._document }, on: { page: () => r.isFeedbackInitiated = !0, close: function(u) {
|
|
3861
3861
|
return r.$emit("close");
|
|
3862
3862
|
} } })], 1) : r.page === "versionError" ? n("div", { key: "versionError", staticClass: "root-padding flex flex-grow flex-col items-center justify-center text-center" }, [n("div", { staticClass: "stagger-anim" }, [n("div", { staticClass: "flex items-center justify-center", staticStyle: { padding: "20px 0" } }, [n("div", { staticClass: "flex items-center justify-center", staticStyle: { width: "52px", height: "52px", "border-radius": "50%" } }, [n("CIcon", { attrs: { size: 30, type: "error" } })], 1)]), n("div", { staticClass: "a-title", domProps: { textContent: r._s(r._document.$t(`answerModal.versionError.${r.mode}.title`)) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerModal.versionError.text")) } })]), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, type: "none" }, on: { click: r.reload } }, [r._v(" " + r._s(r._document.$t("answerModal.versionError.btn")) + " ")])], 1)]) : r._e()], 1);
|
|
3863
|
-
},
|
|
3864
|
-
Ee,
|
|
3863
|
+
}, Se = [], Te = /* @__PURE__ */ ot(
|
|
3865
3864
|
be,
|
|
3866
3865
|
Pe,
|
|
3866
|
+
Se,
|
|
3867
3867
|
!1,
|
|
3868
3868
|
null,
|
|
3869
|
-
"
|
|
3869
|
+
"67dcb365"
|
|
3870
3870
|
);
|
|
3871
|
-
const
|
|
3871
|
+
const Re = Te.exports;
|
|
3872
3872
|
export {
|
|
3873
|
-
|
|
3873
|
+
Re as default
|
|
3874
3874
|
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import a from "./Index-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import a from "./Index-sqI1TF7Z.js";
|
|
2
|
+
import { C as r, a as i } from "./CDropdownItem-DiLisSei.js";
|
|
3
|
+
import { C as s } from "./CFormField-DcZVdj3a.js";
|
|
4
|
+
import { n as o } from "./main-U22_wtg0.js";
|
|
5
|
+
const c = {
|
|
4
6
|
name: "AttachmentsItem",
|
|
5
7
|
components: {
|
|
6
|
-
FileIcon: a
|
|
8
|
+
FileIcon: a,
|
|
9
|
+
CDropdown: r,
|
|
10
|
+
CDropdownItem: i,
|
|
11
|
+
CField: s
|
|
7
12
|
},
|
|
8
13
|
inject: {
|
|
9
14
|
isPdf: {
|
|
@@ -35,7 +40,7 @@ const r = {
|
|
|
35
40
|
};
|
|
36
41
|
}
|
|
37
42
|
};
|
|
38
|
-
var
|
|
43
|
+
var l = function() {
|
|
39
44
|
var t = this, e = t._self._c;
|
|
40
45
|
return e(t.isImageOrPdf && !t.isPdf ? "div" : "a", { tag: "component", staticClass: "attachment-wrapper", attrs: { href: t.attachment.url, target: "_blank", rel: "noopener" }, on: { "&mouseover": function(n) {
|
|
41
46
|
t.isHover = !0;
|
|
@@ -66,15 +71,15 @@ var s = function() {
|
|
|
66
71
|
} } }, [t._v(" " + t._s(t.$t("change", { thing: t.$t("name") })) + " ")]), e("CDropdownItem", { attrs: { type: "danger" }, on: { click: function(n) {
|
|
67
72
|
return t.$emit("remove");
|
|
68
73
|
} } }, [t._v(" " + t._s(t.$t("remove")) + " ")])], 1) : t._e()]], 2), e("div", { staticClass: "hover-wrapper" }, [e("div", { staticClass: "hover-wrapper-text" }, [e("CIcon", { attrs: { type: "eye", size: "18" } }), t._v(" " + t._s(t.$t("_common:show")) + " ")], 1)])]);
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
}, m = [], u = /* @__PURE__ */ o(
|
|
75
|
+
c,
|
|
76
|
+
l,
|
|
77
|
+
m,
|
|
73
78
|
!1,
|
|
74
79
|
null,
|
|
75
|
-
"
|
|
80
|
+
"d81b17eb"
|
|
76
81
|
);
|
|
77
|
-
const
|
|
82
|
+
const _ = u.exports;
|
|
78
83
|
export {
|
|
79
|
-
|
|
84
|
+
_ as default
|
|
80
85
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { w as Ti } from "./CDropdownItem-
|
|
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-U22_wtg0.js";
|
|
2
|
+
import { w as Ti } from "./CDropdownItem-DiLisSei.js";
|
|
3
3
|
var fs = { exports: {} };
|
|
4
4
|
//! moment.js
|
|
5
5
|
//! version : 2.29.4
|