@cling-se/widget 0.19.7 → 0.19.8
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/CHANGELOG.md +8 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-sPxYX5tQ.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CzzOlHB-.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-BGPxfM2X.js} +11 -11
- package/dist/{CCallout-BlglVZrm.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-E-kRDIiy.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-9AwTJm-0.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-agFahtr1.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-BpautzPq.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-GIqd-JU4.js} +18 -18
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-DOHX9Igy.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-DAXKN_b3.js} +49 -49
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-B9F8znY_.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-BvIMVys6.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-DB22RaUr.js} +20 -20
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings--l4fH9mr.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-yxmchgO5.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-CzrR8o22.js} +819 -825
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint-D0IdWsUM.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-4e-RmgeQ.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-L35eZxgk.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-Be5CvtcQ.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-Bc4kf2q9.js} +12 -12
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-BFo5UEWS.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-DlQtlO7G.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-B29usQZZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-D-9rcSn0.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout--EnH1Ezu.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-H5Ilg9xN.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-HuM_JwJw.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-CJ-DstAf.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-TYs37LIQ.js} +72 -72
- package/dist/{Index-ezY0DbcB.js → Index-6N_iRlrQ.js} +5 -5
- package/dist/{Index-BJf4YdYB.js → Index-B-PDcQKh.js} +29 -29
- package/dist/{Index-C-EUJjuk.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-BLdFyt-s.js} +9 -9
- package/dist/{Index-CXjLkK_n.js → Index-BMpHXgR4.js} +15 -15
- package/dist/{Index-COF0evH4.js → Index-BZ6ZDf9T.js} +6 -6
- package/dist/{Index-y_AJP61r.js → Index-BdnFLjgV.js} +9 -9
- package/dist/{Index-DAkq_7Ws.js → Index-BeOtRIzZ.js} +18 -18
- package/dist/{Index-CTrX3VRa.js → Index-BsRxY7vc.js} +5 -5
- package/dist/{Index-D-gJQEAD.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-C2-s62x7.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-Dxg4gEKd.js → Index-CGus-YwW.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-CLgN5Jzf.js} +2 -2
- package/dist/{Index-Cjg3X74T.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-DkQ8_VkX.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-DfuzxXzD.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-CrdSdXWN.js} +19 -19
- package/dist/{Index-Ct735UtM.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-Ck-_9woY.js → Index-D5_GLLQH.js} +501 -506
- package/dist/{Index-DzdEqsZB.js → Index-D9sceHk5.js} +16 -16
- package/dist/{Index-Dfy0PsiW.js → Index-DJ11Zra_.js} +29 -29
- package/dist/{Index-DOeHci16.js → Index-DMIjuWSa.js} +7 -7
- package/dist/{Index-Bb6JZC8l.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CQboLS2e.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-GPliVrhC.js → Index-DYUvtCff.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-DYW8T0Hl.js} +27 -27
- package/dist/{Index-BTDQax0X.js → Index-Dg4dwlh_.js} +60 -59
- package/dist/{Index-BlownK7_.js → Index-N88Abomf.js} +7 -7
- package/dist/{Index-9ZFW8Ka7.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-BbVHxVFJ.js → Index-edWEg_rF.js} +33 -33
- package/dist/{Index-B53eUt7Y.js → Index-nRqNPZ3B.js} +15 -15
- package/dist/{Index-1WPEpaVr.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-yS5OPrJJ.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-DCr_DEm4.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-CpVsmQvn.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-CqrWEfCT.js} +29 -29
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-DmrPDtae.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-C2EEwUBa.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-BaREzUxI.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-CdZzn0qW.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-EoJvsPqK.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-D3blQMiD.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-BBycKv9w.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-BXXpTWBf.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-B2VPO6q4.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9s0P7o.js} +4 -4
- package/dist/{index-B86TZXOh.js → index-C3pnyYI4.js} +94 -94
- package/dist/{index-D0Qee2OX.js → index-CBn1mHmK.js} +30 -30
- package/dist/{index-DXNrJnEc.js → index-DAJmNac8.js} +10 -10
- package/dist/{index-Cd4S4J-L.js → index-DYJN9yoF.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-DuXECcGq.js} +25 -25
- package/dist/{index-BH5vwOzR.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-CsbYpQqP.js → index-_MfZEYgE.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BayUZ9OO.js} +13620 -13669
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-Bx5_nE7g.js} +40 -46
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-CblTasKp.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-CYKcJaqz.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-DFmdeFRm.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @cling-se/widget
|
|
2
2
|
|
|
3
|
+
## 0.19.8 (2025-05-12)
|
|
4
|
+
|
|
5
|
+
### Changes
|
|
6
|
+
|
|
7
|
+
- Refactor document dimensions.
|
|
8
|
+
- Updated `vite`from `6.2.5` to `6.3.5`.
|
|
9
|
+
- Updated `vitest` from `3.1.2` to `3.1.3` + connected ecosystem libs.
|
|
10
|
+
|
|
3
11
|
## 0.19.7 (2025-05-06)
|
|
4
12
|
|
|
5
13
|
### Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as g } from "./mapFormMixin-
|
|
2
|
-
import { _ as y } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import {
|
|
4
|
-
import { C as $ } from "./ClientAutocomplete-
|
|
1
|
+
import { m as g } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { _ as y } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
3
|
+
import { _, V as v, b as i, d as n, o as a, e as l, f as d, j as c, t as r, w as p, q as h, F as x, W as b, x as w } from "./main-BayUZ9OO.js";
|
|
4
|
+
import { C as $ } from "./ClientAutocomplete-DOHX9Igy.js";
|
|
5
5
|
const k = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "components",
|
|
@@ -23,24 +23,24 @@ const k = {
|
|
|
23
23
|
},
|
|
24
24
|
computed: {
|
|
25
25
|
showSearch() {
|
|
26
|
-
return
|
|
26
|
+
return v.value !== "widget" && !this.viewSettings.isPublicForm;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}, F = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "px-2"
|
|
32
|
-
}, A = ["textContent"], S = ["textContent"], B = { class: "control" },
|
|
32
|
+
}, A = ["textContent"], S = ["textContent"], B = { class: "control" }, V = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "control flex items-center text-gray-500",
|
|
35
35
|
style: { width: "initial", "font-size": "13px" }
|
|
36
36
|
};
|
|
37
|
-
function
|
|
38
|
-
const u =
|
|
39
|
-
return
|
|
40
|
-
class:
|
|
37
|
+
function z(e, t, o, N, P, m) {
|
|
38
|
+
const u = i("CButton"), C = i("ClientAutocomplete"), f = i("CField");
|
|
39
|
+
return a(), n("div", {
|
|
40
|
+
class: w(
|
|
41
41
|
o.compact ? "rounded-lg border border-gray-200 p-3" : "rounded-lg border border-gray-200 bg-gray-100 p-3"
|
|
42
42
|
),
|
|
43
|
-
style:
|
|
43
|
+
style: b(
|
|
44
44
|
o.compact && {
|
|
45
45
|
"--stripe-1": "hsl(var(--gray-color-50))",
|
|
46
46
|
"--stripe-2": "hsl(var(--gray-color-100))",
|
|
@@ -48,12 +48,12 @@ function N(e, t, o, V, P, m) {
|
|
|
48
48
|
}
|
|
49
49
|
)
|
|
50
50
|
}, [
|
|
51
|
-
o.compact ? l("", !0) : (
|
|
52
|
-
|
|
51
|
+
o.compact ? l("", !0) : (a(), n("div", F, [
|
|
52
|
+
c("div", {
|
|
53
53
|
class: "text-base font-semibold",
|
|
54
54
|
textContent: r(e.$t("title"))
|
|
55
55
|
}, null, 8, A),
|
|
56
|
-
|
|
56
|
+
c("div", {
|
|
57
57
|
class: "pb-6 text-gray-700",
|
|
58
58
|
textContent: r(e.$t("subTitle"))
|
|
59
59
|
}, null, 8, S)
|
|
@@ -63,7 +63,7 @@ function N(e, t, o, V, P, m) {
|
|
|
63
63
|
"group-multiline": ""
|
|
64
64
|
}, {
|
|
65
65
|
default: p(() => [
|
|
66
|
-
|
|
66
|
+
c("div", B, [
|
|
67
67
|
d(u, {
|
|
68
68
|
type: "secondary",
|
|
69
69
|
class: "is-left",
|
|
@@ -78,8 +78,8 @@ function N(e, t, o, V, P, m) {
|
|
|
78
78
|
_: 1
|
|
79
79
|
})
|
|
80
80
|
]),
|
|
81
|
-
m.showSearch ? (
|
|
82
|
-
o.compact ? (
|
|
81
|
+
m.showSearch ? (a(), n(x, { key: 0 }, [
|
|
82
|
+
o.compact ? (a(), n("div", V, r(e.$t("_common:or")), 1)) : l("", !0),
|
|
83
83
|
d(C, {
|
|
84
84
|
"show-loading": !0,
|
|
85
85
|
"show-empty": !0,
|
|
@@ -95,7 +95,7 @@ function N(e, t, o, V, P, m) {
|
|
|
95
95
|
})
|
|
96
96
|
], 6);
|
|
97
97
|
}
|
|
98
|
-
const
|
|
98
|
+
const E = /* @__PURE__ */ _(k, [["render", z]]);
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
E as default
|
|
101
101
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as Z } from "./mapFormMixin-
|
|
2
|
-
import {
|
|
1
|
+
import { m as Z } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { a7 as Re, aj as $t, _ as tt, V as ke, k as Lt, cR as Fe, aA as Wt, d4 as $e, b as $, d as R, o as D, j as y, e as L, f as B, F as lt, c as Q, w as N, t as I, q as K, ak as Ut, d5 as Ne, d6 as Le, u as Ue, x as Ht, v as qe, d7 as Oe, m as ze, g as ct, ao as je, ch as Ve, h as Yt, aw as Gt } from "./main-BayUZ9OO.js";
|
|
3
3
|
import { a as z } from "./anime.es-4wvNItHq.js";
|
|
4
|
-
import { _ as We } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as We } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
5
5
|
var G = {}, ut, Kt;
|
|
6
6
|
function He() {
|
|
7
7
|
return Kt || (Kt = 1, ut = function() {
|
|
@@ -297,7 +297,7 @@ function Xe() {
|
|
|
297
297
|
}(wt)), wt;
|
|
298
298
|
}
|
|
299
299
|
var nt = {}, ie;
|
|
300
|
-
function
|
|
300
|
+
function Se() {
|
|
301
301
|
if (ie) return nt;
|
|
302
302
|
ie = 1;
|
|
303
303
|
const e = qt(), t = [
|
|
@@ -815,7 +815,7 @@ function H() {
|
|
|
815
815
|
var ue;
|
|
816
816
|
function en() {
|
|
817
817
|
return ue || (ue = 1, function(e) {
|
|
818
|
-
const t = W(), o =
|
|
818
|
+
const t = W(), o = Se(), i = qt(), n = H(), s = Te(), r = 7973, a = t.getBCHDigit(r);
|
|
819
819
|
function l(f, d, p) {
|
|
820
820
|
for (let g = 1; g <= 40; g++)
|
|
821
821
|
if (d <= e.getCapacity(g, p, f))
|
|
@@ -913,9 +913,9 @@ function sn() {
|
|
|
913
913
|
a > 0 && (s = this.data.substr(n), r = parseInt(s, 10), i.put(r, a * 3 + 1));
|
|
914
914
|
}, Et = t, Et;
|
|
915
915
|
}
|
|
916
|
-
var
|
|
916
|
+
var kt, fe;
|
|
917
917
|
function on() {
|
|
918
|
-
if (fe) return
|
|
918
|
+
if (fe) return kt;
|
|
919
919
|
fe = 1;
|
|
920
920
|
const e = H(), t = [
|
|
921
921
|
"0",
|
|
@@ -980,11 +980,11 @@ function on() {
|
|
|
980
980
|
r += t.indexOf(this.data[s + 1]), n.put(r, 11);
|
|
981
981
|
}
|
|
982
982
|
this.data.length % 2 && n.put(t.indexOf(this.data[s]), 6);
|
|
983
|
-
},
|
|
983
|
+
}, kt = o, kt;
|
|
984
984
|
}
|
|
985
|
-
var
|
|
985
|
+
var St, ge;
|
|
986
986
|
function rn() {
|
|
987
|
-
return ge || (ge = 1,
|
|
987
|
+
return ge || (ge = 1, St = function(t) {
|
|
988
988
|
for (var o = [], i = t.length, n = 0; n < i; n++) {
|
|
989
989
|
var s = t.charCodeAt(n);
|
|
990
990
|
if (s >= 55296 && s <= 56319 && i > n + 1) {
|
|
@@ -1010,7 +1010,7 @@ function rn() {
|
|
|
1010
1010
|
o.push(239, 191, 189);
|
|
1011
1011
|
}
|
|
1012
1012
|
return new Uint8Array(o).buffer;
|
|
1013
|
-
}),
|
|
1013
|
+
}), St;
|
|
1014
1014
|
}
|
|
1015
1015
|
var Tt, me;
|
|
1016
1016
|
function an() {
|
|
@@ -1138,21 +1138,21 @@ function un() {
|
|
|
1138
1138
|
return unescape(encodeURIComponent(x)).length;
|
|
1139
1139
|
}
|
|
1140
1140
|
function c(x, T, E) {
|
|
1141
|
-
const
|
|
1141
|
+
const k = [];
|
|
1142
1142
|
let F;
|
|
1143
1143
|
for (; (F = x.exec(E)) !== null; )
|
|
1144
|
-
|
|
1144
|
+
k.push({
|
|
1145
1145
|
data: F[0],
|
|
1146
1146
|
index: F.index,
|
|
1147
1147
|
mode: T,
|
|
1148
1148
|
length: F[0].length
|
|
1149
1149
|
});
|
|
1150
|
-
return
|
|
1150
|
+
return k;
|
|
1151
1151
|
}
|
|
1152
1152
|
function h(x) {
|
|
1153
1153
|
const T = c(r.NUMERIC, t.NUMERIC, x), E = c(r.ALPHANUMERIC, t.ALPHANUMERIC, x);
|
|
1154
|
-
let
|
|
1155
|
-
return a.isKanjiModeEnabled() ? (
|
|
1154
|
+
let k, F;
|
|
1155
|
+
return a.isKanjiModeEnabled() ? (k = c(r.BYTE, t.BYTE, x), F = c(r.KANJI, t.KANJI, x)) : (k = c(r.BYTE_KANJI, t.BYTE, x), F = []), T.concat(E, k, F).sort(function(b, C) {
|
|
1156
1156
|
return b.index - C.index;
|
|
1157
1157
|
}).map(function(b) {
|
|
1158
1158
|
return {
|
|
@@ -1176,67 +1176,67 @@ function un() {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
function d(x) {
|
|
1178
1178
|
return x.reduce(function(T, E) {
|
|
1179
|
-
const
|
|
1180
|
-
return
|
|
1179
|
+
const k = T.length - 1 >= 0 ? T[T.length - 1] : null;
|
|
1180
|
+
return k && k.mode === E.mode ? (T[T.length - 1].data += E.data, T) : (T.push(E), T);
|
|
1181
1181
|
}, []);
|
|
1182
1182
|
}
|
|
1183
1183
|
function p(x) {
|
|
1184
1184
|
const T = [];
|
|
1185
1185
|
for (let E = 0; E < x.length; E++) {
|
|
1186
|
-
const
|
|
1187
|
-
switch (
|
|
1186
|
+
const k = x[E];
|
|
1187
|
+
switch (k.mode) {
|
|
1188
1188
|
case t.NUMERIC:
|
|
1189
1189
|
T.push([
|
|
1190
|
-
|
|
1191
|
-
{ data:
|
|
1192
|
-
{ data:
|
|
1190
|
+
k,
|
|
1191
|
+
{ data: k.data, mode: t.ALPHANUMERIC, length: k.length },
|
|
1192
|
+
{ data: k.data, mode: t.BYTE, length: k.length }
|
|
1193
1193
|
]);
|
|
1194
1194
|
break;
|
|
1195
1195
|
case t.ALPHANUMERIC:
|
|
1196
1196
|
T.push([
|
|
1197
|
-
|
|
1198
|
-
{ data:
|
|
1197
|
+
k,
|
|
1198
|
+
{ data: k.data, mode: t.BYTE, length: k.length }
|
|
1199
1199
|
]);
|
|
1200
1200
|
break;
|
|
1201
1201
|
case t.KANJI:
|
|
1202
1202
|
T.push([
|
|
1203
|
-
|
|
1204
|
-
{ data:
|
|
1203
|
+
k,
|
|
1204
|
+
{ data: k.data, mode: t.BYTE, length: u(k.data) }
|
|
1205
1205
|
]);
|
|
1206
1206
|
break;
|
|
1207
1207
|
case t.BYTE:
|
|
1208
1208
|
T.push([
|
|
1209
|
-
{ data:
|
|
1209
|
+
{ data: k.data, mode: t.BYTE, length: u(k.data) }
|
|
1210
1210
|
]);
|
|
1211
1211
|
}
|
|
1212
1212
|
}
|
|
1213
1213
|
return T;
|
|
1214
1214
|
}
|
|
1215
1215
|
function g(x, T) {
|
|
1216
|
-
const E = {},
|
|
1216
|
+
const E = {}, k = { start: {} };
|
|
1217
1217
|
let F = ["start"];
|
|
1218
1218
|
for (let w = 0; w < x.length; w++) {
|
|
1219
1219
|
const b = x[w], C = [];
|
|
1220
1220
|
for (let m = 0; m < b.length; m++) {
|
|
1221
|
-
const
|
|
1222
|
-
C.push(v), E[v] = { node:
|
|
1221
|
+
const S = b[m], v = "" + w + m;
|
|
1222
|
+
C.push(v), E[v] = { node: S, lastCount: 0 }, k[v] = {};
|
|
1223
1223
|
for (let P = 0; P < F.length; P++) {
|
|
1224
1224
|
const _ = F[P];
|
|
1225
|
-
E[_] && E[_].node.mode ===
|
|
1225
|
+
E[_] && E[_].node.mode === S.mode ? (k[_][v] = f(E[_].lastCount + S.length, S.mode) - f(E[_].lastCount, S.mode), E[_].lastCount += S.length) : (E[_] && (E[_].lastCount = S.length), k[_][v] = f(S.length, S.mode) + 4 + t.getCharCountIndicator(S.mode, T));
|
|
1226
1226
|
}
|
|
1227
1227
|
}
|
|
1228
1228
|
F = C;
|
|
1229
1229
|
}
|
|
1230
1230
|
for (let w = 0; w < F.length; w++)
|
|
1231
|
-
|
|
1232
|
-
return { map:
|
|
1231
|
+
k[F[w]].end = 0;
|
|
1232
|
+
return { map: k, table: E };
|
|
1233
1233
|
}
|
|
1234
1234
|
function A(x, T) {
|
|
1235
1235
|
let E;
|
|
1236
|
-
const
|
|
1237
|
-
if (E = t.from(T,
|
|
1236
|
+
const k = t.getBestModeForData(x);
|
|
1237
|
+
if (E = t.from(T, k), E !== t.BYTE && E.bit < k.bit)
|
|
1238
1238
|
throw new Error('"' + x + '" cannot be encoded with mode ' + t.toString(E) + `.
|
|
1239
|
-
Suggested mode is: ` + t.toString(
|
|
1239
|
+
Suggested mode is: ` + t.toString(k));
|
|
1240
1240
|
switch (E === t.KANJI && !a.isKanjiModeEnabled() && (E = t.BYTE), E) {
|
|
1241
1241
|
case t.NUMERIC:
|
|
1242
1242
|
return new o(x);
|
|
@@ -1249,11 +1249,11 @@ function un() {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
1251
|
e.fromArray = function(T) {
|
|
1252
|
-
return T.reduce(function(E,
|
|
1253
|
-
return typeof
|
|
1252
|
+
return T.reduce(function(E, k) {
|
|
1253
|
+
return typeof k == "string" ? E.push(A(k, null)) : k.data && E.push(A(k.data, k.mode)), E;
|
|
1254
1254
|
}, []);
|
|
1255
1255
|
}, e.fromString = function(T, E) {
|
|
1256
|
-
const
|
|
1256
|
+
const k = h(T, a.isKanjiModeEnabled()), F = p(k), w = g(F, E), b = l.find_path(w.map, "start", "end"), C = [];
|
|
1257
1257
|
for (let m = 1; m < b.length - 1; m++)
|
|
1258
1258
|
C.push(w.table[b[m]].node);
|
|
1259
1259
|
return e.fromArray(d(C));
|
|
@@ -1268,11 +1268,11 @@ var ve;
|
|
|
1268
1268
|
function dn() {
|
|
1269
1269
|
if (ve) return dt;
|
|
1270
1270
|
ve = 1;
|
|
1271
|
-
const e = W(), t = qt(), o = Ye(), i = Ge(), n = Ke(), s = Je(), r = Xe(), a =
|
|
1271
|
+
const e = W(), t = qt(), o = Ye(), i = Ge(), n = Ke(), s = Je(), r = Xe(), a = Se(), l = tn(), u = en(), c = nn(), h = H(), f = un();
|
|
1272
1272
|
function d(w, b) {
|
|
1273
1273
|
const C = w.size, m = s.getPositions(b);
|
|
1274
|
-
for (let
|
|
1275
|
-
const v = m[
|
|
1274
|
+
for (let S = 0; S < m.length; S++) {
|
|
1275
|
+
const v = m[S][0], P = m[S][1];
|
|
1276
1276
|
for (let _ = -1; _ <= 7; _++)
|
|
1277
1277
|
if (!(v + _ <= -1 || C <= v + _))
|
|
1278
1278
|
for (let M = -1; M <= 7; M++)
|
|
@@ -1289,37 +1289,37 @@ function dn() {
|
|
|
1289
1289
|
function g(w, b) {
|
|
1290
1290
|
const C = n.getPositions(b);
|
|
1291
1291
|
for (let m = 0; m < C.length; m++) {
|
|
1292
|
-
const
|
|
1292
|
+
const S = C[m][0], v = C[m][1];
|
|
1293
1293
|
for (let P = -2; P <= 2; P++)
|
|
1294
1294
|
for (let _ = -2; _ <= 2; _++)
|
|
1295
|
-
P === -2 || P === 2 || _ === -2 || _ === 2 || P === 0 && _ === 0 ? w.set(
|
|
1295
|
+
P === -2 || P === 2 || _ === -2 || _ === 2 || P === 0 && _ === 0 ? w.set(S + P, v + _, !0, !0) : w.set(S + P, v + _, !1, !0);
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
function A(w, b) {
|
|
1299
1299
|
const C = w.size, m = u.getEncodedBits(b);
|
|
1300
|
-
let
|
|
1300
|
+
let S, v, P;
|
|
1301
1301
|
for (let _ = 0; _ < 18; _++)
|
|
1302
|
-
|
|
1302
|
+
S = Math.floor(_ / 3), v = _ % 3 + C - 8 - 3, P = (m >> _ & 1) === 1, w.set(S, v, P, !0), w.set(v, S, P, !0);
|
|
1303
1303
|
}
|
|
1304
1304
|
function x(w, b, C) {
|
|
1305
|
-
const m = w.size,
|
|
1305
|
+
const m = w.size, S = c.getEncodedBits(b, C);
|
|
1306
1306
|
let v, P;
|
|
1307
1307
|
for (v = 0; v < 15; v++)
|
|
1308
|
-
P = (
|
|
1308
|
+
P = (S >> v & 1) === 1, v < 6 ? w.set(v, 8, P, !0) : v < 8 ? w.set(v + 1, 8, P, !0) : w.set(m - 15 + v, 8, P, !0), v < 8 ? w.set(8, m - v - 1, P, !0) : v < 9 ? w.set(8, 15 - v - 1 + 1, P, !0) : w.set(8, 15 - v - 1, P, !0);
|
|
1309
1309
|
w.set(m - 8, 8, 1, !0);
|
|
1310
1310
|
}
|
|
1311
1311
|
function T(w, b) {
|
|
1312
1312
|
const C = w.size;
|
|
1313
|
-
let m = -1,
|
|
1313
|
+
let m = -1, S = C - 1, v = 7, P = 0;
|
|
1314
1314
|
for (let _ = C - 1; _ > 0; _ -= 2)
|
|
1315
1315
|
for (_ === 6 && _--; ; ) {
|
|
1316
1316
|
for (let M = 0; M < 2; M++)
|
|
1317
|
-
if (!w.isReserved(
|
|
1317
|
+
if (!w.isReserved(S, _ - M)) {
|
|
1318
1318
|
let j = !1;
|
|
1319
|
-
P < b.length && (j = (b[P] >>> v & 1) === 1), w.set(
|
|
1319
|
+
P < b.length && (j = (b[P] >>> v & 1) === 1), w.set(S, _ - M, j), v--, v === -1 && (P++, v = 7);
|
|
1320
1320
|
}
|
|
1321
|
-
if (
|
|
1322
|
-
|
|
1321
|
+
if (S += m, S < 0 || C <= S) {
|
|
1322
|
+
S -= m, m = -m;
|
|
1323
1323
|
break;
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
@@ -1329,16 +1329,16 @@ function dn() {
|
|
|
1329
1329
|
C.forEach(function(M) {
|
|
1330
1330
|
m.put(M.mode.bit, 4), m.put(M.getLength(), h.getCharCountIndicator(M.mode, w)), M.write(m);
|
|
1331
1331
|
});
|
|
1332
|
-
const
|
|
1332
|
+
const S = e.getSymbolTotalCodewords(w), v = a.getTotalCodewordsCount(w, b), P = (S - v) * 8;
|
|
1333
1333
|
for (m.getLengthInBits() + 4 <= P && m.put(0, 4); m.getLengthInBits() % 8 !== 0; )
|
|
1334
1334
|
m.putBit(0);
|
|
1335
1335
|
const _ = (P - m.getLengthInBits()) / 8;
|
|
1336
1336
|
for (let M = 0; M < _; M++)
|
|
1337
1337
|
m.put(M % 2 ? 17 : 236, 8);
|
|
1338
|
-
return
|
|
1338
|
+
return k(m, w, b);
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1341
|
-
const m = e.getSymbolTotalCodewords(b),
|
|
1340
|
+
function k(w, b, C) {
|
|
1341
|
+
const m = e.getSymbolTotalCodewords(b), S = a.getTotalCodewordsCount(b, C), v = m - S, P = a.getBlocksCount(b, C), _ = m % P, M = P - _, j = Math.floor(m / P), J = Math.floor(v / P), Ae = J + 1, zt = j - J, Be = new l(zt);
|
|
1342
1342
|
let st = 0;
|
|
1343
1343
|
const et = new Array(P), jt = new Array(P);
|
|
1344
1344
|
let ot = 0;
|
|
@@ -1358,19 +1358,19 @@ function dn() {
|
|
|
1358
1358
|
return rt;
|
|
1359
1359
|
}
|
|
1360
1360
|
function F(w, b, C, m) {
|
|
1361
|
-
let
|
|
1361
|
+
let S;
|
|
1362
1362
|
if (Array.isArray(w))
|
|
1363
|
-
|
|
1363
|
+
S = f.fromArray(w);
|
|
1364
1364
|
else if (typeof w == "string") {
|
|
1365
1365
|
let j = b;
|
|
1366
1366
|
if (!j) {
|
|
1367
1367
|
const J = f.rawSplit(w);
|
|
1368
1368
|
j = u.getBestVersionForData(J, C);
|
|
1369
1369
|
}
|
|
1370
|
-
|
|
1370
|
+
S = f.fromString(w, j || 40);
|
|
1371
1371
|
} else
|
|
1372
1372
|
throw new Error("Invalid data");
|
|
1373
|
-
const v = u.getBestVersionForData(
|
|
1373
|
+
const v = u.getBestVersionForData(S, C);
|
|
1374
1374
|
if (!v)
|
|
1375
1375
|
throw new Error("The amount of data is too big to be stored in a QR Code");
|
|
1376
1376
|
if (!b)
|
|
@@ -1382,7 +1382,7 @@ The chosen QR Code version cannot contain this amount of data.
|
|
|
1382
1382
|
Minimum version required to store current data is: ` + v + `.
|
|
1383
1383
|
`
|
|
1384
1384
|
);
|
|
1385
|
-
const P = E(b, C,
|
|
1385
|
+
const P = E(b, C, S), _ = e.getSymbolSize(b), M = new i(_);
|
|
1386
1386
|
return d(M, b), p(M), g(M, b), x(M, C, 0), b >= 7 && A(M, b), T(M, P), isNaN(m) && (m = r.getBestMask(
|
|
1387
1387
|
M,
|
|
1388
1388
|
x.bind(null, M, C)
|
|
@@ -1391,14 +1391,14 @@ Minimum version required to store current data is: ` + v + `.
|
|
|
1391
1391
|
version: b,
|
|
1392
1392
|
errorCorrectionLevel: C,
|
|
1393
1393
|
maskPattern: m,
|
|
1394
|
-
segments:
|
|
1394
|
+
segments: S
|
|
1395
1395
|
};
|
|
1396
1396
|
}
|
|
1397
1397
|
return dt.create = function(b, C) {
|
|
1398
1398
|
if (typeof b > "u" || b === "")
|
|
1399
1399
|
throw new Error("No input text");
|
|
1400
|
-
let m = t.M,
|
|
1401
|
-
return typeof C < "u" && (m = t.from(C.errorCorrectionLevel, t.M),
|
|
1400
|
+
let m = t.M, S, v;
|
|
1401
|
+
return typeof C < "u" && (m = t.from(C.errorCorrectionLevel, t.M), S = u.from(C.version), v = r.from(C.maskPattern), C.toSJISFunc && e.setToSJISFunction(C.toSJISFunc)), F(b, S, m, v);
|
|
1402
1402
|
}, dt;
|
|
1403
1403
|
}
|
|
1404
1404
|
var At = {}, Bt = {}, _e;
|
|
@@ -1773,7 +1773,7 @@ const yn = {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
},
|
|
1775
1775
|
created() {
|
|
1776
|
-
this.isMobile =
|
|
1776
|
+
this.isMobile = $e(), this.tryResumeSigningSession();
|
|
1777
1777
|
},
|
|
1778
1778
|
methods: {
|
|
1779
1779
|
tryResumeSigningSession() {
|
|
@@ -1818,7 +1818,7 @@ const yn = {
|
|
|
1818
1818
|
this.clearSignState(), e.removePoll(t);
|
|
1819
1819
|
};
|
|
1820
1820
|
try {
|
|
1821
|
-
const { data: n } = await
|
|
1821
|
+
const { data: n } = await Le.get(this.signAnswerId);
|
|
1822
1822
|
n.qrCodeData && (this.qrCode = n.qrCodeData), ["completed", "canceled"].includes(n.status) && i(), n.status === "completed" ? this.onComplete() : n.status === "canceled" ? this.onCanceled() : this.view = n.status;
|
|
1823
1823
|
} catch (n) {
|
|
1824
1824
|
this.onError(n), i();
|
|
@@ -1873,7 +1873,7 @@ const yn = {
|
|
|
1873
1873
|
case 9006:
|
|
1874
1874
|
// Signing start fail
|
|
1875
1875
|
case 9007:
|
|
1876
|
-
|
|
1876
|
+
Fe.warn(e);
|
|
1877
1877
|
break;
|
|
1878
1878
|
case 9009:
|
|
1879
1879
|
this.$emit("complete");
|
|
@@ -1887,8 +1887,8 @@ const yn = {
|
|
|
1887
1887
|
if (!this.autoStartToken) return;
|
|
1888
1888
|
let e = "bankid://", t = "null";
|
|
1889
1889
|
if (this.isMobile) {
|
|
1890
|
-
const i =
|
|
1891
|
-
(s || r) && (e = "https://app.bankid.com"), i === "iOS" &&
|
|
1890
|
+
const i = Ne(), n = (navigator == null ? void 0 : navigator.userAgent) || (navigator == null ? void 0 : navigator.vendor) || (window == null ? void 0 : window.opera), s = i === "iOS" && (/Version\/[\d.]+.*Safari/.test(n) || /GSA/.test(n)), r = i === "Android" && /Version\/[\d.]+.*Chrome/.test(n);
|
|
1891
|
+
(s || r) && (e = "https://app.bankid.com"), i === "iOS" && ke.value !== "widget" && (t = wn(this.signAnswerId));
|
|
1892
1892
|
}
|
|
1893
1893
|
const o = `${e}/?autostarttoken=${this.autoStartToken}&redirect=${t}`;
|
|
1894
1894
|
this.isMobile ? document.location = o : this.$refs.autoStartFrame.src = o;
|
|
@@ -1906,11 +1906,11 @@ const yn = {
|
|
|
1906
1906
|
class: "flex flex-col items-center justify-center",
|
|
1907
1907
|
style: { "background-color": "#183e4f", padding: `calc(2.5 * var(--rem)) calc(3 * var(--rem))
|
|
1908
1908
|
calc(2 * var(--rem))` }
|
|
1909
|
-
}, En = ["textContent"],
|
|
1909
|
+
}, En = ["textContent"], kn = {
|
|
1910
1910
|
class: "flex w-full flex-col items-center justify-center text-center",
|
|
1911
1911
|
style: { padding: `calc(3 * var(--rem)) calc(2 * var(--rem))
|
|
1912
1912
|
calc(2 * var(--rem))` }
|
|
1913
|
-
},
|
|
1913
|
+
}, Sn = ["textContent"], Tn = ["textContent"];
|
|
1914
1914
|
function Mn(e, t, o, i, n, s) {
|
|
1915
1915
|
const r = $("CIcon"), a = $("QrCode"), l = $("CButton"), u = $("Animation");
|
|
1916
1916
|
return D(), R("div", vn, [
|
|
@@ -1980,13 +1980,13 @@ function Mn(e, t, o, i, n, s) {
|
|
|
1980
1980
|
textContent: I(s.viewText[n.view].text)
|
|
1981
1981
|
}, null, 8, En)
|
|
1982
1982
|
]),
|
|
1983
|
-
y("div",
|
|
1983
|
+
y("div", kn, [
|
|
1984
1984
|
n.view === "signing" ? (D(), R(lt, { key: 0 }, [
|
|
1985
1985
|
t[2] || (t[2] = y("div", { class: "spinner" }, null, -1)),
|
|
1986
1986
|
y("div", {
|
|
1987
1987
|
class: "pt-8 text-gray-500",
|
|
1988
1988
|
textContent: I(s.viewText[n.view].spinnerText)
|
|
1989
|
-
}, null, 8,
|
|
1989
|
+
}, null, 8, Sn)
|
|
1990
1990
|
], 64)) : ["error", "canceled"].includes(n.view) ? (D(), R(lt, { key: 1 }, [
|
|
1991
1991
|
B(r, {
|
|
1992
1992
|
type: "error",
|
|
@@ -2752,7 +2752,7 @@ const Xn = /* @__PURE__ */ tt(zn, [["render", Jn], ["__scopeId", "data-v-6857111
|
|
|
2752
2752
|
},
|
|
2753
2753
|
computed: {
|
|
2754
2754
|
showPostFeedbackActions() {
|
|
2755
|
-
return
|
|
2755
|
+
return ke.value !== "widget" && !Zn;
|
|
2756
2756
|
}
|
|
2757
2757
|
},
|
|
2758
2758
|
created() {
|
|
@@ -3198,10 +3198,10 @@ const bi = /* @__PURE__ */ tt(ei, [["render", xi], ["__scopeId", "data-v-ed8d6ec
|
|
|
3198
3198
|
}, Ei = {
|
|
3199
3199
|
key: "start",
|
|
3200
3200
|
class: "root-padding flex-grow"
|
|
3201
|
-
},
|
|
3201
|
+
}, ki = {
|
|
3202
3202
|
class: "stagger-anim",
|
|
3203
3203
|
style: { "padding-bottom": "40px" }
|
|
3204
|
-
},
|
|
3204
|
+
}, Si = ["textContent"], Ti = ["textContent"], Mi = {
|
|
3205
3205
|
class: "stagger-anim",
|
|
3206
3206
|
style: { "padding-top": "3em" }
|
|
3207
3207
|
}, Ii = {
|
|
@@ -3258,11 +3258,11 @@ function Wi(e, t, o, i, n, s) {
|
|
|
3258
3258
|
})
|
|
3259
3259
|
}),
|
|
3260
3260
|
n.page === "start" ? (D(), R("div", Ei, [
|
|
3261
|
-
y("div",
|
|
3261
|
+
y("div", ki, [
|
|
3262
3262
|
y("div", {
|
|
3263
3263
|
class: "a-title",
|
|
3264
3264
|
textContent: I(e._document.$t(`answerModal.${s.answerType}.start.title`))
|
|
3265
|
-
}, null, 8,
|
|
3265
|
+
}, null, 8, Si),
|
|
3266
3266
|
y("div", {
|
|
3267
3267
|
style: { color: "hsl(0, 0%, 40%)" },
|
|
3268
3268
|
textContent: I(e._document.$t(`answerModal.${s.answerType}.start.text`))
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as P } from "./Index.vue_vue_type_script_lang-
|
|
2
|
-
import { C as B, a as E } from "./CDropdownItem-
|
|
3
|
-
import { _ as F } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as
|
|
1
|
+
import { _ as P } from "./Index.vue_vue_type_script_lang-PJPQMT2c.js";
|
|
2
|
+
import { C as B, a as E } from "./CDropdownItem-E-kRDIiy.js";
|
|
3
|
+
import { _ as F } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
4
|
+
import { _ as D, b as i, c as u, o as l, w as r, j as m, am as f, d as c, f as a, F as b, e as _, t as d, q as p, x as z, ah as N, ao as V } from "./main-BayUZ9OO.js";
|
|
5
5
|
const H = {
|
|
6
6
|
name: "AttachmentsItem",
|
|
7
7
|
components: {
|
|
8
8
|
FileIcon: P,
|
|
9
|
-
CDropdown:
|
|
10
|
-
CDropdownItem:
|
|
9
|
+
CDropdown: E,
|
|
10
|
+
CDropdownItem: B,
|
|
11
11
|
CField: F
|
|
12
12
|
},
|
|
13
13
|
emits: ["click", "remove", "input"],
|
|
@@ -43,11 +43,11 @@ const H = {
|
|
|
43
43
|
}, O = ["src"], j = {
|
|
44
44
|
key: 1,
|
|
45
45
|
class: "attachment-icon pointer-events-none"
|
|
46
|
-
},
|
|
46
|
+
}, M = { class: "attachment-data pointer-events-none w-full truncate" }, A = { class: "w-full truncate" }, K = {
|
|
47
47
|
key: 0,
|
|
48
48
|
style: { display: "flex", "align-items": "center", "font-size": "calc(calc(1 * var(--rem)) - 2px)" }
|
|
49
|
-
}, T = { style: { "padding-left": "0.25em" } }, $ = { class: "hover-wrapper" },
|
|
50
|
-
function
|
|
49
|
+
}, T = { style: { "padding-left": "0.25em" } }, $ = { class: "hover-wrapper" }, q = { class: "hover-wrapper-text" };
|
|
50
|
+
function S(t, e, n, U, s, v) {
|
|
51
51
|
const h = i("FileIcon"), g = i("CIcon"), y = i("CButton"), C = i("CDropdownItem"), k = i("CDropdown"), w = i("CInput"), I = i("CField");
|
|
52
52
|
return l(), u(V(n.isImageOrPdf && !v.isPdf ? "div" : "a"), {
|
|
53
53
|
href: n.attachment.url,
|
|
@@ -101,9 +101,9 @@ function U(t, e, n, W, s, v) {
|
|
|
101
101
|
})
|
|
102
102
|
]),
|
|
103
103
|
_: 1
|
|
104
|
-
})) : (l(), c(
|
|
105
|
-
m("div",
|
|
106
|
-
m("div",
|
|
104
|
+
})) : (l(), c(b, { key: 2 }, [
|
|
105
|
+
m("div", M, [
|
|
106
|
+
m("div", A, d(n.attachment.name), 1),
|
|
107
107
|
n.uploadProgress !== null ? (l(), c("div", K, [
|
|
108
108
|
a(g, {
|
|
109
109
|
class: "spinner",
|
|
@@ -153,7 +153,7 @@ function U(t, e, n, W, s, v) {
|
|
|
153
153
|
], 64))
|
|
154
154
|
]),
|
|
155
155
|
m("div", $, [
|
|
156
|
-
m("div",
|
|
156
|
+
m("div", q, [
|
|
157
157
|
a(g, {
|
|
158
158
|
type: "eye",
|
|
159
159
|
size: "18"
|
|
@@ -165,7 +165,7 @@ function U(t, e, n, W, s, v) {
|
|
|
165
165
|
_: 1
|
|
166
166
|
}, 40, ["href"]);
|
|
167
167
|
}
|
|
168
|
-
const L = /* @__PURE__ */
|
|
168
|
+
const L = /* @__PURE__ */ D(H, [["render", S], ["__scopeId", "data-v-083c76ba"]]);
|
|
169
169
|
export {
|
|
170
170
|
L as default
|
|
171
171
|
};
|